summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins/Cfg.py
Commit message (Collapse)AuthorAgeFilesLines
* Cfg: Fix diff deltas (Patch from Thomas Schoenl)Narayan Desai2009-10-291-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5510 ce84e21b-d406-0410-9b95-82705330c041
* Fix incorrect mappings and change configfile type to fileSol Jerome2009-10-161-1/+1
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5484 ce84e21b-d406-0410-9b95-82705330c041
* Pylint/PEP 8 Code cleanupsSol Jerome2009-10-071-2/+7
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5477 ce84e21b-d406-0410-9b95-82705330c041
* Cfg: Set type to 'configfile' for Path entriesSol Jerome2009-10-061-2/+4
| | | | | | | | | | When binding Path entries using Cfg, we need to set the entry type to 'configfile' so that the POSIXCompat plugin can properly map it to an old-style entry. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5475 ce84e21b-d406-0410-9b95-82705330c041
* Cfg: delta file regex bugfixNarayan Desai2009-03-161-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5119 ce84e21b-d406-0410-9b95-82705330c041
* Fix newlinks at the end of .cat filesNarayan Desai2009-03-021-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5091 ce84e21b-d406-0410-9b95-82705330c041
* Use safer alternatives to mktemp (Patch from adeason)Sol Jerome2009-01-291-2/+6
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5049 ce84e21b-d406-0410-9b95-82705330c041
* Remove old properties implementation and hardwiringNarayan Desai2009-01-211-3/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5036 ce84e21b-d406-0410-9b95-82705330c041
* Split pull functionality into PullSource/PullTarget and rebase Cfg and ↵Narayan Desai2009-01-111-1/+1
| | | | | | SSHbase on PullTarget git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5011 ce84e21b-d406-0410-9b95-82705330c041
* Finish up PullSource plugin workNarayan Desai2009-01-101-1/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5010 ce84e21b-d406-0410-9b95-82705330c041
* This patch is stage 1 of the plugin capabilities reworkNarayan Desai2009-01-051-1/+1
| | | | | | | | - define new plugin base classes - switch Plugin.__name__ => Plugin.name git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5004 ce84e21b-d406-0410-9b95-82705330c041
* check if content updates are neededNarayan Desai2008-10-311-4/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4959 ce84e21b-d406-0410-9b95-82705330c041
* Fix file name generation in Cfg support for bcfg-admin pullNarayan Desai2008-10-311-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4957 ce84e21b-d406-0410-9b95-82705330c041
* Fix interspersed newlines in deltas with .cat filesNarayan Desai2008-10-301-0/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4956 ce84e21b-d406-0410-9b95-82705330c041
* Fix bcfg2-admin for new host-specific entriesNarayan Desai2008-10-281-4/+7
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4955 ce84e21b-d406-0410-9b95-82705330c041
* Get rid of errant newlines (Resolves #599 for real this time)Narayan Desai2008-09-291-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4925 ce84e21b-d406-0410-9b95-82705330c041
* Fix deltas (Resolves Ticket #599)Narayan Desai2008-09-261-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4922 ce84e21b-d406-0410-9b95-82705330c041
* Fix :info file creation in bcfg2-admin pullNarayan Desai2008-08-071-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4867 ce84e21b-d406-0410-9b95-82705330c041
* Unicode support (from stousignant) (Resolves Ticket #549)Narayan Desai2008-06-301-3/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4731 ce84e21b-d406-0410-9b95-82705330c041
* Fix error message in non-matching caseNarayan Desai2008-06-091-2/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4685 ce84e21b-d406-0410-9b95-82705330c041
* Move base data caching es class to Plugin.pyNarayan Desai2008-04-081-14/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4488 ce84e21b-d406-0410-9b95-82705330c041
* Fix 0-length file handlingNarayan Desai2008-03-241-9/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4447 ce84e21b-d406-0410-9b95-82705330c041
* Rework bcfg2-admin pullNarayan Desai2008-03-241-76/+68
| | | | | | | | | - forward port Cfg and SSHbase support - reimplement admin mode - add verbose flag, and implement initial interactive mode, also force mode git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4446 ce84e21b-d406-0410-9b95-82705330c041
* Reimplement Cfg using EntrySetNarayan Desai2008-03-211-375/+89
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4435 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 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
* 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
* 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
* 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
* bcfg2-admin pull fixesNarayan Desai2007-11-121-5/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3947 ce84e21b-d406-0410-9b95-82705330c041
* Second stage of the root->0 backout (from GP)Narayan Desai2007-11-021-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3906 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-301-2/+13
| | | | | | Ticket #480) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3886 ce84e21b-d406-0410-9b95-82705330c041
* Plugin updates: Account sudoers perms, Cfg recreate bug, Deps error pathNarayan Desai2007-10-101-3/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3784 ce84e21b-d406-0410-9b95-82705330c041
* Implement basic info.xml supportNarayan Desai2007-08-071-4/+18
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3609 ce84e21b-d406-0410-9b95-82705330c041
* fix for Cfg file pullNarayan Desai2007-08-011-1/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3590 ce84e21b-d406-0410-9b95-82705330c041
* Fix binary config file stats uploadNarayan Desai2007-08-011-8/+7
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3589 ce84e21b-d406-0410-9b95-82705330c041
* Power about to die can't find adapter may work or not...Daniel Joseph Barnhart Clark2007-07-021-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3409 ce84e21b-d406-0410-9b95-82705330c041
* Implement ConfigFile mtime assertion (Resolves Ticket #421)Narayan Desai2007-04-111-1/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3031 ce84e21b-d406-0410-9b95-82705330c041
* Move logic for repository interactions in bcfg2-admin pull into individual ↵Narayan Desai2007-04-031-1/+39
| | | | | | | | | plugins (This change introduces all new infrastructure, and is in preparation for doing support in SSHbase) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3005 ce84e21b-d406-0410-9b95-82705330c041
* Remove spurious error messages for empty lines in :info filesNarayan Desai2007-03-201-1/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2952 ce84e21b-d406-0410-9b95-82705330c041
* Fix :info filesNarayan Desai2007-02-061-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2786 ce84e21b-d406-0410-9b95-82705330c041
* Fix owner and group names that contain dashesNarayan Desai2007-02-041-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2781 ce84e21b-d406-0410-9b95-82705330c041
* * Disable Yum driver for nowNarayan Desai2007-01-311-2/+3
| | | | | | | * Add info files as an alternative for :info files (Resolves Ticket #382) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2735 ce84e21b-d406-0410-9b95-82705330c041
* Fix traceback issue which would cause 0-length filesNarayan Desai2006-11-121-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2489 ce84e21b-d406-0410-9b95-82705330c041
* updated the way probes store the data properly to close ticket #242Rick Bradshow2006-10-241-2/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2454 ce84e21b-d406-0410-9b95-82705330c041
* updated the probe code to not include probes with no content.Rick Bradshow2006-10-241-8/+11
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2453 ce84e21b-d406-0410-9b95-82705330c041