summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugin
Commit message (Collapse)AuthorAgeFilesLines
* testsuite: fixed unit tests for database fixesChris St. Pierre2013-11-251-4/+5
|
* Core: Avoid starting server if database is enabled but cannot be usedChris St. Pierre2013-11-251-4/+13
| | | | | | | Plugins that use the database often act quite differently depending on whether or not the database is enabled. If we start the server without the database (e.g., the connection failed), then Very Strange Things can happen.
* XMLFileBacked: removed unused variableChris St. Pierre2013-09-111-1/+1
|
* XMLFileBacked: Fixed multiple identical XIncludes in one fileChris St. Pierre2013-09-111-12/+9
|
* Allow Connector to create new groupsChris St. Pierre2013-09-051-1/+23
| | | | | Connector plugins can now create new groups, including the full range of options on those groups (profile, public, category, etc.).
* XMLFileBacked: Monitor XIncludes whenever a FAM is availableChris St. Pierre2013-09-041-3/+4
| | | | | | | | | | This monitors XIncluded files even if should_monitor=False, since the object monitoring the base file will not monitor XIncludes. This ensures that XIncluded files are properly monitored whenever possible, particularly for Bundler and Properties. This is a partial backport of 5b66845 -- as much of a backport as is possible without a module-level FAM object.
* Plugin: added missing docstringChris St. Pierre2013-08-071-0/+11
|
* MultiprocessingCore: added a way to dispatch RMI calls to child processesChris St. Pierre2013-08-071-0/+18
|
* Plugin: added new Caching interfaceChris St. Pierre2013-08-071-0/+8
| | | | | | | This gives a single unified interface for expiring caches, no matter the plugin. This will be particularly useful with the MultiprocessingCore, as certain calls must be dispatched to child processes to expire their caches.
* Plugin: quiet down set_debug, but keep it usefulChris St. Pierre2013-08-061-3/+2
|
* do not create data directories for plugins that don't need themChris St. Pierre2013-06-132-1/+9
|
* tools: make migrate_info.py migrate "perms" ↵Chris St. Pierre2013-05-221-9/+9
| | | | (http://trac.mcs.anl.gov/projects/bcfg2/ticket/1150)
* XMLFileBacked: fixed deprecated logic when create is lxml.etree._Element objectChris St. Pierre2013-03-281-2/+2
|
* XMLFileBacked: track FAM monitors separately from processed xincludes to ↵Chris St. Pierre2013-03-271-2/+8
| | | | avoid infinite loop with pseudo FAM
* testsuite: fixed more unit test stuffChris St. Pierre2013-03-261-4/+4
|
* fixed regex errors introduced by 6c996f42c53a36fc0406f836d64b8c1bec6f4bccChris St. Pierre2013-03-261-3/+3
|
* testsuite: can't disable pylint R0924, since it doesn't exist on older ↵Chris St. Pierre2013-03-261-0/+9
| | | | pylint and pylint barfs
* Plugin: use appropriate loggers for Debuggable helper objectsChris St. Pierre2013-03-261-34/+35
|
* testsuite: fixed issues found by latest version of pylintChris St. Pierre2013-03-261-13/+13
|
* testsuite: fixed issues found by latest version of pep8Chris St. Pierre2013-03-262-21/+20
|
* Handle FAM monitor failures more gracefully:Chris St. Pierre2013-03-252-11/+52
| | | | | | | | | * Where possible, create the file or directory that is about to be monitored. This ensures that content can be added later without need to restart Bcfg2. (Otherwise, adding the monitor would fail, and so when you did create the file in question, bcfg2-server would never be notified of it.) * When not possible, give better error messages.
* Revert "Packages: properly implemented deepcopy() for PackagesSources objects"Chris St. Pierre2013-03-251-33/+0
| | | | This reverts commit 432f448983ff27452d82d62314d91c942f31bce5.
* Packages: properly implemented deepcopy() for PackagesSources objectsChris St. Pierre2013-03-251-0/+33
|
* XMLFileBacked: fixed XIncludeChris St. Pierre2013-03-221-0/+1
| | | | | | | | Clear out "extras" when each event is handled to ensure that we start fresh. Failure to do so prevents the wildcard XInclude munging to work, so the first time an event is processed everything is fine; but when subsequent events are processed, _follow_xincludes() thinks that each xinclude tag has already been munged and only removes it.
* Debug improvements:Chris St. Pierre2013-03-191-2/+2
| | | | | | * Added (set|toggle)_core_debug RMI methods to set debugging in the core * Enable plugin debugging when run with -d * Allow enabling debugging on Reporting plugin before threads have started
* Core: added more debug logging for core methodsChris St. Pierre2013-03-191-0/+1
|
* added PEP-8 style checks to test suiteChris St. Pierre2013-03-111-0/+1
|
* extended usage of Executor class, added client-side timeout optionsChris St. Pierre2013-02-141-12/+1
|
* added support for wildcard XInclude in XMLFileBackedChris St. Pierre2013-02-141-11/+20
|
* read default Path metadata from config file properlyChris St. Pierre2013-01-171-1/+3
|
* get default metadata for Path entries from config file given on command lineChris St. Pierre2013-01-161-1/+1
|
* StructFile: removed unnecessary exception handling in Index()Chris St. Pierre2013-01-031-10/+4
|
* python < 2.6 doesn't support * magic on dotted namesChris St. Pierre2012-12-181-1/+2
|
* added unit tests for Rules and DefaultsChris St. Pierre2012-12-181-6/+2
|
* StructFile: get text from matching elements in XMLMatchChris St. Pierre2012-12-101-0/+5
|
* Threaded plugin fixes:Chris St. Pierre2012-11-271-1/+18
| | | | | | | * Added "Threaded" plugin interface for any plugin that uses threads * Start plugin threads after daemonization * Update existing plugins that use threads (Reporting, Snapshots, ThreadedStatistics interface) * Update unit tests
* fixed vcs_root/vcs_path for Version plugins, esp. SvnChris St. Pierre2012-11-191-4/+4
|
* fixed plugin-specific implementations of toggle_debug for new set_debug stuffChris St. Pierre2012-11-161-5/+5
|
* added set_debug RMI for plugins and core, set_fam_debug RMIChris St. Pierre2012-11-161-5/+13
|
* added Git.Update RMI, ability to base bcfg2 VCS repo at a different ↵Chris St. Pierre2012-10-301-15/+12
| | | | directory than the repo root
* fixed unit testsChris St. Pierre2012-10-291-3/+6
|
* added database locking to MetadataChris St. Pierre2012-10-291-9/+11
|
* Probes/DatabaseBackend: add a thread lock for databases that cannot handle ↵Tim Laszlo2012-10-261-0/+29
| | | | multiple writes
* improved error messages during failed decryptionChris St. Pierre2012-10-241-0/+3
|
* fixed a few straggling perms -> mode changesChris St. Pierre2012-10-151-1/+1
|
* Plugins: Fix info/:info regexSol Jerome2012-10-151-4/+4
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* documented Statistics interfaceChris St. Pierre2012-10-151-3/+5
|
* wrote sphinx docs for base server CoreChris St. Pierre2012-10-151-1/+1
|
* XMLFileBacked: clarified docs on __identifier__Chris St. Pierre2012-10-101-7/+28
|
* moved track_statistics to plugin helpers to make it usable by pluginsChris St. Pierre2012-10-101-3/+37
|