summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Tweaks to init script start/stop order and runlevelsJohn Morris2012-09-092-2/+2
| | | | | | | | | | Change init scripts for both client and server: - Don't run in runlevel 2; autofs and others are disabled there - Start service much later, closer to httpd, after autofs has started - Stop service much sooner, near same services as start (cherry picked from commit c8e464d6cf0a5e099a9e6d41e943447db26ed8b9) Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* doc: Fix build_sphinxSol Jerome2012-09-091-1/+2
| | | | | | | | This allows one to prepend to the sys.path since the machine where you are building the documentation may have the Bcfg2 client (not server) installed. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Hostbase: Remove unkept test environmentSol Jerome2012-09-094-68/+0
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* setup.py: Add sqlalchemy to tests_requireSol Jerome2012-09-081-4/+4
| | | | | | This helps get us closer to a successfuly setup.py test run. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* setup.py: Add mock to tests_require for setup.pySol Jerome2012-09-071-0/+1
| | | | | | | This allows one to run the tests without having to install the dependencies separately. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* doc: Add sphinx configuration for module importsSol Jerome2012-09-071-1/+1
| | | | | | | | I still need to figure out how to get things to work when certain modules (e.g. lxml) are unavailable, but this should at prevent one from having to fully install the bcfg2 server prior to building the documentation. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* removed debugging statementChris St. Pierre2012-09-071-1/+0
|
* unittests: define assertNotRegexpMatches separately from assertRegexpMatchesChris St. Pierre2012-09-071-0/+5
|
* unittests: add regex assertions to the Bcfg2TestCase base object as necessaryChris St. Pierre2012-09-071-78/+72
|
* testsuite: fixed patchIf() for intermediate versions of mockChris St. Pierre2012-09-071-32/+19
|
* testsuite: fixed syncdb for Django 1.4Chris St. Pierre2012-09-071-3/+3
|
* setup.py: Integrate tests with setuptoolsSol Jerome2012-09-071-0/+2
| | | | | | | This allows you to run the testsuite by simply doing a `python setup.py test` from the project directory. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* gentoo: Add python-daemon dependencySol Jerome2012-09-071-0/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* testsuite: fixed patch scoping issues in py3kChris St. Pierre2012-09-074-130/+164
|
* fixed unit tests for fixed Probes cache expirationChris St. Pierre2012-09-061-1/+1
|
* fixed Plugin auto-name magicChris St. Pierre2012-09-061-1/+13
|
* added link to Travis-CI builds in unit-testing docsChris St. Pierre2012-09-061-0/+3
|
* added versioning doc to development TOCChris St. Pierre2012-09-061-0/+1
|
* added docs about cache invalidationChris St. Pierre2012-09-062-6/+52
|
* Documented all plugin helper objectsChris St. Pierre2012-09-068-134/+675
|
* split up mammoth Plugin.pyChris St. Pierre2012-09-0611-1259/+1257
|
* documented base plugin interfacesChris St. Pierre2012-09-067-326/+575
|
* improving plugin development docsChris St. Pierre2012-09-067-80/+183
|
* added server-side client metadata object cachingChris St. Pierre2012-09-0515-39/+214
|
* fixed FileMonitor stringificationChris St. Pierre2012-09-052-2/+7
|
* fixed some of our unittest convenience methodsChris St. Pierre2012-09-051-2/+8
|
* made CherryPyCore honor listen_allChris St. Pierre2012-09-051-1/+2
|
* fixed cherrypy daemonizationChris St. Pierre2012-09-051-20/+26
|
* added python-daemon requiresChris St. Pierre2012-09-053-1/+7
|
* updated various scripts/components to reflect updated Core invocation for ↵Chris St. Pierre2012-09-055-30/+12
| | | | thread-safety
* removed bcfg2-export-config, which relied on an older Core object ↵Chris St. Pierre2012-09-052-159/+0
| | | | instantiation and could not trivially be ported to 1.3
* Core: fixed threading issues preventing successful daemonization of builtin coreChris St. Pierre2012-09-044-46/+75
|
* fixed syslog reconnection messageChris St. Pierre2012-09-041-5/+9
|
* added assertRegexpMatches to Bcfg2TestCase for compatChris St. Pierre2012-09-041-1/+12
|
* require python-sphinx >= 1.0 across the board (for the other specfile now, too)Chris St. Pierre2012-09-041-5/+5
|
* require python-sphinx >= 1.0 across the boardChris St. Pierre2012-09-041-4/+4
|
* for some reason we suddenly need to explicitly set ignore when testing INode ↵Chris St. Pierre2012-09-041-0/+1
| | | | objects
* fixed up tools documentation, added tests for tools docoChris St. Pierre2012-09-046-133/+144
|
* reorganized testsuite to allow tests on stuff outside of srcChris St. Pierre2012-09-0421-0/+0
|
* Metadata: fixed category suppression, warnings about category suppressionChris St. Pierre2012-09-041-23/+25
|
* added POSIX/Symlink.py unit tests for relative symlinksChris St. Pierre2012-09-041-0/+18
|
* fully process decision lists and pre- actions in dryrun mode (#1052)Chris St. Pierre2012-09-041-1/+1
|
* redhat init scripts: Update to be more like the debian scriptsJohn Morris2012-09-032-43/+28
| | | | | | | | | | | | | | Fixing this script for RedHat; its advantage over the Debian script is the dependency on lsb drags in quite a number of extra, otherwise- unneeded packages. - Remove agent functions from bcfg2.init - Add success || failure messages - Include options from /etc/sysconfig/bcfg2* - Other snippets from debian script (cherry picked from commit 4034d6e503f1543223355f7aceb6aefd933fabb3) Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Options.py: Preserve config file option name caseJohn Morris2012-09-031-0/+5
| | | | | | | | | | | | | | | | | | | | | See this link: http://docs.python.org/library/configparser.html#ConfigParser.RawConfigParser.optionxform By default, RawConfigParser squashes option names to lower case. The ZBCA plugin, before plugin configuration was moved from data directories to /etc/bcfg2.conf, relied on option name case to be preserved because X509v3 extension names use mixed case. Moving the ZBCA config into bcfg2.conf breaks the plugin because pyOpenSSL no longer recognizes the extension names. This patch causes RawConfigParser to preserve option name case. This is anticipated to break things if users have placed upper-case characters in config file option names. (cherry picked from commit 043706ab10034461f64a53060d8ba54f278c2e0c) Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* settings: Fix django webapp for 1.4 (#1121)Sol Jerome2012-09-031-2/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bcfg2.spec: Fix django dep on OpenSUSE (#1124)Christopher 'm4z' Holm2012-09-031-1/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Fix bashisms in cron jobs.Andy Brody2012-09-022-6/+6
| | | | http://mywiki.wooledge.org/Bashism
* testsuite: Fix Path type='device' testsSol Jerome2012-09-021-4/+4
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* POSIX/Device: Change perms back to modeSol Jerome2012-09-023-2/+5
| | | | | | | | Change our terminology to match that used by MKNOD(1). This makes the client tool behave as it did previously. Also, add 'mode' to the schema to make `bcfg2-lint` happy. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bcfg2-lint: fix terminal text wrapping (from John Morris)Chris St. Pierre2012-09-011-3/+3
|