summaryrefslogtreecommitdiffstats
path: root/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestCfg/Test_init.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove blanket excepts from plugins and lintChris St. Pierre2015-02-181-1/+1
| | | | | | | | | | 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.
* Merge branch 'maint'Chris St. Pierre2013-09-091-5/+7
|\ | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Server/Plugins/Cfg/CfgAuthorizedKeysGenerator.py src/lib/Bcfg2/Server/Plugins/Cfg/__init__.py testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIXUsers.py
| * Cfg: Give non-specific handlers a default specificityChris St. Pierre2013-09-091-5/+7
| |
* | testsuite: fixed unit tests for new SSLCA stuffChris St. Pierre2013-08-131-47/+29
| |
* | Rewrote SSLCA as Cfg handler.Chris St. Pierre2013-08-131-2/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds encryption support to SSL key creation (much like SSH private keys), and the ability to generate keys and certs that are specific to groups, instead of just to hosts. It also moves the SSLCA data (the XML files describing keys and certs as well as the keys and certs themselves) into the Cfg tree, rather than off in their own separate place. tools/upgrade/1.4/migrate_sslca.py can be used to migrate to the new format. This also adds XMLCfgCreator, a CfgCreator that makes it easier to create data based on XML descriptions of it (which is exactly what the SSH key and SSL CA creators do), including built-in support for host- and group-specific data, encryption, and so on.
* | testsuite: fixed unit tests for server pluginsChris St. Pierre2013-08-091-67/+33
| |
* | Merge branch 'maint'Chris St. Pierre2013-06-271-26/+27
|\| | | | | | | | | | | | | | | | | Conflicts: doc/server/plugins/generators/cfg.txt doc/server/plugins/generators/tcheetah.txt src/lib/Bcfg2/Server/Admin/Xcmd.py src/lib/Bcfg2/Server/Plugins/Cfg/__init__.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py
| * Cfg: Fixed and documented .cat and .diff file behavior with host-specific ↵Chris St. Pierre2013-06-141-7/+9
| | | | | | | | base file
| * fixed unit testsChris St. Pierre2013-06-031-19/+18
| |
* | converted InfoXML objects from XMLSrc to StructFileChris St. Pierre2013-02-061-38/+20
| |
* | added module-level OptionParser to avoid passing it as an argument or global ↵Chris St. Pierre2013-01-171-17/+24
|/ | | | all over
* Cfg: handle filenames with regex special characters properlyChris St. Pierre2013-01-071-0/+1
|
* Cfg: Added feature to provide generation of SSH keys, authorized_keys fileChris St. Pierre2013-01-031-21/+40
|
* Cfg: added creator handler to perform one-time creation of static dataChris St. Pierre2012-12-201-1/+99
|
* fixed test that was "broken" when assertXMLEqual was fixedChris St. Pierre2012-12-031-4/+4
|
* testsuite: fixed assertXMLEqual comparison of XML attribute valuesChris St. Pierre2012-12-031-2/+2
|
* assigned Cfg handlers explicit priorities to avoid over-zealous regex matchesChris St. Pierre2012-10-171-5/+0
|
* testsuite: Fix more 'mode' testsSol Jerome2012-10-151-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* wrote more detailed unit testing documentationChris St. Pierre2012-10-051-3/+1
|
* Cfg: fixed regexes for handling and ignoring files with different Cfg handlersChris St. Pierre2012-10-031-55/+15
|
* testsuite: added unit tests for Cfg handlersChris St. Pierre2012-10-021-34/+42
|
* testsuite: unit tests for Cfg plugin and base handlersChris St. Pierre2012-10-021-0/+720