summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix bogus bundle_quick option handling in bcfg2_local.pyChris St. Pierre2013-04-021-1/+2
|
* Promote bcfg2-info to have it's own Options dictMichael Fenn2013-04-012-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 logsChris St. Pierre2013-03-292-2/+35
|
* Frame: log modified bundles, fix error messageChris St. Pierre2013-03-291-6/+9
|
* Statistics: wrote unit testsChris St. Pierre2013-03-292-2/+46
|
* Probes: fixed long linesChris St. Pierre2013-03-291-8/+9
|
* remove some unnecessary __all__ variablesChris St. Pierre2013-03-293-7/+3
|
* fixed pep8 stuff in yum toolChris St. Pierre2013-03-291-45/+48
|
* Statistics: fixed calculation of average timeChris St. Pierre2013-03-291-1/+6
|
* Probes: Handle unicode probesSol Jerome2013-03-292-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 Miller2013-03-282-21/+21
| | | | and avoid potential name conflicts there
* GroupLogic: added docstringsChris St. Pierre2013-03-282-0/+11
|
* testsuite: fixed unit testsChris St. Pierre2013-03-282-17/+15
|
* XMLFileBacked: fixed deprecated logic when create is lxml.etree._Element objectChris St. Pierre2013-03-281-2/+2
|
* doc: fixed typosChris St. Pierre2013-03-281-9/+8
|
* new GroupLogic pluginChris St. Pierre2013-03-284-1/+273
|
* bcfg2-lint: ensure all XML properties files are parseableChris St. Pierre2013-03-281-9/+13
|
* Pass through retval from start, stop, status, etc.Michael Fenn2013-03-286-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 optionsChris St. Pierre2013-03-281-0/+5
|
* testsuite: fix more testsChris St. Pierre2013-03-271-0/+2
|
* testsuite: install python-daemon last so pylint/pep8 tests are run on py3kChris St. Pierre2013-03-271-1/+1
|
* Metadata: create clients when version is declared (if necessary)Chris St. Pierre2013-03-271-20/+14
|
* skip Compat plugins for anything >= 1.3.0, not >Chris St. Pierre2013-03-272-2/+2
|
* XMLFileBacked: track FAM monitors separately from processed xincludes to ↵Chris St. Pierre2013-03-271-2/+8
| | | | avoid infinite loop with pseudo FAM
* Inotify: use correct loggerChris St. Pierre2013-03-271-5/+3
|
* Compat: Fix tracebackSol Jerome2013-03-271-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* testsuite: more test fixesChris St. Pierre2013-03-262-2/+2
|
* testsuite: more text fixesChris St. Pierre2013-03-2612-14/+32
|
* testsuite: fixed more unit test stuffChris St. Pierre2013-03-2613-22/+41
|
* Probes: fixed unit tests for new use of lxml.etree._ElementTree.write ↵Chris St. Pierre2013-03-261-60/+118
| | | | instead of open().write()
* fixed regex errors introduced by 6c996f42c53a36fc0406f836d64b8c1bec6f4bccChris St. Pierre2013-03-264-7/+8
|
* testsuite: can't disable pylint R0924, since it doesn't exist on older ↵Chris St. Pierre2013-03-264-6/+25
| | | | pylint and pylint barfs
* Plugin: use appropriate loggers for Debuggable helper objectsChris St. Pierre2013-03-261-34/+35
|
* testsuite: fixed issues found by latest version of pylintChris St. Pierre2013-03-2626-111/+74
|
* testsuite: fixed issues found by latest version of pep8Chris St. Pierre2013-03-2650-217/+202
|
* Metadata: fixed setting default group when appropriateChris St. Pierre2013-03-261-32/+36
|
* travis-ci: install django < 1.5 for testsChris St. Pierre2013-03-261-1/+1
|
* travis-ci: fixed dangling if in install.shChris St. Pierre2013-03-261-0/+1
|
* Metadata: apply default group consistently on first and subsequent client runsChris St. Pierre2013-03-261-0/+5
|
* bcfg2-lint: only check clients.xml things if clients.xml is in useChris St. Pierre2013-03-261-0/+9
|
* bcfg2-lint: added check to ensure that default group is a profile groupChris St. Pierre2013-03-261-1/+13
|
* Metadata: better stringification of ClientMetadata objects for debuggingChris St. Pierre2013-03-261-0/+5
|
* travis-ci: start running py3k tests with some optional depsChris St. Pierre2013-03-254-12/+13
|
* Handle FAM monitor failures more gracefully:Chris St. Pierre2013-03-2520-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 hostsChris St. Pierre2013-03-252-2/+11
|
* Revert "Packages: expose full source list via Connector interface"Chris St. Pierre2013-03-251-3/+1
| | | | This reverts commit fe7a3e9c7a7d66cccbd825465cefcf88165a0c3a.
* Revert "Packages: properly implemented deepcopy() for PackagesSources objects"Chris St. Pierre2013-03-254-59/+4
| | | | This reverts commit 432f448983ff27452d82d62314d91c942f31bce5.
* Packages: properly implemented deepcopy() for PackagesSources objectsChris St. Pierre2013-03-254-4/+59
|
* Packages: expose full source list via Connector interfaceChris St. Pierre2013-03-251-1/+3
|
* client: actually return probe data to serverChris St. Pierre2013-03-251-0/+1
|