summaryrefslogtreecommitdiffstats
path: root/src/lib
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-303-21/+31
| | | | 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-301-0/+8
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4135 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-admin: use Bcfg2.SettingsRobert Gogolok2007-12-307-38/+25
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4133 ce84e21b-d406-0410-9b95-82705330c041
* Settings class to remove redundant code for parsing config file.Robert Gogolok2007-12-307-106/+196
| | | | | | | | | | 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 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-2919-1/+681
| | | | | | 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-282-32/+4
| | | | | | (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-281-0/+44
| | | | 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
* 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
* 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
* 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
* make Core.py produce more error messages with plugin load failures (from GP) ↵Narayan Desai2007-11-021-2/+2
| | | | | | (Resolves Ticket #488) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3903 ce84e21b-d406-0410-9b95-82705330c041
* make Core.py more tolerant of spaces in bcfg2.conf (Resolves Ticket #488)Narayan Desai2007-11-021-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3902 ce84e21b-d406-0410-9b95-82705330c041
* Produce better interactive questions for bcfg2-adminNarayan Desai2007-10-311-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3896 ce84e21b-d406-0410-9b95-82705330c041
* Deregister Cfg entries in case of overall deletion (Resolves Ticket #481)Narayan Desai2007-10-301-0/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3887 ce84e21b-d406-0410-9b95-82705330c041
* Implement bcfg2-admin pull support for info files/metadata changes (Resolves ↵Narayan Desai2007-10-302-3/+14
| | | | | | Ticket #480) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3886 ce84e21b-d406-0410-9b95-82705330c041
* Fix reports traceback with mysql (Resolves Ticket #487)Narayan Desai2007-10-301-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3884 ce84e21b-d406-0410-9b95-82705330c041
* ensure that client_list_a is always filled before client_list_bNarayan Desai2007-10-291-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3879 ce84e21b-d406-0410-9b95-82705330c041
* print errors when they occurNarayan Desai2007-10-291-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3878 ce84e21b-d406-0410-9b95-82705330c041