summaryrefslogtreecommitdiffstats
path: root/src/lib/Server
Commit message (Collapse)AuthorAgeFilesLines
* bcfg-admin init: generate random password if no password specifiedRobert Gogolok2008-01-091-6/+12
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4228 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-admin init: don't echo passwordRobert Gogolok2008-01-091-3/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4227 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-admin init: Robert Gogolok2008-01-081-26/+48
| | | | | | | | - ask where to store bcfg2.conf - some hints what should be fixed in the code git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4219 ce84e21b-d406-0410-9b95-82705330c041
* fix 'bcfg2-admin init': args[0] is not necessarily presentRobert Gogolok2008-01-081-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4218 ce84e21b-d406-0410-9b95-82705330c041
* Pull internal option parsing out of CoreNarayan Desai2008-01-082-17/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4198 ce84e21b-d406-0410-9b95-82705330c041
* Admin fixupsNarayan Desai2008-01-084-12/+12
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4196 ce84e21b-d406-0410-9b95-82705330c041
* SSHbase: Re-add workaround to handle skn caching in event handlerNarayan Desai2007-12-311-0/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4154 ce84e21b-d406-0410-9b95-82705330c041
* fix syntax; adjust SSETUP to common styleRobert Gogolok2007-12-311-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4143 ce84e21b-d406-0410-9b95-82705330c041
* Switch over to more Options usage and complete tests (everything appears to ↵Narayan Desai2007-12-314-31/+54
| | | | | | work now) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4142 ce84e21b-d406-0410-9b95-82705330c041
* add SENDMAIL_PATHRobert Gogolok2007-12-301-7/+15
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4137 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-303-14/+17
| | | | | | | | | | 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
* 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
* 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
* 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
* 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
* 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
* 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
* Fix refactor importscript breakage and add optparsing patch from TimLNarayan Desai2007-10-261-35/+45
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3871 ce84e21b-d406-0410-9b95-82705330c041
* Make importscript even more efficientNarayan Desai2007-10-111-12/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3795 ce84e21b-d406-0410-9b95-82705330c041
* Add sparse client updates (should speed up runs with big databases _a lot_)Narayan Desai2007-10-111-22/+25
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3792 ce84e21b-d406-0410-9b95-82705330c041
* switch last data hashes over to django objectsNarayan Desai2007-10-111-29/+25
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3788 ce84e21b-d406-0410-9b95-82705330c041
* Continue changes to use django datatypes (further reduces resource consumption)Narayan Desai2007-10-101-40/+30
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3787 ce84e21b-d406-0410-9b95-82705330c041
* Fix importscript.py performance problemsNarayan Desai2007-10-101-45/+38
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3786 ce84e21b-d406-0410-9b95-82705330c041
* Plugin updates: Account sudoers perms, Cfg recreate bug, Deps error pathNarayan Desai2007-10-103-5/+10
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3784 ce84e21b-d406-0410-9b95-82705330c041
* Fix comments in pkglists with FuzzyDictNarayan Desai2007-08-281-6/+10
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3655 ce84e21b-d406-0410-9b95-82705330c041
* Implement persistent probe data (so that templates can be debugged in ↵Narayan Desai2007-08-261-0/+33
| | | | | | bcfg2-info) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3647 ce84e21b-d406-0410-9b95-82705330c041
* Add infoxml support to TGenshiNarayan Desai2007-08-261-3/+15
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3646 ce84e21b-d406-0410-9b95-82705330c041
* Implement better error reporting for TCheetahNarayan Desai2007-08-261-1/+6
| | | | | | | | | | | Cheetah template errors now display: NotFound: cannot find 'hostn' while searching for 'self.metadata.hostn' Failed to template /bcfg2.conf git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3645 ce84e21b-d406-0410-9b95-82705330c041
* Implement infoxml support for TCheetahNarayan Desai2007-08-261-2/+14
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3644 ce84e21b-d406-0410-9b95-82705330c041