Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | 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 | |
| | | ||||||
* | | client: actually return probe data to server | Chris St. Pierre | 2013-03-25 | 1 | -0/+1 | |
|/ | ||||||
* | Try to update the ticket #1147 | DongInn Kim | 2013-03-23 | 1 | -1/+2 | |
| | ||||||
* | Added trailing / on MEDIA_URL to get rid of deprecated warnings | Jon Norman | 2013-03-23 | 1 | -1/+1 | |
| | ||||||
* | migrate_dbstats: Fix traceback found by jonten | Sol Jerome | 2013-03-22 | 1 | -0/+3 | |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | |||||
* | Reports: Fix deprecated Django settings (reported by jonten) | Sol Jerome | 2013-03-22 | 1 | -2/+2 | |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | |||||
* | bcfg2-info: fixed building help message on 2.4 (from Michael Fenn) | Chris St. Pierre | 2013-03-22 | 1 | -4/+7 | |
| | ||||||
* | SvcTool: fixed some docstrings, code with new Executor | Chris St. Pierre | 2013-03-22 | 1 | -7/+7 | |
| | ||||||
* | XMLFileBacked: fixed XInclude | Chris St. Pierre | 2013-03-22 | 1 | -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 way | Chris St. Pierre | 2013-03-22 | 3 | -11/+11 | |
| | ||||||
* | doc: write and use proper sphinx docs for MetadataQuery/ClientMetadata classes | Chris St. Pierre | 2013-03-22 | 2 | -78/+108 | |
| | ||||||
* | Logger: set log handler names in a py <2.6 compatible way | Chris St. Pierre | 2013-03-22 | 2 | -6/+14 | |
| | ||||||
* | bcfg2-info: made packageresolve use code from Packages instead of ↵ | Chris St. Pierre | 2013-03-22 | 1 | -13/+16 | |
| | | | | reinventing the wheel | |||||
* | SvcTool: Fix generic check_service to handle missing service commands | Chris St. Pierre | 2013-03-22 | 1 | -1/+4 | |
| | ||||||
* | Client: fix some OSError tracebacks from commands not found | Chris St. Pierre | 2013-03-21 | 3 | -9/+13 | |
| |