summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Ohai: Implement Ohai pluginNarayan Desai2009-07-182-1/+59
| | | | | | | The Ohai plugin runs the Ohai system profiler through the probes interface, stores the information on the server, and makes it available for metadata operations. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5348 ce84e21b-d406-0410-9b95-82705330c041
* Paranoid mode: Make paranoid mode more versatile/configurableSol Jerome2009-07-182-1/+40
| | | | | | | | | | | | | | | | | This commit adds a new [paranoid] section in bcfg2.conf. This allows you to specify a backup path other than the default as well as set a maximum number of copies to keep around. You are now allowed multiple backup copies, which are marked with a timestamp. This should help to prevent accidental deletion when running in paranoid mode multiple times. The paranoid section currently looks something like this: [paranoid] path = /my/custom/backup/path max_copies = 5 Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5345 ce84e21b-d406-0410-9b95-82705330c041
* Fix FileBacked class to catch created files againNarayan Desai2009-07-161-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5342 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-info: change profiling options to be more usefulNarayan Desai2009-07-161-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5341 ce84e21b-d406-0410-9b95-82705330c041
* Bundler-genshi: import genshi for error pathNarayan Desai2009-07-161-0/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5340 ce84e21b-d406-0410-9b95-82705330c041
* TCheetah: handle imports in a way that pylint likesNarayan Desai2009-07-161-8/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5339 ce84e21b-d406-0410-9b95-82705330c041
* Packages: pylint fixesNarayan Desai2009-07-161-1/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5338 ce84e21b-d406-0410-9b95-82705330c041
* GroupPatterns: short-circuit range matchingNarayan Desai2009-07-161-2/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5337 ce84e21b-d406-0410-9b95-82705330c041
* GroupPatterns: support activation of multiple groups from a single patternNarayan Desai2009-07-162-18/+26
| | | | | | | Add support for the addition of multiple new group memberships based on a single pattern (of either type). Alsa add support in the schema. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5336 ce84e21b-d406-0410-9b95-82705330c041
* FileCaching: only process file updates on exists and changed events (should ↵Narayan Desai2009-07-161-1/+3
| | | | | | cut down on unneeded and expensive startup ops) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5335 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-info: reduce size of startup event windowNarayan Desai2009-07-161-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5334 ce84e21b-d406-0410-9b95-82705330c041
* Fix initial event quiescingNarayan Desai2009-07-161-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5333 ce84e21b-d406-0410-9b95-82705330c041
* SSHbase: fix skn caching (Fixes startup behavior (-40s on my repo))Narayan Desai2009-07-161-2/+2
| | | | | | | | Our cache check actually triggered skn build early, causing extremely poor startup performance in general. (and extremely bad performance on repositories with large quantities of keys) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5332 ce84e21b-d406-0410-9b95-82705330c041
* POSIX.py: Fix false error in InstallSymLinkSol Jerome2009-07-161-13/+14
| | | | | | | | | | We were falsely assuming that the path to the symlink existed when installing a new one. However, if a symlink has not yet been created, this path could simply not yet exist. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5331 ce84e21b-d406-0410-9b95-82705330c041
* GroupPatterns: implement NodeRange (node[[001-096,099]]) supportNarayan Desai2009-07-152-5/+48
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5330 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Reverse sorting order for sources, allowing sources to work ↵Narayan Desai2009-07-151-0/+2
| | | | | | similarly to apt-get config. (Resolves Ticket #691) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5329 ce84e21b-d406-0410-9b95-82705330c041
* rpm/deb packaging: Remove remaining Cheetah dependenciesSol Jerome2009-07-155-3/+12
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5328 ce84e21b-d406-0410-9b95-82705330c041
* GroupPatterns plugin: initial implementationNarayan Desai2009-07-154-2/+99
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5327 ce84e21b-d406-0410-9b95-82705330c041
* SSHbase: add an error message for non-resolving clientsNarayan Desai2009-07-141-0/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5326 ce84e21b-d406-0410-9b95-82705330c041
* Metadata: fix query.all_groups to catch implicit groups in groups.xmlNarayan Desai2009-07-141-1/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5325 ce84e21b-d406-0410-9b95-82705330c041
* TCheetah: Remove RPM python-cheetah requirementSol Jerome2009-07-132-3/+11
| | | | | | | | | | Cheetah is not considered a requirement on the server. A check has been added to see if it is installed when trying to instantiate the TCheetah plugin. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5324 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-admin: Fix typoSol Jerome2009-07-131-1/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5323 ce84e21b-d406-0410-9b95-82705330c041