summaryrefslogtreecommitdiffstats
path: root/src/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Make pylint happyMichael Fenn2013-06-291-3/+5
|
* Info: make builddir add owner write permissions to all filesMichael Fenn2013-06-281-0/+4
| | | | | | | | | | | | | Since bcfg2-info isn't normally run as root, it can remove write permissions from itself in certain situations. This patch ensures that owner write is added to the mode for all files written by builddir. For example, suppose a bundle specifies a file /etc/foo/private with mode 0444. The POSIX tool will create /etc/foo with mode 0555. Any subsequent files that are specified to exist in /etc/foo will not be created because bcfg2-info will hit a permission denied error.
* bcfg2-test: Move signal handlerSol Jerome2013-06-261-1/+1
| | | | | | | Code was refactored such that this signal handler got put in the wrong place during the revert. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bcfg2-test: Fix merge thinkoSol Jerome2013-06-261-5/+4
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Revert "Core: properly handle Ctrl-C"Sol Jerome2013-06-261-0/+17
| | | | | | | | | | | | | | This reverts commit 4568c44372c99ba809826e016680da9b881bd8e8. Trying to handle ^c in the core is difficult and can break STDOUT for interactive programs that invoke the core. Signed-off-by: Sol Jerome <sol.jerome@gmail.com> Conflicts: src/lib/Bcfg2/Server/Core.py src/sbin/bcfg2-test tools/bcfg2-profile-templates.py
* bcfg2-info: Remove nonexistent optionSol Jerome2013-06-211-1/+0
| | | | | | This option was removed in f157617a5c. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bcfg2-yum-helper: fixed unit testsChris St. Pierre2013-06-141-5/+8
|
* Yum: handle and log helper errors betterChris St. Pierre2013-06-131-19/+45
|
* fixed unit testsChris St. Pierre2013-06-031-1/+2
|
* bcfg2-admin: set appropriate return values on errorChris St. Pierre2013-06-031-2/+2
|
* Revert "bcfg2-admin: set appropriate return values on error"Chris St. Pierre2013-06-031-2/+2
| | | | | | This reverts commit dae8f399151052fd2a0ce43ac61a56f399a28252. Splitting this into two commits.
* bcfg2-admin: set appropriate return values on errorChris St. Pierre2013-06-031-2/+2
|
* bcfg2-lint: log run time for each lint pluginChris St. Pierre2013-06-031-1/+5
|
* bcfg2-info: Handle IOErrorsSol Jerome2013-06-021-4/+8
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* really fixed pylint issues with cbcfg2-serverChris St. Pierre2013-05-231-4/+3
|
* fixed pylint testChris St. Pierre2013-05-231-1/+2
|
* added multiprocessing server coreChris St. Pierre2013-05-201-10/+21
|
* bcfg2-lint: fixed unit testsChris St. Pierre2013-05-141-1/+1
|
* doc: added devel docs for bcfg2-lint pluginsChris St. Pierre2013-05-141-3/+3
|
* bcfg2-info: running packageresolve with no packages uses the actual package ↵Chris St. Pierre2013-05-071-13/+17
| | | | list of the host
* added remaining required Core.load_plugins() callsChris St. Pierre2013-05-071-1/+2
|
* bcfg2-test: load plugins on server startupChris St. Pierre2013-05-011-0/+1
|
* bcfg2-info: fixed "bcfg2-info clients" when using clients databaseChris St. Pierre2013-04-181-3/+1
|
* bcfg2-info: fixed for new load_plugins() routineChris St. Pierre2013-04-171-1/+2
|
* Core: load plugins after daemonization so files/dirs created at plugin init ↵Chris St. Pierre2013-04-161-1/+1
| | | | time have proper permissions
* bcfg2-yum-helper: use Bcfg2.Logger to set up loggingChris St. Pierre2013-04-161-23/+13
|
* bcfg2-reports: Fix exception handlingSol Jerome2013-04-121-1/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Promote bcfg2-info to have it's own Options dictMichael Fenn2013-04-011-2/+1
| | | | | | | | | | 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.
* testsuite: more text fixesChris St. Pierre2013-03-261-1/+1
|
* testsuite: fixed issues found by latest version of pep8Chris St. Pierre2013-03-263-24/+21
|
* bcfg2-info: fixed building help message on 2.4 (from Michael Fenn)Chris St. Pierre2013-03-221-4/+7
|
* bcfg2-info: made packageresolve use code from Packages instead of ↵Chris St. Pierre2013-03-221-13/+16
| | | | reinventing the wheel
* Merge branch '1.3.2' into maintChris St. Pierre2013-03-216-36/+190
|\ | | | | | | | | | | | | | | | | 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
| * added PEP-8 style checks to test suiteChris St. Pierre2013-03-116-9/+16
| |
| * bcfg2-test: added option to spawn multiple child processes to run testsChris St. Pierre2013-02-251-37/+177
| |
* | bcfg2-reports: fixed name of database config sectionChris St. Pierre2013-03-201-6/+6
| |
* | bcfg2-test: apply ignore list to unknown packagesChris St. Pierre2013-03-181-1/+3
| |
* | bcfg2-test: fixed test for missing bundlesChris St. Pierre2013-03-041-2/+1
| |
* | bcfg2-test: added checks for missing bundles and unknown packagesChris St. Pierre2013-03-041-0/+14
| |
* | Core: properly handle Ctrl-CChris St. Pierre2013-02-251-15/+0
|/
* bcfg2-test: test for clients with no entriesChris St. Pierre2013-02-081-0/+3
|
* fixed unit testsChris St. Pierre2013-01-291-2/+7
|
* bcfg2-test: various improvementsChris St. Pierre2013-01-281-11/+40
| | | | | - avoided hang on Ctrl-C - better output formatting and verbosity
* fixed syntax errors for py < 2.5Chris St. Pierre2013-01-181-1/+2
|
* Made a few encryption things simpler:Chris St. Pierre2013-01-171-8/+11
| | | | | | * Only one strict/lax setting, in [encryption], rather than separate settings in [properties] and [sshkeys] * No longer necessary to enable encryption on each Properties file
* bcfg2-lint: removed unused importChris St. Pierre2013-01-151-1/+0
|
* set default bcfg2-lint plugin listChris St. Pierre2013-01-141-1/+3
|
* read bcfg2-lint plugin list properlyChris St. Pierre2013-01-141-5/+3
|
* removed Duplicates plugin from bcfg2-lint docsChris St. Pierre2013-01-141-1/+1
|
* bcfg2-lint: automatically load lint plugins that are part of enabled bcfg2 ↵Chris St. Pierre2013-01-031-1/+17
| | | | server plugins