summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Cfg/CfgGenshiGenerator.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove blanket excepts from plugins and lintChris St. Pierre2015-02-181-4/+7
| | | | | | | | | | 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.
* Plugins: Added TemplateDataProvider plugin interfaceChris St. Pierre2013-10-301-7/+17
| | | | | | | This lets you provide variables to the top-level namespace of templates in a more seamless way than through a Connector plugin. It's mostly useful for TemplateHelper for now, but may find other uses in the future.
* Options: migrated plugins to new options parserChris St. Pierre2013-06-271-8/+11
|
* Merge branch 'maint'Chris St. Pierre2013-04-241-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Client/Client.py src/lib/Bcfg2/Client/Frame.py src/lib/Bcfg2/Client/Tools/YUM.py src/lib/Bcfg2/Options.py src/lib/Bcfg2/Server/Admin/Perf.py src/lib/Bcfg2/Server/Admin/Xcmd.py src/lib/Bcfg2/Server/Admin/__init__.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/FileMonitor/Fam.py src/lib/Bcfg2/Server/Lint/RequiredAttrs.py src/lib/Bcfg2/Server/Plugin/helpers.py src/lib/Bcfg2/Server/Plugins/Base.py src/lib/Bcfg2/Server/Plugins/Bundler.py src/lib/Bcfg2/Server/Plugins/Cfg/CfgPrivateKeyCreator.py src/lib/Bcfg2/Server/Plugins/Cvs.py src/lib/Bcfg2/Server/Plugins/Darcs.py src/lib/Bcfg2/Server/Plugins/Decisions.py src/lib/Bcfg2/Server/Plugins/FileProbes.py src/lib/Bcfg2/Server/Plugins/Fossil.py src/lib/Bcfg2/Server/Plugins/Git.py src/lib/Bcfg2/Server/Plugins/Metadata.py src/lib/Bcfg2/Server/Plugins/NagiosGen.py src/lib/Bcfg2/Server/Plugins/Packages/PackagesSources.py src/lib/Bcfg2/Server/Plugins/Packages/Source.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py src/lib/Bcfg2/Server/Plugins/Properties.py src/lib/Bcfg2/Server/Plugins/__init__.py src/lib/Bcfg2/Server/__init__.py src/sbin/bcfg2-build-reports src/sbin/bcfg2-crypt testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestMetadata.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProperties.py
| * testsuite: fixed issues found by latest version of pylintChris St. Pierre2013-03-261-1/+1
| |
* | Merge branch '1.4.x'Chris St. Pierre2013-04-231-64/+40
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: debian/bcfg2-server.install doc/server/plugins/grouping/metadata.txt src/lib/Bcfg2/Client/Client.py src/lib/Bcfg2/Client/Tools/Portage.py src/lib/Bcfg2/Client/Tools/RcUpdate.py src/lib/Bcfg2/Client/Tools/YUM24.py src/lib/Bcfg2/Client/Tools/__init__.py src/lib/Bcfg2/Client/Tools/launchd.py src/lib/Bcfg2/Options.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/Plugin/helpers.py src/lib/Bcfg2/Server/Plugins/Metadata.py src/lib/Bcfg2/Server/models.py src/lib/Bcfg2/Utils.py src/sbin/bcfg2-info src/sbin/bcfg2-test testsuite/Testsrc/Testlib/TestClient/TestTools/Test_init.py testsuite/Testsrc/test_code_checks.py
| * Merge branch 'master' into 1.4.xChris St. Pierre2013-02-201-0/+1
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/appendix/contributors.txt schemas/bundle.xsd src/lib/Bcfg2/Client/Tools/__init__.py src/lib/Bcfg2/Server/Encryption.py src/lib/Bcfg2/Server/Lint/Genshi.py src/lib/Bcfg2/Server/Plugins/Bundler.py src/lib/Bcfg2/Server/Plugins/Decisions.py src/lib/Bcfg2/Server/Plugins/TemplateHelper.py src/sbin/bcfg2-test testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Test__init.py testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIXUsers.py testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProperties.py tools/bcfg2-profile-templates.py
| * | made genshi a requirementChris St. Pierre2013-01-221-56/+32
| | |
| * | added module-level OptionParser to avoid passing it as an argument or global ↵Chris St. Pierre2013-01-171-7/+7
| | | | | | | | | | | | all over
* | | better error message when rendering a template that failed to parseChris St. Pierre2013-02-211-0/+4
| |/ |/|
* | fixed checking Genshi templates for comments (#1141)Chris St. Pierre2013-02-141-0/+1
|/
* Cfg: Revert change from 10326a34Sol Jerome2013-01-081-1/+1
| | | | | | This change broke altsrc entries. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Cfg: added creator handler to perform one-time creation of static dataChris St. Pierre2012-12-201-1/+1
|
* Cfg: Fixed bugs in Genshi error handling:Chris St. Pierre2012-11-291-11/+54
| | | | | * Find the correct frame of the stack trace if the exception is raised by something outside the template * Determine if the version of Genshi in use strips all blank lines or not to correctly locate the line of the error
* avoid odd edge case in genshi error handlingChris St. Pierre2012-11-261-3/+7
|
* Templating updates:Chris St. Pierre2012-11-191-2/+4
| | | | | | * Added "repo" variable to all template formats * Made variables available in Genshi and Cheetah template more similar * Improved docs
* Cfg: improved error messagesChris St. Pierre2012-11-131-19/+12
|
* Cfg: prevent genshi loader from caching templatesChris St. Pierre2012-11-131-4/+1
|
* assigned Cfg handlers explicit priorities to avoid over-zealous regex matchesChris St. Pierre2012-10-171-0/+4
|
* Cfg: fixed some issues with genshi error handlingChris St. Pierre2012-10-031-2/+2
|
* testsuite: added unit tests for Cfg handlersChris St. Pierre2012-10-021-3/+3
|
* run pylint for errors on almost everything, full runs on some selected stuffChris St. Pierre2012-09-251-51/+56
|
* Cfg: documented all Cfg modules, added development docsChris St. Pierre2012-09-111-8/+34
|
* Cfg: clarified genshi errorsChris St. Pierre2012-08-291-4/+5
|
* try to get details about a genshi errorChris St. Pierre2012-07-051-4/+61
|
* fixes for missing genshiChris St. Pierre2012-05-211-3/+3
|
* fixed tb when genshi is not installedChris St. Pierre2012-05-211-0/+1
|
* fixed encrypted genshi/cheetah generatorsChris St. Pierre2012-05-171-1/+3
|
* added support for validating Cfg file contents using external commandsChris St. Pierre2012-05-091-2/+2
|
* fixed more bcfg2-lint plugins for Cfg modularizationChris St. Pierre2012-05-091-0/+1
|
* fixed bcfg2-lint Deltas pluginChris St. Pierre2012-05-091-1/+1
|
* modularized CfgChris St. Pierre2012-05-081-0/+63