summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add unit testing for new option parsing library (Full Coverage)Narayan Desai2007-12-311-13/+12
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4141 ce84e21b-d406-0410-9b95-82705330c041
* Reimplement option parser so that the code doesn't cause blindnessNarayan Desai2007-12-311-60/+108
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4140 ce84e21b-d406-0410-9b95-82705330c041
* Fix parsing problemNarayan Desai2007-12-301-9/+9
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4139 ce84e21b-d406-0410-9b95-82705330c041
* correct indentionRobert Gogolok2007-12-301-8/+8
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4138 ce84e21b-d406-0410-9b95-82705330c041
* add SENDMAIL_PATHRobert Gogolok2007-12-304-23/+32
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4137 ce84e21b-d406-0410-9b95-82705330c041
* simplify settings code a bitNarayan Desai2007-12-301-103/+41
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4136 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-repo-validate: use Bcfg2.SettingsRobert Gogolok2007-12-302-16/+17
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4135 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-ping-sweep: Robert Gogolok2007-12-301-7/+12
| | | | | | | | - use Bcfg2.Settings - don't crash if clients.xml can't be parsed git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4134 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-admin: use Bcfg2.SettingsRobert Gogolok2007-12-308-39/+31
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4133 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-query: use Bcfg2.SettingsRobert Gogolok2007-12-301-6/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4132 ce84e21b-d406-0410-9b95-82705330c041
* Settings class to remove redundant code for parsing config file.Robert Gogolok2007-12-3010-114/+217
| | | | | | | | | | If a module wants to access bcfg2 settings: from Bcfg2.Settings import settings git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4131 ce84e21b-d406-0410-9b95-82705330c041
* remove redundant codeRobert Gogolok2007-12-301-2/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4130 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-admin: print usage if no argumentsRobert Gogolok2007-12-291-3/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4129 ce84e21b-d406-0410-9b95-82705330c041
* Remove bogus pyc filesNarayan Desai2007-12-299-0/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4126 ce84e21b-d406-0410-9b95-82705330c041
* Refactor of bcfg2-admin (all modes moved to discrete modules in ↵Narayan Desai2007-12-2920-613/+712
| | | | | | Bcfg2.Server.Admin git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4125 ce84e21b-d406-0410-9b95-82705330c041
* sshbase: replace ssh_known_hosts cache mechanism with a python propertyNarayan Desai2007-12-281-31/+27
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4124 ce84e21b-d406-0410-9b95-82705330c041
* Add repo to metadata for TCheetah templates (Resolves #501)Narayan Desai2007-12-281-0/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4123 ce84e21b-d406-0410-9b95-82705330c041
* Remove all vestiges of server-side toolset, it hasn't been used since 0.8.5 ↵Narayan Desai2007-12-283-40/+12
| | | | | | (Resolves Ticket #455) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4121 ce84e21b-d406-0410-9b95-82705330c041
* Add new text pattern to ignore for Chkconfig (Resolves Ticket #505) [bugfix]Narayan Desai2007-12-281-5/+9
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4120 ce84e21b-d406-0410-9b95-82705330c041
* fix case: info file gets moved as part of an upper directory, e.g. mv ↵Robert Gogolok2007-12-281-1/+12
| | | | | | Cfg/etc/passwd /tmp git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4119 ce84e21b-d406-0410-9b95-82705330c041
* Add Metadata.GetClientByGroup that returns a list of clients by group membershipNarayan Desai2007-12-281-1/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4118 ce84e21b-d406-0410-9b95-82705330c041
* Fix YUMng extra package display (Resolves Ticket #509) [bugfix]Narayan Desai2007-12-281-1/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4117 ce84e21b-d406-0410-9b95-82705330c041
* Add overall view of metadata to ClientMetadata instancesNarayan Desai2007-12-281-3/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4115 ce84e21b-d406-0410-9b95-82705330c041
* add keyword substituation: RevisionRobert Gogolok2007-12-281-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4114 ce84e21b-d406-0410-9b95-82705330c041
* move daemonize support to own moduleRobert Gogolok2007-12-283-84/+49
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4113 ce84e21b-d406-0410-9b95-82705330c041
* ConfigParser.read(filenames) will not raise an exception, use ↵Robert Gogolok2007-12-251-2/+2
| | | | | | ConfigParser.readfp(fp) instead git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4111 ce84e21b-d406-0410-9b95-82705330c041
* use OptionParser for bcfg2-infoRobert Gogolok2007-12-251-5/+11
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4110 ce84e21b-d406-0410-9b95-82705330c041
* don't crash if no permission to write config fileRobert Gogolok2007-12-241-1/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4109 ce84e21b-d406-0410-9b95-82705330c041
* Fix handling of files ending in .cat or .diff [bugfix]Narayan Desai2007-12-131-1/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4083 ce84e21b-d406-0410-9b95-82705330c041
* Fix race when no keys exist and known_hosts is first in the bundle [bugfix]Narayan Desai2007-12-041-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4046 ce84e21b-d406-0410-9b95-82705330c041
* Fix reversed reasons in config item display (from Sol J) [bugfix]Narayan Desai2007-12-021-7/+7
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4029 ce84e21b-d406-0410-9b95-82705330c041
* Revert unintentional DebInit commit [bugfix]Narayan Desai2007-12-021-6/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4021 ce84e21b-d406-0410-9b95-82705330c041
* Harden frame against tool driver syntax errors (Related to #507) [bugfix]Narayan Desai2007-12-022-3/+12
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4020 ce84e21b-d406-0410-9b95-82705330c041
* Fix Chkconfig traceback (Resolves Ticket #507) [bugfix]Narayan Desai2007-12-021-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4019 ce84e21b-d406-0410-9b95-82705330c041
* Cleanly handle config file parse failures (Resolves Ticket #493) [bugfix]Narayan Desai2007-12-011-1/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4018 ce84e21b-d406-0410-9b95-82705330c041
* Fix chkconfig services that run in runlevel 1 [bugfix]Narayan Desai2007-11-301-2/+7
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4014 ce84e21b-d406-0410-9b95-82705330c041
* Improve agent scripts and daemonization support [bugfix]Narayan Desai2007-11-301-0/+43
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4013 ce84e21b-d406-0410-9b95-82705330c041
* Handle weird importer behavior on python2.3 [bugfix]Narayan Desai2007-11-301-0/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4012 ce84e21b-d406-0410-9b95-82705330c041
* Fix weird python2.3/sarge traceback [bugfix]Narayan Desai2007-11-301-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4011 ce84e21b-d406-0410-9b95-82705330c041
* Fix default profile group useNarayan Desai2007-11-121-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3948 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-admin pull fixesNarayan Desai2007-11-122-6/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3947 ce84e21b-d406-0410-9b95-82705330c041
* SGenshi improvements from Sebastien Barthelemy (sorry, bad locale) and ↵Narayan Desai2007-11-091-9/+41
| | | | | | improved error handling git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3944 ce84e21b-d406-0410-9b95-82705330c041
* Stop installing Svcmgr bits and include new reporting bits for bcfg2.conf ↵Narayan Desai2007-11-081-2/+17
| | | | | | (in bcfg2-admin init) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3941 ce84e21b-d406-0410-9b95-82705330c041
* Fixed bug #492 reports now respect 'expiration' datesJoey Hagedorn2007-11-081-8/+8
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3938 ce84e21b-d406-0410-9b95-82705330c041
* Revert bad error messages in importscriptNarayan Desai2007-11-051-2/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3912 ce84e21b-d406-0410-9b95-82705330c041
* Implement data collection on incomplete entry path for POSIXNarayan Desai2007-11-032-1/+30
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3911 ce84e21b-d406-0410-9b95-82705330c041
* Fix __all__Narayan Desai2007-11-031-3/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3910 ce84e21b-d406-0410-9b95-82705330c041
* Ensure that APT.py doesn't update more than once per runNarayan Desai2007-11-031-5/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3909 ce84e21b-d406-0410-9b95-82705330c041
* Fix error in state handling (Resolves Ticket #479)Narayan Desai2007-11-032-0/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3908 ce84e21b-d406-0410-9b95-82705330c041
* Second stage of the root->0 backout (from GP)Narayan Desai2007-11-026-11/+11
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3906 ce84e21b-d406-0410-9b95-82705330c041