summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #69 from kincl/block-while-event-processingChris St. Pierre2013-04-172-1/+2
|\ | | | | minor fixes for FAM blocking
| * minor fixes for FAM blockingJason Kincl2013-04-172-1/+2
| |
* | Merge pull request #68 from kincl/block-while-event-processingChris St. Pierre2013-04-172-0/+10
|\| | | | | Adding option to force server to wait until all FAM events are processed
| * Adding option to force server to wait until all FAM events are processedJason Kincl2013-04-172-0/+10
|/
* Merge pull request #67 from fennm/bcfg2-info-client-optionsChris St. Pierre2013-04-012-2/+5
|\ | | | | Update bcfg2-info OptionParser to use client options
| * Promote bcfg2-info to have it's own Options dictMichael Fenn2013-03-292-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.
| * Revert "Update bcfg2-info OptionParser to use client options"Michael Fenn2013-03-291-1/+1
| | | | | | | | This reverts commit 3de72bb8c3bb0f0e71357657a256fe33cb65c168.
| * Update bcfg2-info OptionParser to use client optionsMichael Fenn2013-03-291-1/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | bcfg2-info uses CLI_COMMON_OPTIONS which is a subset of the full CLIENT_COMMON_OPTIONS that the bcfg2 client uses. This causes bcfg2-info to fail on the builddir comand with the following traceback > builddir drdws0056.nyc.desres.deshaw.com /tmp/drdws0056 Command failure Traceback (most recent call last): File "/usr/sbin/bcfg2-info", line 157, in do_loop self.cmdloop('Welcome to bcfg2-info\n' File "/usr/lib64/python2.4/cmd.py", line 142, in cmdloop stop = self.onecmd(line) File "/usr/lib64/python2.4/cmd.py", line 219, in onecmd return func(arg) File "/usr/sbin/bcfg2-info", line 283, in do_builddir client_config) File "/usr/lib/python2.4/site-packages/Bcfg2/Client/Tools/POSIX/__init__.py", line 19, in __init__ self.ppath = setup['ppath'] KeyError: 'ppath' ppath is included in CLIENT_COMMON_OPTIONS, but not CLI_COMMON_OPTIONS so this commit changes bcfg2-info to parse the fuller CLIENT_COMMON_OPTIONS.
* Merge pull request #66 from fennm/bcfg2-init-retval-fixesChris St. Pierre2013-03-286-10/+33
|\ | | | | Pass through retval from start, stop, status, etc. in init scripts
| * 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.
* Merge branch 'maint'Chris St. Pierre2013-03-254-5/+11
|\
| * 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
| |
| * Try to update the ticket #1147DongInn Kim2013-03-231-1/+2
| |
| * Added trailing / on MEDIA_URL to get rid of deprecated warningsJon Norman2013-03-231-1/+1
| |
| * migrate_dbstats: Fix traceback found by jontenSol Jerome2013-03-221-0/+3
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * Reports: Fix deprecated Django settings (reported by jonten)Sol Jerome2013-03-221-2/+2
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Merge branch 'maint'Chris St. Pierre2013-03-2416-139/+196
|\ \
| * | client: actually return probe data to serverChris St. Pierre2013-03-241-0/+1
| |/
| * bcfg2-info: fixed building help message on 2.4 (from Michael Fenn)Chris St. Pierre2013-03-221-4/+7
| |
| * SvcTool: fixed some docstrings, code with new ExecutorChris St. Pierre2013-03-221-7/+7
| |
| * XMLFileBacked: fixed XIncludeChris St. Pierre2013-03-221-0/+1
| | | | | | | | | | | | | | | | Clear out "extras" when each event is handled to ensure that we start fresh. Failure to do so prevents the wildcard XInclude munging to work, so the first time an event is processed everything is fine; but when subsequent events are processed, _follow_xincludes() thinks that each xinclude tag has already been munged and only removes it.
| * Executor: handle missing commands in a more backwards-compatible wayChris St. Pierre2013-03-223-11/+11
| |
| * doc: write and use proper sphinx docs for MetadataQuery/ClientMetadata classesChris St. Pierre2013-03-222-78/+108
| |
| * Logger: set log handler names in a py <2.6 compatible wayChris St. Pierre2013-03-222-6/+14
| |
| * bcfg2-info: made packageresolve use code from Packages instead of ↵Chris St. Pierre2013-03-221-13/+16
| | | | | | | | reinventing the wheel
| * SvcTool: Fix generic check_service to handle missing service commandsChris St. Pierre2013-03-221-1/+4
| |
| * Client: fix some OSError tracebacks from commands not foundChris St. Pierre2013-03-213-9/+13
| |
| * testsuite: fix checks for pylint/pep8 on py3kChris St. Pierre2013-03-211-4/+2
| |
| * doc: fixed example Reporting configChris St. Pierre2013-03-211-11/+11
| |
| * APT: Prevent traceback for missing packagesSol Jerome2013-03-211-2/+7
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * more debugging fixesChris St. Pierre2013-03-211-1/+1
| |
| * fixed various debugging bitsChris St. Pierre2013-03-212-3/+5
| |
| * py3.3 clearly isn't quite ready on travis-ci yetChris St. Pierre2013-03-211-1/+0
| |
* | Merge branch 'maint'Chris St. Pierre2013-03-2165-1118/+2676
|\|
| * fixed unit testsChris St. Pierre2013-03-214-17/+14
| |
| * Merge branch '1.3.2' into maintChris St. Pierre2013-03-2160-1087/+2612
| |\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Client/Tools/__init__.py src/sbin/bcfg2-test testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Test__init.py testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIXUsers.py testsuite/Testsrc/test_code_checks.py
| | * Debug improvements:Chris St. Pierre2013-03-194-10/+73
| | | | | | | | | | | | | | | | | | * Added (set|toggle)_core_debug RMI methods to set debugging in the core * Enable plugin debugging when run with -d * Allow enabling debugging on Reporting plugin before threads have started
| | * Core: added more debug logging for core methodsChris St. Pierre2013-03-193-1/+24
| | |
| | * Executor: better timeout implementationChris St. Pierre2013-03-151-17/+11
| | |
| | * full pylint tests on bcfg2-reportsChris St. Pierre2013-03-111-1/+1
| | |
| | * added PEP-8 style checks to test suiteChris St. Pierre2013-03-1112-113/+185
| | |
| | * Reporting: added support for POSIX user/group entriesChris St. Pierre2013-03-083-1/+386
| | |
| | * Reporting: added support for various SELinux entriesChris St. Pierre2013-03-085-180/+912
| | |
| | * Metadata: fixed typoChris St. Pierre2013-03-081-1/+1
| | |
| | * bcfg2-test: added option to spawn multiple child processes to run testsChris St. Pierre2013-02-252-38/+205
| | |
| | * extended usage of Executor class, added client-side timeout optionsChris St. Pierre2013-02-147-143/+206
| | |
| | * better Executor class for client toolsChris St. Pierre2013-02-1422-489/+388
| | |
| | * added docs for Bcfg2.UtilsChris St. Pierre2013-02-143-3/+29
| | |
| | * Metadata: process default client bootstrap mode properlyChris St. Pierre2013-02-142-16/+18
| | |