Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Plugin: added new Caching interface | Chris St. Pierre | 2013-08-07 | 1 | -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 check | Chris St. Pierre | 2013-08-06 | 1 | -1/+2 |
| | |||||
* | bcfg2-yum-helper: fully download group metadata during makecache | Chris St. Pierre | 2013-08-06 | 1 | -0/+1 |
| | |||||
* | bcfg2-crypt: prevent traceback for certain decrypt failures | Chris St. Pierre | 2013-08-05 | 1 | -1/+2 |
| | |||||
* | bcfg2-yum-helper: populate group cache during makecache | Chris St. Pierre | 2013-07-31 | 1 | -0/+4 |
| | | | | Fixes #128 | ||||
* | bcfg2-yum-helper: Fix another python3 syntax error | Sol Jerome | 2013-07-27 | 1 | -1/+1 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | bcfg2-yum-helper: Fix python3 syntax error | Sol Jerome | 2013-07-27 | 1 | -1/+1 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | bcfg2-yum-helper: added missing docstring | Chris St. Pierre | 2013-07-18 | 1 | -0/+2 |
| | |||||
* | Packages: added lock to yum cache update | Chris St. Pierre | 2013-07-18 | 1 | -0/+32 |
| | |||||
* | bcfg2-info: fixed expirecache | Chris St. Pierre | 2013-07-18 | 1 | -2/+2 |
| | |||||
* | bcfg2-info: added expirecache command to expire metadata cache | Chris St. Pierre | 2013-07-18 | 1 | -0/+10 |
| | |||||
* | bcfg2-info: fixed automatch | Chris St. Pierre | 2013-07-18 | 1 | -1/+1 |
| | |||||
* | Packages: fixed read-only yum cache | Chris St. Pierre | 2013-07-18 | 1 | -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 cache | Chris St. Pierre | 2013-07-15 | 1 | -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 server | Chris St. Pierre | 2013-07-09 | 3 | -3/+3 |
| | |||||
* | fixed pylint | Chris St. Pierre | 2013-07-03 | 1 | -1/+1 |
| | |||||
* | bcfg2-test: fixed return value | Chris St. Pierre | 2013-07-03 | 1 | -3/+6 |
| | |||||
* | Rewrote bcfg2-crypt. | Chris St. Pierre | 2013-07-02 | 1 | -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 option | Chris St. Pierre | 2013-07-01 | 1 | -1/+2 |
| | |||||
* | bcfg2-test: Move signal handler | Sol Jerome | 2013-06-26 | 1 | -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 thinko | Sol Jerome | 2013-06-26 | 1 | -5/+4 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Revert "Core: properly handle Ctrl-C" | Sol Jerome | 2013-06-26 | 1 | -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 option | Sol Jerome | 2013-06-21 | 1 | -1/+0 |
| | | | | | | This option was removed in f157617a5c. Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | bcfg2-yum-helper: fixed unit tests | Chris St. Pierre | 2013-06-14 | 1 | -5/+8 |
| | |||||
* | Yum: handle and log helper errors better | Chris St. Pierre | 2013-06-13 | 1 | -19/+45 |
| | |||||
* | fixed unit tests | Chris St. Pierre | 2013-06-03 | 1 | -1/+2 |
| | |||||
* | bcfg2-admin: set appropriate return values on error | Chris St. Pierre | 2013-06-03 | 1 | -2/+2 |
| | |||||
* | Revert "bcfg2-admin: set appropriate return values on error" | Chris St. Pierre | 2013-06-03 | 1 | -2/+2 |
| | | | | | | This reverts commit dae8f399151052fd2a0ce43ac61a56f399a28252. Splitting this into two commits. | ||||
* | bcfg2-admin: set appropriate return values on error | Chris St. Pierre | 2013-06-03 | 1 | -2/+2 |
| | |||||
* | bcfg2-lint: log run time for each lint plugin | Chris St. Pierre | 2013-06-03 | 1 | -1/+5 |
| | |||||
* | bcfg2-info: Handle IOErrors | Sol Jerome | 2013-06-02 | 1 | -4/+8 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | really fixed pylint issues with cbcfg2-server | Chris St. Pierre | 2013-05-23 | 1 | -4/+3 |
| | |||||
* | fixed pylint test | Chris St. Pierre | 2013-05-23 | 1 | -1/+2 |
| | |||||
* | added multiprocessing server core | Chris St. Pierre | 2013-05-20 | 1 | -10/+21 |
| | |||||
* | bcfg2-lint: fixed unit tests | Chris St. Pierre | 2013-05-14 | 1 | -1/+1 |
| | |||||
* | doc: added devel docs for bcfg2-lint plugins | Chris St. Pierre | 2013-05-14 | 1 | -3/+3 |
| | |||||
* | bcfg2-info: running packageresolve with no packages uses the actual package ↵ | Chris St. Pierre | 2013-05-07 | 1 | -13/+17 |
| | | | | list of the host | ||||
* | added remaining required Core.load_plugins() calls | Chris St. Pierre | 2013-05-07 | 1 | -1/+2 |
| | |||||
* | bcfg2-test: load plugins on server startup | Chris St. Pierre | 2013-05-01 | 1 | -0/+1 |
| | |||||
* | bcfg2-info: fixed "bcfg2-info clients" when using clients database | Chris St. Pierre | 2013-04-18 | 1 | -3/+1 |
| | |||||
* | bcfg2-info: fixed for new load_plugins() routine | Chris St. Pierre | 2013-04-17 | 1 | -1/+2 |
| | |||||
* | Core: load plugins after daemonization so files/dirs created at plugin init ↵ | Chris St. Pierre | 2013-04-16 | 1 | -1/+1 |
| | | | | time have proper permissions | ||||
* | bcfg2-yum-helper: use Bcfg2.Logger to set up logging | Chris St. Pierre | 2013-04-16 | 1 | -23/+13 |
| | |||||
* | bcfg2-reports: Fix exception handling | Sol Jerome | 2013-04-12 | 1 | -1/+2 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Promote bcfg2-info to have it's own Options dict | Michael Fenn | 2013-04-01 | 1 | -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 fixes | Chris St. Pierre | 2013-03-26 | 1 | -1/+1 |
| | |||||
* | testsuite: fixed issues found by latest version of pep8 | Chris St. Pierre | 2013-03-26 | 3 | -24/+21 |
| | |||||
* | bcfg2-info: fixed building help message on 2.4 (from Michael Fenn) | Chris St. Pierre | 2013-03-22 | 1 | -4/+7 |
| | |||||
* | bcfg2-info: made packageresolve use code from Packages instead of ↵ | Chris St. Pierre | 2013-03-22 | 1 | -13/+16 |
| | | | | reinventing the wheel | ||||
* | Merge branch '1.3.2' into maint | Chris St. Pierre | 2013-03-21 | 6 | -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 |