summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugin.py
Commit message (Collapse)AuthorAgeFilesLines
* Core: add database_available flag to allow plugins to see availabilityTim Laszlo2012-08-151-1/+1
|
* fixed event on data directory itself to DirectoryBacked pluginsChris St. Pierre2012-08-151-1/+4
|
* added tests for GroupSpoolChris St. Pierre2012-08-151-7/+9
|
* added unit tests for EntrySetChris St. Pierre2012-08-141-30/+26
|
* added tests for Specificity/SpecificDataChris St. Pierre2012-08-141-10/+26
|
* added tests for PrioDirChris St. Pierre2012-08-141-5/+5
|
* fixed test inheritanceChris St. Pierre2012-08-141-6/+3
|
* added tests for XMLSrc, InfoXML, XMLDirectoryBackedChris St. Pierre2012-08-131-10/+16
|
* added unit tests for INode, InfoNodeChris St. Pierre2012-08-131-13/+17
|
* StructFile tests and fixesChris St. Pierre2012-08-101-5/+3
|
* tests and fixes for XMLFileBackedChris St. Pierre2012-08-091-10/+14
|
* DirectoryBacked tests and fixesChris St. Pierre2012-08-091-6/+5
|
* use os.path instead of posixpath in Plugin.pyChris St. Pierre2012-08-091-9/+8
|
* move MetadataConsistency/RuntimeError exceptions into Plugin.py so we don't ↵Chris St. Pierre2012-08-091-2/+14
| | | | depend on a particular Metadata plugin
* fixed several Statistics bugsChris St. Pierre2012-08-091-9/+16
|
* fixed Metadata interface definitionChris St. Pierre2012-08-091-2/+5
|
* raise NotImplementedError from unimplemented plugin interface methodsChris St. Pierre2012-08-091-8/+8
|
* simplify default metadata loadingChris St. Pierre2012-08-091-5/+3
|
* use cPickle instead of pickle in StatisticsChris St. Pierre2012-08-091-6/+3
|
* ThreadedStatistics needs to be a Plugin objectChris St. Pierre2012-08-091-13/+11
|
* DatabaseBacked interface needs to be a Plugin objectChris St. Pierre2012-08-091-24/+20
|
* removed calls to built-in file()/io.FileIO() in favor of read()Chris St. Pierre2012-08-091-5/+2
|
* get encoding a better way in packages collection objectsChris St. Pierre2012-08-031-5/+0
|
* made INode objects handle text contents and child elements correctlyChris St. Pierre2012-08-011-3/+8
|
* Plugin.py: Remove custom sortSol Jerome2012-07-311-5/+1
| | | | | | | This causes problems for PY3K and also appears to be unnecessary as we already handle priorities in the Specificity class. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* unified Metadata/DBMetadata pluginsChris St. Pierre2012-07-311-1/+20
| | | | made django optional
* fixed StructFile.Match() when it encounters commentsChris St. Pierre2012-07-301-2/+2
|
* Metadata and other improvements:Chris St. Pierre2012-07-301-18/+21
| | | | | | | | | | * Added support for Client tag in groups.xml * Added support for nested Group tags in groups.xml * Added support for negated groups in groups.xml * Added DatabaseBacked plugin mixin to easily allow plugins to connect to a database specified in global database settings in bcfg2.conf * Added DBMetadata plugin that uses relational DB to store client records instead of writing to clients.xml
* allow xinclude files to be missing if xi:fallback is providedChris St. Pierre2012-07-241-5/+13
|
* added selinux supportChris St. Pierre2012-07-031-4/+8
|
* unified [Single]XMLFileBacked, enabled xinclude pretty much everywhereChris St. Pierre2012-06-251-47/+25
|
* added XMLMatch() method of StructFile to resolve Group/Client tags ↵Chris St. Pierre2012-06-191-17/+52
| | | | recursively and return an XML document
* merged maintChris St. Pierre2012-06-191-21/+26
|
* ThreadedStatistics: Set daemon=False for ThreadedStatisticTim Laszlo2012-06-141-3/+3
| | | | | | | Revert d0555789f2af89817b4bf50a4d88e98ad6c20730 Set daemon=False for ThreadedStatistics. Resolves an issue where the thread is left running after the interpreter has shutdown.
* DBStats: watch for missing work queueTim Laszlo2012-06-141-2/+2
|
* EntrySet inherits from Debuggable so no longer needs explicity debug_log; ↵Chris St. Pierre2012-06-121-4/+6
| | | | properly toggle debug on GroupSpool entries
* added end_statistics hook to ClientRunHooks; added calls to Packages and ↵Chris St. Pierre2012-06-121-0/+2
| | | | PuppetENC to clean cache after statistics, too
* added ClientRunHooks plugin roleChris St. Pierre2012-06-121-0/+9
|
* fixed logging of toggle_debugChris St. Pierre2012-06-011-2/+3
|
* fixed return values from toggle_debug xcmdsChris St. Pierre2012-06-011-0/+3
|
* Pkgmgr: Fix broken altsrcTim Laszlo2012-05-221-0/+3
| | | | | | Use __contains__ instead of has_key in Pkgmgr. Gone in Py3k. Fallback on __getitem__ in PrioDir. Handles cased with an override for __getitem__ is used.
* Packages: Unicode-objects must be encoded before hashingSol Jerome2012-05-211-0/+5
| | | | | | Fixes a traceback in PY3K. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Added inotify filemonitor driverChris St. Pierre2012-05-181-25/+20
| | | | Moved list of files to ignore into config
* moved plugin-specific configs to main config file; propagate "setup" object ↵Chris St. Pierre2012-05-111-62/+0
| | | | to server Core
* modularized CfgChris St. Pierre2012-05-081-12/+30
|
* PY3K: Get server code working againSol Jerome2012-05-051-0/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* better support for re-reading packages.conf (and SimpleConfigs in general)Chris St. Pierre2012-05-041-2/+10
|
* improved error reporting in a few placesChris St. Pierre2012-04-131-1/+1
|
* fixed xincludes to properly handle includes-in-includes, includes that ↵Chris St. Pierre2012-04-111-10/+25
| | | | aren't top-level, and other misc. stuff
* Allow to run directly from a git checkout (#1037)Sol Jerome2012-03-241-0/+1232
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>