summaryrefslogtreecommitdiffstats
path: root/src/sbin
Commit message (Collapse)AuthorAgeFilesLines
* bcfg2-report-collector: import DBSettings explicitly to parse them earlyChris St. Pierre2013-10-311-0/+1
|
* bcfg2-reports: rewrote with new option parserChris St. Pierre2013-10-301-277/+3
|
* DB: fixed how Django settings are loadedChris St. Pierre2013-10-301-18/+2
|
* bcfg2-server: Fixed default backend valueChris St. Pierre2013-08-091-1/+1
|
* Merge branch 'options-rewrite'Chris St. Pierre2013-08-089-2278/+57
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Client/Frame.py src/lib/Bcfg2/Options.py src/lib/Bcfg2/Server/Admin/Init.py src/lib/Bcfg2/Server/Admin/Xcmd.py src/lib/Bcfg2/Server/BuiltinCore.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/MultiprocessingCore.py src/lib/Bcfg2/Server/Plugin/base.py src/lib/Bcfg2/Server/Plugin/helpers.py src/lib/Bcfg2/Server/Plugins/Cfg/__init__.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py src/lib/Bcfg2/Server/Plugins/Packages/__init__.py src/lib/Bcfg2/Server/SSLServer.py src/lib/Bcfg2/Utils.py src/lib/Bcfg2/settings.py src/sbin/bcfg2-crypt src/sbin/bcfg2-info src/sbin/bcfg2-lint src/sbin/bcfg2-test src/sbin/bcfg2-yum-helper tools/bcfg2-profile-templates.py
| * Options: migrated client to new parserChris St. Pierre2013-06-271-22/+4
| |
| * Options: migrated bcfg2-yum-helperChris St. Pierre2013-06-271-268/+2
| |
| * Options: migrated reporting to new parserChris St. Pierre2013-06-271-10/+4
| |
| * Options: migrated bcfg2-crypt and Encryption libs to new parserChris St. Pierre2013-06-271-501/+2
| |
| * Options: migrated bcfg2-test to new parserChris St. Pierre2013-06-271-311/+4
| |
| * Options: migrated bcfg2-admin to new parserChris St. Pierre2013-06-271-88/+2
| |
| * Options: migrated bcfg2-info to new parserChris St. Pierre2013-06-271-788/+2
| |
| * Options: migrated bcfg2-lint to new parserChris St. Pierre2013-06-272-208/+2
| |
| * Options: migrated server core to new option parserChris St. Pierre2013-06-271-47/+27
| |
* | Merge branch 'maint'Chris St. Pierre2013-08-083-5/+13
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/appendix/files/mysql.txt doc/getting_started/index.txt doc/server/plugins/structures/bundler/kernel.txt src/lib/Bcfg2/Server/MultiprocessingCore.py src/lib/Bcfg2/Server/Plugin/interfaces.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py src/lib/Bcfg2/Server/Plugins/Probes.py src/lib/Bcfg2/Server/Plugins/SSHbase.py
| * | 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>
* | | Merge branch 'maint'Sol Jerome2013-07-272-0/+44
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> Conflicts: doc/appendix/guides/ubuntu.txt src/lib/Bcfg2/Options.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py src/lib/Bcfg2/settings.py
| * | 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
| | |
* | | Remove bcfg2-repo-validateSol Jerome2013-07-271-1/+0
| | | | | | | | | | | | | | | | | | The bcfg2-lint binary has replaced bcfg2-repo-validate. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | | Merge branch 'maint'Sol Jerome2013-07-184-7/+51
|\| | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> Conflicts: src/lib/Bcfg2/Server/Plugins/Cfg/CfgPrivateKeyCreator.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py src/lib/Bcfg2/Server/Plugins/Properties.py
| * | 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
| | |
* | | bcfg2-info: Fix pylint errorsSol Jerome2013-07-131-3/+4
| | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | | bcfg2-info: Use builtin cmd helpSol Jerome2013-07-131-91/+85
| | | | | | | | | | | | | | | | | | | | | This commit fixes help on python3 and greatly simplifies a bunch of code by removing stuff which the cmd module gives us for free. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | | bcfg2-crypt: Fix path to Encryption moduleSol Jerome2013-07-081-19/+21
| | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | | Merge branch 'maint'Sol Jerome2013-07-083-306/+245
|\| | | |/ |/| | | | | | | Conflicts: src/lib/Bcfg2/settings.py src/sbin/bcfg2-crypt
| * 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
| |
* | Merge branch 'maint'Chris St. Pierre2013-06-275-23/+72
|\| | | | | | | | | | | | | | | | | Conflicts: doc/server/plugins/generators/cfg.txt doc/server/plugins/generators/tcheetah.txt src/lib/Bcfg2/Server/Admin/Xcmd.py src/lib/Bcfg2/Server/Plugins/Cfg/__init__.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py
| * 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
| |