summaryrefslogtreecommitdiffstats
path: root/src/lib/Server
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Core fixes from pylintSol Jerome2009-01-291-7/+7
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5048 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
* Fix tb caused by non-string revisionSol Jerome2009-01-281-1/+1
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5046 ce84e21b-d406-0410-9b95-82705330c041
* Add Version plugin typeSol Jerome2009-01-266-47/+104
| | | | | | | | | | | | | | | 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
* Add Pull Source support to Minestruct (with aggregation of all extra entries)Sol Jerome2009-01-221-1/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5039 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-216-57/+14
| | | | 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
* Remove plugin initialization debug codeNarayan Desai2009-01-211-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5033 ce84e21b-d406-0410-9b95-82705330c041
* Add support for out of tree pluginsNarayan Desai2009-01-211-2/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5031 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-215-4/+163
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5029 ce84e21b-d406-0410-9b95-82705330c041
* Revert accidental svn keyword changes and add minor pylint fixesSol Jerome2009-01-151-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5027 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-155-9/+52
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5025 ce84e21b-d406-0410-9b95-82705330c041
* Add support for alternate VCS backendsSol Jerome2009-01-137-20/+48
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5023 ce84e21b-d406-0410-9b95-82705330c041
* Update bcfg2-admin query to use new Core interfaceSol Jerome2009-01-132-3/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5020 ce84e21b-d406-0410-9b95-82705330c041
* Alphabetize clients list in reports so that it looks more saneSol Jerome2009-01-121-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5016 ce84e21b-d406-0410-9b95-82705330c041
* Fix tb in bcfg2-admin modesNarayan Desai2009-01-121-2/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5015 ce84e21b-d406-0410-9b95-82705330c041
* Plugin configuration change: all plugins now need to be specified in the ↵Narayan Desai2009-01-122-59/+26
| | | | | | plugins line in bcfg2.conf (no more structures, generators, or connectors lines) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5014 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-125-35/+33
| | | | 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-114-11/+12
| | | | | | 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-103-4/+9
| | | | 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
* More Plugin rework (Structure Validator implementation complete)Narayan Desai2009-01-101-18/+34
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5007 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-063-7/+28
| | | | 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-0523-154/+170
| | | | | | | | - 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
* Fix Bcfg2.Options import for admin modesNarayan Desai2008-12-301-1/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5002 ce84e21b-d406-0410-9b95-82705330c041
* Implement metadata connector functionalityNarayan Desai2008-12-246-149/+203
| | | | 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-2213-82/+82
| | | | 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
* Harden file monitoring option handling (Resolves Ticket #611 and reresolves ↵Narayan Desai2008-11-131-0/+3
| | | | | | #536) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4973 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
* Improve error handling around schema auto-update codeNarayan Desai2008-11-071-4/+8
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4968 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
* Suppress reporting of known tempfile event suppressionNarayan Desai2008-11-071-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4963 ce84e21b-d406-0410-9b95-82705330c041
* Improve importscript error messages (Patch from Kamil Kiseil)Narayan Desai2008-11-041-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4961 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
* handle non-interactive pull where no choices existNarayan Desai2008-10-311-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4958 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