summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Pkgmgr generation script patch from David Strauss (fix for ticket #712)Sol Jerome2009-09-082-135/+176
| | | | | | | | | This patch forces the Pkgmgr generation/update scripts to parse the Yum urls in a way that is more compatible with the Yum repository spec. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5419 ce84e21b-d406-0410-9b95-82705330c041
* Compat: Fix plugin to generate proper spec for older clientsSol Jerome2009-09-071-7/+11
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5418 ce84e21b-d406-0410-9b95-82705330c041
* POSIX: Add hard link support for ticket #588Sol Jerome2009-09-071-5/+47
| | | | | | | | Add support for HardLink entries using the new unified POSIX interface. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5417 ce84e21b-d406-0410-9b95-82705330c041
* Plugins: Fix svn keywords for ticket #698 (Fix from Mike McCallister)Sol Jerome2009-09-077-9/+9
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5416 ce84e21b-d406-0410-9b95-82705330c041
* POSIX: Replace incorrect SymLinksSol Jerome2009-09-071-5/+11
| | | | | | | | | | We were ignoring existing symlink entries even though they were incorrect. This commit adds the ability for the client to check for incorrect symlinks and replace them if they exist. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5415 ce84e21b-d406-0410-9b95-82705330c041
* POSIX: Add support for unified Path entriesSol Jerome2009-09-074-10/+51
| | | | | | | | | | | This commit adds support for a new Path entry which unifies all the various POSIX entry types. A new plugin is included which will allow you to transform new Path entries back into their old format (for compatibility with old clients). Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5414 ce84e21b-d406-0410-9b95-82705330c041
* SYSV: Fix noask use (Patch via HCoyote)Narayan Desai2009-08-212-7/+9
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5413 ce84e21b-d406-0410-9b95-82705330c041
* reports: Fix missing ending quotation mark (Reported by Joe Digilio on irc)Sol Jerome2009-08-171-1/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5412 ce84e21b-d406-0410-9b95-82705330c041
* POSIX: Add client side support for Path entriesSol Jerome2009-08-171-1/+13
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5411 ce84e21b-d406-0410-9b95-82705330c041
* POSIX: Fix traceback with ConfigFile encoding errors (Ticket #705)Sol Jerome2009-08-171-1/+6
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5410 ce84e21b-d406-0410-9b95-82705330c041
* Actions: Warn user when actions aren't run in dryrun modeSol Jerome2009-08-161-0/+2
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5409 ce84e21b-d406-0410-9b95-82705330c041
* Client tools: Remove unnecessary extra whitespaceSol Jerome2009-08-1616-170/+170
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5408 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Handle file fetch errors (on repo refresh) betterNarayan Desai2009-08-161-2/+7
| | | | | | (reported by m4z) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5407 ce84e21b-d406-0410-9b95-82705330c041
* YUMng: Unify yum pkg specifier creation code (and fix issue reported by ↵Narayan Desai2009-08-141-45/+19
| | | | | | drtns on irc) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5406 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-admin init: Fix __import__ call for python pre 2.5Narayan Desai2009-08-131-1/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5405 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-repo-validate: Use proper English in error messagesSol Jerome2009-08-121-1/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5404 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-repo-validate: Fix traceback when reading empty pkgmgr files (Reported ↵Sol Jerome2009-08-121-1/+4
| | | | | | | | by Joe Digilio) Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5403 ce84e21b-d406-0410-9b95-82705330c041
* New bcfg2 logo goodness (from Torsten Rehn)Narayan Desai2009-08-096-0/+1610
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5402 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Fix make_non_redundant to work with packages with no depsNarayan Desai2009-08-091-1/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5401 ce84e21b-d406-0410-9b95-82705330c041
* Don't run Actions when client is in dryrun modeSol Jerome2009-08-061-11/+14
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5400 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2: Write cached config using encoding from Options.pySol Jerome2009-08-031-1/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5399 ce84e21b-d406-0410-9b95-82705330c041
* Packages: implement code to determine non-redundant package setNarayan Desai2009-08-011-0/+17
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5398 ce84e21b-d406-0410-9b95-82705330c041
* Documentation: Update man pages to reflect changes in 1.0Sol Jerome2009-07-313-56/+167
| | | | | | | | | | * Add Snapshots documentation * Fix example bcfg2.conf * Add Plugin descriptions for server plugins Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5397 ce84e21b-d406-0410-9b95-82705330c041
* example repository: Add Dirvish configuration exampleSol Jerome2009-07-315-0/+109
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5396 ce84e21b-d406-0410-9b95-82705330c041
* Client Metadata schema: Add auth attribute to client schema (Fix from Mike ↵Sol Jerome2009-07-301-0/+1
| | | | | | | | McCallister) Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5395 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-repo-validate: Fix for ticket #699 from Mike McCallisterSol Jerome2009-07-301-6/+5
| | | | | | | | | Only check for info.xml files in directories where they are known to exist. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5394 ce84e21b-d406-0410-9b95-82705330c041
* YUMng: skip unbound gpg key packagesNarayan Desai2009-07-291-0/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5393 ce84e21b-d406-0410-9b95-82705330c041
* Snapshots: Fix typo in __init__.pySol Jerome2009-07-281-1/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5392 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-server: Improve startup error handling (Patch from Mike McCallister) ↵Narayan Desai2009-07-282-0/+4
| | | | | | (Resolves Ticket #695) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5391 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-server: remove debug printNarayan Desai2009-07-271-1/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5390 ce84e21b-d406-0410-9b95-82705330c041
* debian: Add python-profiler dependency for the serverSol Jerome2009-07-273-3/+3
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5389 ce84e21b-d406-0410-9b95-82705330c041
* Gamin: Fix order inversion in the local event bufferNarayan Desai2009-07-271-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5388 ce84e21b-d406-0410-9b95-82705330c041
* SSHbase: defer ssh_known_hosts file building until metadata is workingNarayan Desai2009-07-271-1/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5387 ce84e21b-d406-0410-9b95-82705330c041
* Gamin: aggressively drain gamin events from the gamin lib interface. (Patch ↵Narayan Desai2009-07-261-2/+8
| | | | | | | | | | | from Michael McCallister) Gamin doesn't do sufficient checking on the fd between the client and gam_server, so it can end up in a deadlock. This patch insures that the fd has been drained on the client read side before attempting to write to it. These events are buffered in the Gamin file interface until the Core extracts and processes them. (Detailed explanation from Mike as well) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5386 ce84e21b-d406-0410-9b95-82705330c041
* Client tools: Prompt for service restart in Interactive mode (Patch from ↵Sol Jerome2009-07-251-0/+4
| | | | | | | | | | | | | | Leif Ryge) This commit causes the client tools prompt for a service restart when running in interactive mode. This keeps the client interface consistent with what happens when installing other configuration types. This commit also fixes ticket #605 Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5385 ce84e21b-d406-0410-9b95-82705330c041
* NagiosGen: Make properties use completely optionalNarayan Desai2009-07-241-2/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5384 ce84e21b-d406-0410-9b95-82705330c041
* Version bump to 1.0pre5Narayan Desai2009-07-235-6/+12
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5382 ce84e21b-d406-0410-9b95-82705330c041
* Client: relax verification modlist to include all entries in all bundlesNarayan Desai2009-07-231-7/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5381 ce84e21b-d406-0410-9b95-82705330c041
* Snapshots: make importer async, and serialize db loadsNarayan Desai2009-07-231-1/+11
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5380 ce84e21b-d406-0410-9b95-82705330c041
* NagiosGen: Add support for properties driven monitoring configurations ↵Narayan Desai2009-07-231-6/+16
| | | | | | (Patch from Nico Halpern) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5379 ce84e21b-d406-0410-9b95-82705330c041
* RPMng: force incremental prelink call if prelink is installed on the system ↵Narayan Desai2009-07-231-0/+9
| | | | | | -- fixes spurious package verification failures (patch from HunterM) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5378 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2: handle errors in lockfile unlockingNarayan Desai2009-07-231-2/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5377 ce84e21b-d406-0410-9b95-82705330c041
* Paranoid mode: Add new options to bcfg2.conf man pageSol Jerome2009-07-221-0/+11
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5376 ce84e21b-d406-0410-9b95-82705330c041
* APT: add backwards compatibility for python-apt 0.6Narayan Desai2009-07-211-2/+9
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5375 ce84e21b-d406-0410-9b95-82705330c041
* sync from bbNarayan Desai2009-07-211-4/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5374 ce84e21b-d406-0410-9b95-82705330c041
* YUMng: fix removal traceback for gpg-pubkey packages (Resolves Ticket #693)Narayan Desai2009-07-211-0/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5373 ce84e21b-d406-0410-9b95-82705330c041
* Statistics: fix destructive use of statistics dataNarayan Desai2009-07-181-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5369 ce84e21b-d406-0410-9b95-82705330c041
* working version of the updated Solaris packaging files. Rick Bradshow2009-07-184-120/+129
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5368 ce84e21b-d406-0410-9b95-82705330c041
* Merged bcfg2-admin init fixes in from my branch.Kamil Kisiel2009-07-182-159/+204
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5362 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-info: implement more showclient command that displays connector dataNarayan Desai2009-07-181-28/+10
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5359 ce84e21b-d406-0410-9b95-82705330c041