summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Bundler.py
Commit message (Collapse)AuthorAgeFilesLines
* Bundler: Fix addition of bundle.Alexander Sulfrian2015-09-301-1/+1
| | | | bundles is a set and does only have add() but not append().
* Bundler: Catch all exceptions in BuildStructuresChris St. Pierre2015-05-111-0/+4
| | | | | | | | This fixes a regression in 89e7afbf74ffb that made an unexpected failure in a bundle (e.g., an arbitrary exception raised by a templated bundle) prevent all subsequent bundles from being built, too. Restoring the blanket 'except' makes it so that an unexpected failure only affects the specific bundle that fails.
* Remove blanket excepts from plugins and lintChris St. Pierre2015-02-181-4/+0
| | | | | | | | | | This removes most blanket except: clauses from all plugins, including the base plugin libraries, and bcfg2-lint. The few that remain should all be necessary. Most of the changes were quite minor, but this did require some restructuring of the CfgPrivateKeyCreator; as a result, the tests for that module were rewritten.
* Bundler: modification is now the boolean inherit_modificationAlexander Sulfrian2014-11-251-3/+4
|
* Bundler: add modification support to Bundle dependenciesAlexander Sulfrian2014-11-251-4/+23
| | | | | | Bundle dependencies are now realized with RequiredBundle and support inheritance of the modification flag. This requires new client support and will only work with clients >= 1.4.0pre2.
* Bundler: added path globbingChris St. Pierre2014-02-261-16/+28
|
* Plugins: refactored out unnecessary datastore constructor argumentChris St. Pierre2013-10-291-2/+2
|
* Merge branch 'maint'Chris St. Pierre2013-09-041-5/+0
|\ | | | | | | | | | | | | | | | | | | Conflicts: doc/client/tools/actions.txt schemas/authorizedkeys.xsd src/lib/Bcfg2/Client/Frame.py src/lib/Bcfg2/Server/Plugin/helpers.py src/lib/Bcfg2/Server/Plugins/Bundler.py testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py
| * 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.
* | Options: migrated plugins to new options parserChris St. Pierre2013-06-271-55/+1
| |
* | fixed unit testsChris St. Pierre2013-05-201-1/+1
| |
* | Merge branch 'maint'Chris St. Pierre2013-05-171-3/+4
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/appendix/guides/centos.txt doc/server/plugins/grouping/metadata.txt setup.py src/lib/Bcfg2/Client/Frame.py src/lib/Bcfg2/Client/Proxy.py src/lib/Bcfg2/Server/Lint/Genshi.py src/lib/Bcfg2/Server/Lint/Validate.py src/lib/Bcfg2/Server/Plugins/Bundler.py src/lib/Bcfg2/Server/Plugins/SSHbase.py src/sbin/bcfg2-lint
| * 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
| |
* | Bundler: added support for independent bundlesChris St. Pierre2013-02-081-0/+4
| |
* | Bundler: improved XInclude support, added inter-bundle dependenciesChris St. Pierre2013-02-081-9/+46
| |
* | Bundler: various changesChris St. Pierre2013-02-041-39/+62
| | | | | | | | | | | | | | * Deprecated use of an explicit name attribute * Deprecated .genshi bundles * Minor restructuring for better performance * bcfg2-lint updates
* | added genshi support to StructFileChris St. Pierre2013-02-041-91/+5
| |
* | made genshi a requirementChris St. Pierre2013-01-221-88/+61
| |
* | fixed unit testsChris St. Pierre2013-01-171-18/+16
| |
* | added a module-level FAM object to avoid passing it as an argument a billion ↵Chris St. Pierre2013-01-171-4/+2
| | | | | | | | times
* | removed deprecated plugins: TGenshi, TCheetah, Account, Hostbase, Snapshots, ↵Chris St. Pierre2013-01-171-18/+48
| | | | | | | | Statistics, Editor
* | added module-level OptionParser to avoid passing it as an argument or global ↵Chris St. Pierre2013-01-171-12/+7
|/ | | | all over
* 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>