summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Bundler.py
Commit message (Collapse)AuthorAgeFilesLines
* Bundler: Fix parsing XML template output with encoding declarationChris St. Pierre2013-11-211-3/+3
| | | | | | | | | | | | | | | | lxml 3.2.1 complains when you try to parse a unicode (in Python 2) or string (in Python 3) containing an XML document with an encoding declaration. Traceback: ValueError: Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration. This encodes the document as a string (in Python 2) or bytes (in Python 3) to avoid the lxml error. There may be other places this happens, too, although in most other cases we should use lxml.etree.parse() to parse a file, or we parse strings (in Python 2) instead of unicode objects.
* XMLFileBacked: Monitor XIncludes whenever a FAM is availableChris St. Pierre2013-09-041-4/+5
| | | | | | | | | | 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.
* doc: added devel docs for bcfg2-lint pluginsChris St. Pierre2013-05-141-4/+9
|
* testsuite: fixed issues found by latest version of pylintChris St. Pierre2013-03-261-1/+1
|
* testsuite: fixed issues found by latest version of pep8Chris St. Pierre2013-03-261-8/+6
|
* Handle FAM monitor failures more gracefully:Chris St. Pierre2013-03-251-10/+2
| | | | | | | | | * 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.
* better Genshi syntax lint checkerChris St. Pierre2013-02-141-2/+1
|
* Templating updates:Chris St. Pierre2012-11-191-3/+12
| | | | | | * Added "repo" variable to all template formats * Made variables available in Genshi and Cheetah template more similar * Improved docs
* wrote sphinx docs for base server CoreChris St. Pierre2012-10-151-1/+1
|
* fixed bcfg2-lint checking of bundle names with . in themChris St. Pierre2012-10-041-1/+1
|
* better error reporting for unknown template bundle render failuresChris St. Pierre2012-10-031-3/+3
|
* more pylint checksChris St. Pierre2012-09-251-48/+48
|
* Bundler: Add logger for BundleTemplateFileSol Jerome2012-08-181-5/+7
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Removed deprecated plugins BB, Svcmgr, SGenshiChris St. Pierre2012-08-151-3/+54
|
* bcfg2-lint bug fixesChris St. Pierre2012-07-111-1/+3
|
* unified [Single]XMLFileBacked, enabled xinclude pretty much everywhereChris St. Pierre2012-06-251-3/+2
|
* made bcfg2-lint load lint plugins from server plugins where appropriateChris St. Pierre2012-06-141-0/+50
|
* Bundler: Fix genshi importSol Jerome2012-05-211-2/+2
| | | | | | | | | | | | | | Wasn't properly importing genshi previously. >>> import genshi.template.base.TemplateError Traceback (most recent call last): File "<input>", line 1, in <module> ImportError: No module named TemplateError >>> import genshi.template.base >>> genshi.template.base.TemplateError <class 'genshi.template.base.TemplateError'> Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* more fixes for missing genshiChris St. Pierre2012-05-211-18/+11
|
* merged maintChris St. Pierre2012-05-151-2/+3
|
* Allow to run directly from a git checkout (#1037)Sol Jerome2012-03-241-0/+99
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>