Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | testsuite: fixed Probes test that uses version information | Chris St. Pierre | 2013-04-02 | 1 | -2/+3 |
| | |||||
* | fix bogus bundle_quick option handling in bcfg2_local.py | Chris St. Pierre | 2013-04-02 | 1 | -1/+2 |
| | |||||
* | Promote bcfg2-info to have it's own Options dict | Michael Fenn | 2013-04-01 | 2 | -2/+5 |
| | | | | | | | | | | Turns out that CLIENT_COMMON_OPTIONS and SERVER_COMMON_OPTIONS conflict. Adding ppath and max_copies (turns out the latter is also necessary) to the bcfg2-info code directly seemed like a maintenance problem waiting to happen, so I factored that out into a new INFO_COMMON_OPTIONS dict. That will keep any options parsing special cases out of the bcfg2-info code hopefully be more maintainable going forward. | ||||
* | Added option to periodically dump performance stats to logs | Chris St. Pierre | 2013-03-29 | 2 | -2/+35 |
| | |||||
* | Frame: log modified bundles, fix error message | Chris St. Pierre | 2013-03-29 | 1 | -6/+9 |
| | |||||
* | Statistics: wrote unit tests | Chris St. Pierre | 2013-03-29 | 2 | -2/+46 |
| | |||||
* | Probes: fixed long lines | Chris St. Pierre | 2013-03-29 | 1 | -8/+9 |
| | |||||
* | remove some unnecessary __all__ variables | Chris St. Pierre | 2013-03-29 | 3 | -7/+3 |
| | |||||
* | fixed pep8 stuff in yum tool | Chris St. Pierre | 2013-03-29 | 1 | -45/+48 |
| | |||||
* | Statistics: fixed calculation of average time | Chris St. Pierre | 2013-03-29 | 1 | -1/+6 |
| | |||||
* | Probes: Handle unicode probes | Sol Jerome | 2013-03-29 | 2 | -8/+18 |
| | | | | | | | | There is no good way of sending unicode probes to older clients which do not have support for them. This change will cause unicode probes to be skipped for unsupported clients and handled properly for new clients. Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Change generated APT sources default to someplace APT will actually look, ↵ | Phil Miller | 2013-03-28 | 2 | -21/+21 |
| | | | | and avoid potential name conflicts there | ||||
* | GroupLogic: added docstrings | Chris St. Pierre | 2013-03-28 | 2 | -0/+11 |
| | |||||
* | testsuite: fixed unit tests | Chris St. Pierre | 2013-03-28 | 2 | -17/+15 |
| | |||||
* | XMLFileBacked: fixed deprecated logic when create is lxml.etree._Element object | Chris St. Pierre | 2013-03-28 | 1 | -2/+2 |
| | |||||
* | doc: fixed typos | Chris St. Pierre | 2013-03-28 | 1 | -9/+8 |
| | |||||
* | new GroupLogic plugin | Chris St. Pierre | 2013-03-28 | 4 | -1/+273 |
| | |||||
* | bcfg2-lint: ensure all XML properties files are parseable | Chris St. Pierre | 2013-03-28 | 1 | -9/+13 |
| | |||||
* | Pass through retval from start, stop, status, etc. | Michael Fenn | 2013-03-28 | 6 | -10/+33 |
| | | | | | | | | | | | | | | | | | | The various init scripts have the usual start, stop, and status functions which are called from a case statement. The functions even nicely return various values for success and failure. Unfortunately, those values were not passed all the way back to the calling shell. Previously, the init scripts would return 0 if any of start, stop, or status failed. This commit ensures that they they pass the return value back to the caller. Why does this matter? Well, beyond just being generally good citizens, bcfg2's own chkconfig client tool expects stopped services to return a non-zero exit code when their status function is called. Otherwise it flags the service state as incorrect and tries to stop it on every run. | ||||
* | bcfg2_local.py: remove duplicate -Q options | Chris St. Pierre | 2013-03-28 | 1 | -0/+5 |
| | |||||
* | testsuite: fix more tests | Chris St. Pierre | 2013-03-27 | 1 | -0/+2 |
| | |||||
* | testsuite: install python-daemon last so pylint/pep8 tests are run on py3k | Chris St. Pierre | 2013-03-27 | 1 | -1/+1 |
| | |||||
* | Metadata: create clients when version is declared (if necessary) | Chris St. Pierre | 2013-03-27 | 1 | -20/+14 |
| | |||||
* | skip Compat plugins for anything >= 1.3.0, not > | Chris St. Pierre | 2013-03-27 | 2 | -2/+2 |
| | |||||
* | XMLFileBacked: track FAM monitors separately from processed xincludes to ↵ | Chris St. Pierre | 2013-03-27 | 1 | -2/+8 |
| | | | | avoid infinite loop with pseudo FAM | ||||
* | Inotify: use correct logger | Chris St. Pierre | 2013-03-27 | 1 | -5/+3 |
| | |||||
* | Compat: Fix traceback | Sol Jerome | 2013-03-27 | 1 | -1/+1 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | testsuite: more test fixes | Chris St. Pierre | 2013-03-26 | 2 | -2/+2 |
| | |||||
* | testsuite: more text fixes | Chris St. Pierre | 2013-03-26 | 12 | -14/+32 |
| | |||||
* | testsuite: fixed more unit test stuff | Chris St. Pierre | 2013-03-26 | 13 | -22/+41 |
| | |||||
* | Probes: fixed unit tests for new use of lxml.etree._ElementTree.write ↵ | Chris St. Pierre | 2013-03-26 | 1 | -60/+118 |
| | | | | instead of open().write() | ||||
* | fixed regex errors introduced by 6c996f42c53a36fc0406f836d64b8c1bec6f4bcc | Chris St. Pierre | 2013-03-26 | 4 | -7/+8 |
| | |||||
* | testsuite: can't disable pylint R0924, since it doesn't exist on older ↵ | Chris St. Pierre | 2013-03-26 | 4 | -6/+25 |
| | | | | pylint and pylint barfs | ||||
* | Plugin: use appropriate loggers for Debuggable helper objects | Chris St. Pierre | 2013-03-26 | 1 | -34/+35 |
| | |||||
* | testsuite: fixed issues found by latest version of pylint | Chris St. Pierre | 2013-03-26 | 26 | -111/+74 |
| | |||||
* | testsuite: fixed issues found by latest version of pep8 | Chris St. Pierre | 2013-03-26 | 50 | -217/+202 |
| | |||||
* | Metadata: fixed setting default group when appropriate | Chris St. Pierre | 2013-03-26 | 1 | -32/+36 |
| | |||||
* | travis-ci: install django < 1.5 for tests | Chris St. Pierre | 2013-03-26 | 1 | -1/+1 |
| | |||||
* | travis-ci: fixed dangling if in install.sh | Chris St. Pierre | 2013-03-26 | 1 | -0/+1 |
| | |||||
* | Metadata: apply default group consistently on first and subsequent client runs | Chris St. Pierre | 2013-03-26 | 1 | -0/+5 |
| | |||||
* | bcfg2-lint: only check clients.xml things if clients.xml is in use | Chris St. Pierre | 2013-03-26 | 1 | -0/+9 |
| | |||||
* | bcfg2-lint: added check to ensure that default group is a profile group | Chris St. Pierre | 2013-03-26 | 1 | -1/+13 |
| | |||||
* | Metadata: better stringification of ClientMetadata objects for debugging | Chris St. Pierre | 2013-03-26 | 1 | -0/+5 |
| | |||||
* | travis-ci: start running py3k tests with some optional deps | Chris St. Pierre | 2013-03-25 | 4 | -12/+13 |
| | |||||
* | Handle FAM monitor failures more gracefully: | Chris St. Pierre | 2013-03-25 | 20 | -145/+190 |
| | | | | | | | | | * 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. | ||||
* | Packages: add and expose get_config() function to get configs for other hosts | Chris St. Pierre | 2013-03-25 | 2 | -2/+11 |
| | |||||
* | Revert "Packages: expose full source list via Connector interface" | Chris St. Pierre | 2013-03-25 | 1 | -3/+1 |
| | | | | This reverts commit fe7a3e9c7a7d66cccbd825465cefcf88165a0c3a. | ||||
* | Revert "Packages: properly implemented deepcopy() for PackagesSources objects" | Chris St. Pierre | 2013-03-25 | 4 | -59/+4 |
| | | | | This reverts commit 432f448983ff27452d82d62314d91c942f31bce5. | ||||
* | Packages: properly implemented deepcopy() for PackagesSources objects | Chris St. Pierre | 2013-03-25 | 4 | -4/+59 |
| | |||||
* | Packages: expose full source list via Connector interface | Chris St. Pierre | 2013-03-25 | 1 | -1/+3 |
| |