summaryrefslogtreecommitdiffstats
path: root/src/lib/Server
Commit message (Collapse)AuthorAgeFilesLines
* clean up event handling and handle specificityerrorsNarayan Desai2008-03-211-5/+12
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4429 ce84e21b-d406-0410-9b95-82705330c041
* Add mode error classNarayan Desai2008-03-211-0/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4428 ce84e21b-d406-0410-9b95-82705330c041
* Implement EntrySet and basic testing for it (mainly from ritcey)Narayan Desai2008-03-211-0/+137
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4427 ce84e21b-d406-0410-9b95-82705330c041
* Harden Viz mode against failures (Analogue to [4425])Narayan Desai2008-03-201-8/+11
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4426 ce84e21b-d406-0410-9b95-82705330c041
* Improve importscript error message when bcfg2.conf is not readable (Resolves ↵Narayan Desai2008-03-091-7/+4
| | | | | | Ticket #527) [bugfix] git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4411 ce84e21b-d406-0410-9b95-82705330c041
* deprecate PostInstalls (in schemas and Core.py) -- Actions can be used insteadNarayan Desai2008-03-091-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4408 ce84e21b-d406-0410-9b95-82705330c041
* Add psyco support to the server core (speeds up operations ~40% for simple ↵Narayan Desai2008-03-091-0/+6
| | | | | | tests) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4407 ce84e21b-d406-0410-9b95-82705330c041
* tighten up ignore regex in CfgNarayan Desai2008-03-091-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4406 ce84e21b-d406-0410-9b95-82705330c041
* Fix viz modeNarayan Desai2008-02-191-5/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4385 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-query patch from SolJNarayan Desai2008-02-191-0/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4384 ce84e21b-d406-0410-9b95-82705330c041
* Fix MineStruct (patch from Sol J)Narayan Desai2008-02-091-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4347 ce84e21b-d406-0410-9b95-82705330c041
* Fix traceback upon error message [bugfix]Narayan Desai2008-02-061-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4334 ce84e21b-d406-0410-9b95-82705330c041
* Fix bcfg2-admin pull for host-specific files when the current data is ↵Narayan Desai2008-01-291-3/+3
| | | | | | group-specific [bugfix] git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4305 ce84e21b-d406-0410-9b95-82705330c041
* Handle infoxml failure cases (reported in irc) [bugfix]Narayan Desai2008-01-291-0/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4304 ce84e21b-d406-0410-9b95-82705330c041
* Clean out dispatch table whenever files change (Resolves Ticket #522) [bugfix]Narayan Desai2008-01-291-0/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4303 ce84e21b-d406-0410-9b95-82705330c041
* Handle group coloring more robustly (Fixes issue reported by Matt Baker on ↵Narayan Desai2008-01-281-5/+6
| | | | | | irc) (analogous to r4295 in the stable branch) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4296 ce84e21b-d406-0410-9b95-82705330c041
* Fix use of category names with hyphens (Resolves Ticket #518)Narayan Desai2008-01-241-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4286 ce84e21b-d406-0410-9b95-82705330c041
* Implement support for .static files of external public keysNarayan Desai2008-01-221-1/+9
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4281 ce84e21b-d406-0410-9b95-82705330c041
* Fix test in case of using fulldata uploads for bcfg2-admin pull [bugfix]Narayan Desai2008-01-181-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4263 ce84e21b-d406-0410-9b95-82705330c041
* Fix for Lance's hiccup [bugfix]Narayan Desai2008-01-181-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4262 ce84e21b-d406-0410-9b95-82705330c041
* 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