summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins
Commit message (Collapse)AuthorAgeFilesLines
* Add Snapshots to __init__Sol Jerome2009-03-041-2/+2
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5097 ce84e21b-d406-0410-9b95-82705330c041
* Get Snapshots working for Service entriesNarayan Desai2009-03-031-17/+25
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5095 ce84e21b-d406-0410-9b95-82705330c041
* Snapshots update - storage of packages works from clients (old-style statistics)Narayan Desai2009-03-021-0/+56
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5092 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
* os.popen is deprecated in 2.6 (http://docs.python.org/library/os.html#os.popen)Sol Jerome2009-02-203-6/+14
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5088 ce84e21b-d406-0410-9b95-82705330c041
* Fix interpreter regex (Patch from Kamil Kisiel)Sol Jerome2009-02-181-1/+1
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5084 ce84e21b-d406-0410-9b95-82705330c041
* Pylint fixes for Account PluginSol Jerome2009-02-111-9/+14
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5075 ce84e21b-d406-0410-9b95-82705330c041
* Fix subclass orderingNarayan Desai2009-02-091-3/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5072 ce84e21b-d406-0410-9b95-82705330c041
* Packages: handle APT virtual packages properlyNarayan Desai2009-02-051-3/+50
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5065 ce84e21b-d406-0410-9b95-82705330c041
* Prevent Genshi traceback for unknown encodingsSol Jerome2009-02-031-2/+5
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5062 ce84e21b-d406-0410-9b95-82705330c041
* revert last patchNarayan Desai2009-02-021-4/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5060 ce84e21b-d406-0410-9b95-82705330c041
* Add client aliases to metadata instancesNarayan Desai2009-02-021-2/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5059 ce84e21b-d406-0410-9b95-82705330c041
* Fix unicode error messagesNarayan Desai2009-02-022-6/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5057 ce84e21b-d406-0410-9b95-82705330c041
* new version of BB that works as a connector (for substantial code savings)Narayan Desai2009-02-021-316/+74
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5056 ce84e21b-d406-0410-9b95-82705330c041
* Split out connector interface to allow for additional data generation based ↵Narayan Desai2009-02-023-8/+11
| | | | | | on complete group list git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5055 ce84e21b-d406-0410-9b95-82705330c041
* Packages bug fixNarayan Desai2009-02-021-1/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5054 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
* Properties fixes from pylintNarayan Desai2009-01-281-3/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5047 ce84e21b-d406-0410-9b95-82705330c041
* Add Version plugin typeSol Jerome2009-01-263-2/+91
| | | | | | | | | | | | | | | The following changes were made: * Remove VCS logic out of the Core * Add Git/Svn plugins * Remove config file directive in bcfg2.conf Use of the plugins are enabled by adding Git or Svn (or both) to the plugins line of bcfg2.conf Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5044 ce84e21b-d406-0410-9b95-82705330c041
* Create cachedir if it doesn't existSol Jerome2009-01-221-0/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5038 ce84e21b-d406-0410-9b95-82705330c041
* Fix tb when initializing the Decisions pluginSol Jerome2009-01-211-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5037 ce84e21b-d406-0410-9b95-82705330c041
* Remove old properties implementation and hardwiringNarayan Desai2009-01-215-25/+12
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5036 ce84e21b-d406-0410-9b95-82705330c041
* Packages: only kick in on package entriesNarayan Desai2009-01-211-1/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5035 ce84e21b-d406-0410-9b95-82705330c041
* Move properties to the connector interfaceNarayan Desai2009-01-212-3/+33
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5034 ce84e21b-d406-0410-9b95-82705330c041
* more error handling for PackagesNarayan Desai2009-01-211-1/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5030 ce84e21b-d406-0410-9b95-82705330c041
* Infrastructure and initial implementation of the Packages pluginNarayan Desai2009-01-213-2/+161
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5029 ce84e21b-d406-0410-9b95-82705330c041
* Uniqify probe returns so that a client only gets the most specific version, ↵Narayan Desai2009-01-151-16/+13
| | | | | | and map it to the probe basename (ie probe getmacs.H_hostname returns as getmacs) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5026 ce84e21b-d406-0410-9b95-82705330c041
* add GBundler plugin (like SGenshi, but works like Bundler)Narayan Desai2009-01-154-5/+42
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5025 ce84e21b-d406-0410-9b95-82705330c041
* Fix baseclass orderNarayan Desai2009-01-121-3/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5013 ce84e21b-d406-0410-9b95-82705330c041
* Finish up Pull Source and multi-Statistics codeNarayan Desai2009-01-122-5/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5012 ce84e21b-d406-0410-9b95-82705330c041
* Split pull functionality into PullSource/PullTarget and rebase Cfg and ↵Narayan Desai2009-01-112-2/+2
| | | | | | 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-102-2/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5010 ce84e21b-d406-0410-9b95-82705330c041
* Finish up Connector API (connector data is now available from ↵Narayan Desai2009-01-101-2/+4
| | | | | | metadata.Probes instead or metadata.probes) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5009 ce84e21b-d406-0410-9b95-82705330c041
* Ignore probed.xml files in the Probes directoryNarayan Desai2009-01-101-0/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5008 ce84e21b-d406-0410-9b95-82705330c041
* Rework bcfg2-info/showclient to use new metadata interfaceNarayan Desai2009-01-101-4/+7
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5006 ce84e21b-d406-0410-9b95-82705330c041
* Implement generic structure validators and reimplement Deps as oneNarayan Desai2009-01-061-3/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5005 ce84e21b-d406-0410-9b95-82705330c041
* This patch is stage 1 of the plugin capabilities reworkNarayan Desai2009-01-0521-122/+140
| | | | | | | | - 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
* Implement metadata connector functionalityNarayan Desai2008-12-243-139/+168
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5000 ce84e21b-d406-0410-9b95-82705330c041
* Update dictionary accesses to work with Python 3.0Sol Jerome2008-12-227-36/+36
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4999 ce84e21b-d406-0410-9b95-82705330c041
* Fix TCheetah properties (resolves Ticket #613) (confirmed by Gordon Messmer)Narayan Desai2008-12-011-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4989 ce84e21b-d406-0410-9b95-82705330c041
* Fix properties in cheetah templatesNarayan Desai2008-11-221-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4983 ce84e21b-d406-0410-9b95-82705330c041
* Improve Statistics plugin error handling when no entry pull data is ↵Narayan Desai2008-11-131-0/+2
| | | | | | available (Reported by Fernando Laudares Camargos) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4974 ce84e21b-d406-0410-9b95-82705330c041
* Set keywords on Decisions and DBStatsNarayan Desai2008-11-121-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4972 ce84e21b-d406-0410-9b95-82705330c041
* Increase DBstats verbosity upon import failureNarayan Desai2008-11-071-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4965 ce84e21b-d406-0410-9b95-82705330c041
* TCheetah: Use an explicit searchlist for variable resolution, which gets ↵Narayan Desai2008-11-041-3/+8
| | | | | | propagated to #included templates git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4960 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
* Fix Package entries for new set infrastructure (Resolves PDS's issue ↵Narayan Desai2008-10-281-1/+1
| | | | | | reported in irc) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4953 ce84e21b-d406-0410-9b95-82705330c041