Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Augeas improvements: | Chris St. Pierre | 2013-12-11 | 1 | -26/+23 |
| | | | | | | | | | | | | | * Added ability to specify initial content for a file that doesn't exist, to avoid a messy situation where you'd have to probe for file existence and either use a Path type="file" or Path type="augeas" depending, and run Bcfg2 twice. * All commands in an Augeas path are run if *any* of them fail to verify. Previously, only commands that hadn't been run would be installed, but that had issues, particularly with the Clear command, which could pass verification but then be required during the installation phase anyway. * Miscellaneous bug fixes. | ||||
* | testsuite: made pylint tests at least kinda work with pylint 1.0 | Chris St. Pierre | 2013-12-09 | 1 | -8/+22 |
| | | | | | | | They still don't pass, partially due to what appear to be bugs in pylint and partially due to a few new things that pylint is checking for in 1.0, but we don't use pylint 1.0 in travis-ci so i'm not terribly worried about that right now. | ||||
* | XMLSrc: Load XML in one step instead of separate read and parse | Chris St. Pierre | 2013-12-09 | 1 | -10/+10 |
| | |||||
* | Cfg: let EncryptedGenerator load setup object whenever the plugin is imported | Chris St. Pierre | 2013-12-09 | 1 | -3/+5 |
| | | | | | | | Previously, if CfgEncryptedGenerator was imported before the Cfg object was instantiated, it would finalize the Bcfg2.Server.Plugins.Cfg.SETUP object with a value of None, and would be unable to access the options dict. | ||||
* | testsuite: fixed local implementation of assertItemsEqual | Chris St. Pierre | 2013-12-05 | 1 | -2/+5 |
| | |||||
* | Augeas: Only install unverified commands | Chris St. Pierre | 2013-12-05 | 1 | -7/+24 |
| | |||||
* | testsuite: install (most) optional dependencies correctly for travis-ci | Chris St. Pierre | 2013-12-05 | 2 | -5/+9 |
| | | | | Still can't get the python selinux libs to install | ||||
* | testsuite: fixed Augeas unit tests in travis-ci | Chris St. Pierre | 2013-12-05 | 2 | -185/+185 |
| | |||||
* | Tools: new Augeas driver | Chris St. Pierre | 2013-12-05 | 2 | -17/+269 |
| | |||||
* | testsuite: fixed DatabaseBacked default Core object | Chris St. Pierre | 2013-11-25 | 1 | -1/+1 |
| | |||||
* | testsuite: make DatabaseBacked tests work without django installed | Chris St. Pierre | 2013-11-25 | 1 | -0/+8 |
| | |||||
* | testsuite: fixed unit tests for database fixes | Chris St. Pierre | 2013-11-25 | 1 | -2/+3 |
| | |||||
* | testsuite: removed py2.5 from travis tests, no longer supported | Chris St. Pierre | 2013-11-25 | 1 | -13/+1 |
| | | | | http://about.travis-ci.org/blog/2013-11-18-upcoming-build-environment-updates/ | ||||
* | testsuite: fixed unit tests for Probes allowed_groups option | Chris St. Pierre | 2013-11-14 | 1 | -1/+35 |
| | |||||
* | testsuite: remove duplicate django installation | Chris St. Pierre | 2013-10-28 | 1 | -1/+1 |
| | |||||
* | testsuite: install django 1.4.8 when testing py 2.5 | Chris St. Pierre | 2013-10-28 | 1 | -1/+3 |
| | |||||
* | Tests: Fix tests after 9a6a231 | Michael Fenn | 2013-10-04 | 1 | -1/+6 |
| | | | | | | | | The addition of the call to load_xml in 9a6a231 causes the test to fail because load_xml() expects to read a clients.xml file. The actual actual open calls in write_xml are dummied out with Mock, so no file is written, and thus cannot be read back. This commit dummies out the load_xml and adds some more asserts for good measure. | ||||
* | testsuite: install boto with optional dependencies | Chris St. Pierre | 2013-09-26 | 1 | -1/+1 |
| | |||||
* | New plugin: AWSTags | Chris St. Pierre | 2013-09-26 | 1 | -0/+140 |
| | | | | | AWSTags allows querying tags from EC2, and setting groups based on the tag names or values. | ||||
* | testsuite: Fixed CfgPublicKeyCreator tests | Chris St. Pierre | 2013-09-16 | 1 | -6/+5 |
| | | | | | | Instead of mocking get_filename, use its normal functionality. This avoids a messy situation where we have to mock out a **magic call, which py2.5 doesn't like at all. | ||||
* | CfgPublicKeyCreator: properly handle case where only private key has been ↵ | Chris St. Pierre | 2013-09-16 | 2 | -32/+93 |
| | | | | | | | | | created Previously, only two cases were handled properly: both public and private keys had been created; or neither had been created. If the private key had been created (e.g., manually added to the repo), the public key would not be created from it. This fixes that. | ||||
* | testsuite: add "encoding" to setup for POSIXUsers tests | Chris St. Pierre | 2013-09-09 | 1 | -1/+8 |
| | |||||
* | Cfg: Give non-specific handlers a default specificity | Chris St. Pierre | 2013-09-09 | 1 | -5/+7 |
| | |||||
* | XMLFileBacked: Monitor XIncludes whenever a FAM is available | Chris St. Pierre | 2013-09-04 | 1 | -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. | ||||
* | POSIX: fixed unit tests for 1f0fa73 | Chris St. Pierre | 2013-08-28 | 1 | -5/+6 |
| | |||||
* | Metadata: search groups breadth-first when building metadata | Chris St. Pierre | 2013-08-15 | 1 | -10/+7 |
| | | | | | This makes category negation consistent, and also makes it work like it did in Bcfg2 1.2 | ||||
* | testsuite: perform pylint tests against MultiprocessingCore when appropriate | Chris St. Pierre | 2013-08-08 | 1 | -1/+1 |
| | |||||
* | testsuite: install pylint < 1.0, which still has some bugs | Chris St. Pierre | 2013-08-07 | 1 | -1/+1 |
| | |||||
* | Plugin: fixed tests on Debuggable.set_debug | Chris St. Pierre | 2013-08-07 | 1 | -5/+0 |
| | |||||
* | Get profile by building metadata instead of guessing | Michael Fenn | 2013-08-06 | 1 | -0/+3 |
| | | | | | | Rather than doing some ad-hoc lookups of internal data structures stpierre suggested that it'd be better to use the normal metadata build procedures. This implements that and adjusts the tests. | ||||
* | Adjust test | Michael Fenn | 2013-08-05 | 1 | -1/+1 |
| | | | | Don't need to check write() because update_client() calls it | ||||
* | Probes: fixed unit test | Chris St. Pierre | 2013-08-05 | 1 | -1/+1 |
| | |||||
* | testsuite: Fix output for python3 | Sol Jerome | 2013-07-31 | 2 | -4/+4 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | testsuite: skip pylint checks on MultiprocessingCore on py2.5 | Chris St. Pierre | 2013-07-30 | 1 | -1/+3 |
| | |||||
* | Adjust unit test | Michael Fenn | 2013-07-25 | 1 | -1/+1 |
| | |||||
* | POSIXUsers: updated tests for removal of -m | Chris St. Pierre | 2013-07-16 | 1 | -3/+3 |
| | |||||
* | TestMetadata: Update tests for resolve_client | Sol Jerome | 2013-06-27 | 1 | -25/+25 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | pylint: added MultipleObjectsReturned to auto-generated members for Django | Chris St. Pierre | 2013-06-14 | 1 | -1/+1 |
| | |||||
* | Cfg: Fixed and documented .cat and .diff file behavior with host-specific ↵ | Chris St. Pierre | 2013-06-14 | 1 | -7/+9 |
| | | | | base file | ||||
* | testsuite: *really* fixed tests for a03fde3ea32d3eb2cadb443454749111dda1797f | Chris St. Pierre | 2013-06-13 | 1 | -1/+1 |
| | |||||
* | testsuite: fixed tests for a03fde3ea32d3eb2cadb443454749111dda1797f | Chris St. Pierre | 2013-06-13 | 1 | -18/+19 |
| | |||||
* | testsuite: Fix tests for python 3 | Sol Jerome | 2013-06-08 | 1 | -1/+1 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | fixed unit tests | Chris St. Pierre | 2013-06-03 | 1 | -19/+18 |
| | |||||
* | testsuite: install older South for python 2.4 compat | Chris St. Pierre | 2013-05-23 | 1 | -1/+1 |
| | |||||
* | POSIX: fix directory pruning | Chris St. Pierre | 2013-05-21 | 1 | -3/+3 |
| | |||||
* | POSIXUsers: allow better <MemberOf group="foo"/> syntax | Chris St. Pierre | 2013-05-07 | 1 | -6/+3 |
| | |||||
* | File: handle Path type="file" entries with no text content even if empty is ↵ | Chris St. Pierre | 2013-04-05 | 1 | -0/+8 |
| | | | | not set | ||||
* | testsuite: fixed Probes test that uses version information | Chris St. Pierre | 2013-04-02 | 1 | -2/+3 |
| | |||||
* | Statistics: wrote unit tests | Chris St. Pierre | 2013-03-29 | 1 | -0/+44 |
| | |||||
* | testsuite: fixed unit tests | Chris St. Pierre | 2013-03-28 | 1 | -16/+10 |
| |