summaryrefslogtreecommitdiffstats
path: root/src/sbin
Commit message (Collapse)AuthorAgeFilesLines
* bcfg2-crypt: fixed deprecation warningChris St. Pierre2013-11-051-1/+1
|
* Merge pull request #110 from AlexanderS/reporting-model-updatesChris St. Pierre2013-11-051-5/+5
|\ | | | | bcfg2-reports: update to use current models
| * bcfg2-reports: update to use current modelsAlexander Sulfrian2013-06-291-5/+5
| |
* | Plugin: added new Caching interfaceChris St. Pierre2013-08-071-2/+3
| | | | | | | | | | | | | | This gives a single unified interface for expiring caches, no matter the plugin. This will be particularly useful with the MultiprocessingCore, as certain calls must be dispatched to child processes to expire their caches.
* | bcfg2-yum-helper: disable pylint checkChris St. Pierre2013-08-061-1/+2
| |
* | bcfg2-yum-helper: fully download group metadata during makecacheChris St. Pierre2013-08-061-0/+1
| |
* | bcfg2-crypt: prevent traceback for certain decrypt failuresChris St. Pierre2013-08-051-1/+2
| |
* | bcfg2-yum-helper: populate group cache during makecacheChris St. Pierre2013-07-311-0/+4
| | | | | | | | Fixes #128
* | bcfg2-yum-helper: Fix another python3 syntax errorSol Jerome2013-07-271-1/+1
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | bcfg2-yum-helper: Fix python3 syntax errorSol Jerome2013-07-271-1/+1
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | bcfg2-yum-helper: added missing docstringChris St. Pierre2013-07-181-0/+2
| |
* | Packages: added lock to yum cache updateChris St. Pierre2013-07-181-0/+32
| |
* | bcfg2-info: fixed expirecacheChris St. Pierre2013-07-181-2/+2
| |
* | bcfg2-info: added expirecache command to expire metadata cacheChris St. Pierre2013-07-181-0/+10
| |
* | bcfg2-info: fixed automatchChris St. Pierre2013-07-181-1/+1
| |
* | Packages: fixed read-only yum cacheChris St. Pierre2013-07-181-5/+26
| | | | | | | | | | | | Replaced incredibly stupid (mea culpa!) and race-condition-prone system that toggled filesystem permissions (what was I thinking?!?) with judicious application of the yum cacheonly option.
* | Read-only yum cacheChris St. Pierre2013-07-151-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes the yum cache read-only so that bcfg2-yum-helper cannot update the cache on the fly, which should help avoid locking issues with the yum caches that can cause client runs to fail. It also makes the Packages plugin behave more consistently, since use of yum libraries won't cause the cache to be refreshed at random times on the fly, but rather more predictably as with the Apt cache or the yum cache without using yum libraries. Unlike those two cases, though, the caches will not all be downloaded initially, but rather opportunistically as needed. In order for this to work, the Bcfg2 server must not run as root. Root ignores the 'w' permissions bit, so the cache cannot be made read-only.
* | Core: apply FAM blocking option to all commands that start a serverChris St. Pierre2013-07-093-3/+3
| |
* | fixed pylintChris St. Pierre2013-07-031-1/+1
| |
* | bcfg2-test: fixed return valueChris St. Pierre2013-07-031-3/+6
| |
* | Rewrote bcfg2-crypt.Chris St. Pierre2013-07-021-303/+232
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds several features and generally makes it work a lot more smoothly by not trying to overoptimize and share too much code. You can now brute-force decrypt a Cfg file (i.e., without specifying a passphrase, it will try all of them). You can also now write a Properties file with `encrypted="passphrase_name"` attributes in place, and then encrypt (and decrypt) it in one fell swoop. Various other minor improvements.
* | bcfg2-info: added command timeout optionChris St. Pierre2013-07-011-1/+2
|/
* 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
|