summaryrefslogtreecommitdiffstats
path: root/testsuite/Testsrc/Testlib/TestServer/TestPlugin
Commit message (Collapse)AuthorAgeFilesLines
* testsuite: Only sync the database once per TestCaseAlexander Sulfrian2016-09-051-0/+10
|
* testsuite: Added unit tests for new option parsingChris St. Pierre2014-11-102-0/+2
|
* testsuite: add test for InfoXML matching for altsrc entriesAlexander Sulfrian2014-10-141-0/+19
|
* Merge branch 'maint'Chris St. Pierre2014-04-251-20/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: misc/bcfg2.spec src/lib/Bcfg2/Client/Client.py src/lib/Bcfg2/Client/Tools/APK.py src/lib/Bcfg2/Client/Tools/MacPorts.py src/lib/Bcfg2/Client/Tools/Pacman.py src/lib/Bcfg2/Client/Tools/YUM.py src/lib/Bcfg2/Server/Admin/Minestruct.py src/lib/Bcfg2/Server/Admin/Pull.py src/lib/Bcfg2/Server/Admin/Viz.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/Plugins/Cfg/CfgEncryptedGenerator.py src/lib/Bcfg2/Server/Plugins/Cfg/CfgPrivateKeyCreator.py src/lib/Bcfg2/Server/Plugins/Properties.py src/lib/Bcfg2/settings.py src/sbin/bcfg2-crypt src/sbin/bcfg2-info src/sbin/bcfg2-lint src/sbin/bcfg2-yum-helper testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestCfg/TestCfgEncryptedGenerator.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProperties.py
* | Merge branch 'maint'Chris St. Pierre2013-12-091-1/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/appendix/guides/fedora.txt misc/bcfg2.spec schemas/types.xsd src/lib/Bcfg2/Encryption.py src/lib/Bcfg2/Options.py src/lib/Bcfg2/Server/Admin/Client.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/Lint/Validate.py src/lib/Bcfg2/Server/Plugin/helpers.py src/lib/Bcfg2/Server/Plugins/Bundler.py src/lib/Bcfg2/Server/Plugins/Cfg/CfgEncryptedGenerator.py src/lib/Bcfg2/Server/Plugins/Probes.py src/sbin/bcfg2-crypt testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestCfg/TestCfgEncryptedGenerator.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py testsuite/common.py testsuite/install.sh
| * XMLSrc: Load XML in one step instead of separate read and parseChris St. Pierre2013-12-091-10/+10
| |
| * testsuite: fixed DatabaseBacked default Core objectChris St. Pierre2013-11-251-1/+1
| |
| * testsuite: make DatabaseBacked tests work without django installedChris St. Pierre2013-11-251-0/+8
| |
| * testsuite: fixed unit tests for database fixesChris St. Pierre2013-11-251-2/+3
| |
| * XMLFileBacked: Monitor XIncludes whenever a FAM is availableChris St. Pierre2013-09-041-11/+3
| | | | | | | | | | | | | | | | | | | | 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.
* | Plugins: refactored out unnecessary datastore constructor argumentChris St. Pierre2013-10-293-5/+4
| |
* | XMLFileBacked: always watch xincludesChris St. Pierre2013-08-301-13/+5
| | | | | | | | | | | | | | | | | | In Bcfg2 1.3, XInclude'd files only got FAM watches if the parent file was monitoring itself, and it got a FAM object passed to it. This led to some ugly workarounds, and bugs -- you couldn't easily use XInclude in Properties or Bundler, for instance, and have changes recognized. Since FAM objects are now module-level, we can always monitor XInclude'd files.
* | PrioDir: Fixed event handlerChris St. Pierre2013-08-141-7/+14
| |
* | testsuite: fixed unit tests for new SSLCA stuffChris St. Pierre2013-08-131-6/+8
| |
* | Rewrote SSLCA as Cfg handler.Chris St. Pierre2013-08-131-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-092-16/+50
| |
* | testsuite: Fixed base plugin testsChris St. Pierre2013-08-092-87/+37
| |
* | Merge branch 'maint'Chris St. Pierre2013-08-081-5/+0
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/appendix/files/mysql.txt doc/getting_started/index.txt doc/server/plugins/structures/bundler/kernel.txt src/lib/Bcfg2/Server/MultiprocessingCore.py src/lib/Bcfg2/Server/Plugin/interfaces.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py src/lib/Bcfg2/Server/Plugins/Probes.py src/lib/Bcfg2/Server/Plugins/SSHbase.py
| * Plugin: fixed tests on Debuggable.set_debugChris St. Pierre2013-08-071-5/+0
| |
* | Merge branch 'maint'Chris St. Pierre2013-06-271-18/+19
|\| | | | | | | | | | | | | | | | | 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
| * testsuite: *really* fixed tests for a03fde3ea32d3eb2cadb443454749111dda1797fChris St. Pierre2013-06-131-1/+1
| |
| * testsuite: fixed tests for a03fde3ea32d3eb2cadb443454749111dda1797fChris St. Pierre2013-06-131-18/+19
| |
* | Replaced XMLSrc with StructFileChris St. Pierre2013-05-201-289/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | XMLSrc and StructFile were very different implementations of basically the same thing. StructFile has gotten lots and lots of improvements, while XMLSrc, with its wonky, unintuitive interface, has floundered. This replaces XMLSrc with StructFile (nearly) everywhere, and rebases everything that inherited from XMLSrc with StructFile. XMLSrc lives on somewhat in the Pkgmgr plugin's PNode and PkgSrc objects, where originally inherited from the XMLSrc and INode objects but are now the only implementation of that older interface. Pkgmgr was left as-is because a) it's a little-used plugin; b) it's in need of a rewrite anyway; and c) it has deep, deep hooks into the guts of XMLSrc and INode, and rewriting it with StructFile was deeply nontrivial.
* | Merge branch 'maint'Chris St. Pierre2013-04-243-29/+65
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 unit testsChris St. Pierre2013-03-281-16/+10
| |
| * testsuite: fixed more unit test stuffChris St. Pierre2013-03-261-1/+0
| |
| * fixed regex errors introduced by 6c996f42c53a36fc0406f836d64b8c1bec6f4bccChris St. Pierre2013-03-261-1/+2
| |
| * Handle FAM monitor failures more gracefully:Chris St. Pierre2013-03-253-19/+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.
| * added support for wildcard XInclude in XMLFileBackedChris St. Pierre2013-02-141-16/+37
| |
| * fixed StructFile Match() unit testChris St. Pierre2013-02-041-2/+2
| |
* | added support for wildcard XInclude in XMLFileBackedChris St. Pierre2013-02-141-16/+37
| |
* | Added client ACLs:Chris St. Pierre2013-02-122-53/+126
| | | | | | | | | | | | | | * IP and CIDR-based ACLs * Metadata (group/hostname)-based ACLs * Documentation * Unit tests
* | made XInlcude and Encryption support more consistentChris St. Pierre2013-02-071-4/+0
| |
* | converted InfoXML objects from XMLSrc to StructFileChris St. Pierre2013-02-061-171/+141
| |
* | moved some libraries in Bcfg2/ into more specific (Server/ or Client/) placesChris St. Pierre2013-02-051-4/+4
| |
* | added genshi support to StructFileChris St. Pierre2013-02-041-38/+80
| |
* | made genshi a requirementChris St. Pierre2013-01-221-0/+10
| |
* | fixed unit testsChris St. Pierre2013-01-171-6/+1
| |
* | fixed unit testsChris St. Pierre2013-01-171-31/+23
| |
* | removed support for info/:info filesChris St. Pierre2013-01-171-41/+14
| |
* | abstracted encryption support from Properties/CfgPrivateKeyCreator to StructFileChris St. Pierre2013-01-171-1/+108
| |
* | added module-level OptionParser to avoid passing it as an argument or global ↵Chris St. Pierre2013-01-171-5/+7
|/ | | | all over
* Cfg: Added feature to provide generation of SSH keys, authorized_keys fileChris St. Pierre2013-01-031-26/+25
|
* added unit tests for GroupPatternsChris St. Pierre2012-12-181-17/+30
|
* added unit tests for Rules and DefaultsChris St. Pierre2012-12-181-2/+12
|
* Threaded plugin fixes:Chris St. Pierre2012-11-271-4/+19
| | | | | | | * 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-192-4/+7
|
* fixed tests for set_debugChris St. Pierre2012-11-162-14/+19
|
* cleaned up Templatehelper to help avoid some event handling errorsChris St. Pierre2012-11-161-36/+37
|
* fixed some POSIX unit testsChris St. Pierre2012-10-301-4/+6
|