summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Client/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Reporting: Add dry_run and only_important flagsAlexander Sulfrian2015-05-121-0/+5
| | | | | Save the status of --dry-run and --only-important in the statistics, so that the reports could be filtered to only respect "normal" runs.
* one more pylint fixChris St. Pierre2015-02-171-2/+2
|
* Pylint fixes for pylint 0.28Chris St. Pierre2015-02-171-1/+1
| | | | | This also pins Pylint to 0.28 or older so that we don't have to do this again. At some point we should look at upgrading to Pylint 1.x.
* Merge branch 'bundle-modification-deps' of https://github.com/AlexanderS/bcfg2Sol Jerome2015-01-031-12/+47
|\ | | | | | | | | Conflicts: src/lib/Bcfg2/Client/__init__.py
| * Bundler: add modification support to Bundle dependenciesAlexander Sulfrian2014-11-251-12/+47
| | | | | | | | | | | | Bundle dependencies are now realized with RequiredBundle and support inheritance of the modification flag. This requires new client support and will only work with clients >= 1.4.0pre2.
* | Bcfg2/Client: do not catch KeyboardInterruptAlexander Sulfrian2014-11-251-0/+10
|/ | | | | Wildcard excepts should explicitly exclude KeyboardInterrupt, so that the process exits if the user wants it.
* Client: fix statistics for only-important modeAlexander Sulfrian2014-10-261-5/+11
| | | | Do not report non-important entries as bad entries in only-important mode.
* Merge pull request #185 from AlexanderS/only-importantChris St. Pierre2014-08-041-7/+22
|\ | | | | Add only important flag
| * Client: support dryrun mode and only-importantAlexander Sulfrian2014-08-011-1/+11
| | | | | | | | | | Add support for displaying the skipped entries in dryrun mode when using the --only-important command line flag.
| * Client: add --only-important command line optionAlexander Sulfrian2014-08-011-6/+11
| | | | | | | | | | | | Add the new --only-important (-i) command line option. With this option bcfg2 will only configure the important entries and exits clean afterwards.
* | Client: Fix client cache for py3kSol Jerome2014-08-011-2/+2
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Client: fix handling of important entriesAlexander Sulfrian2014-08-011-2/+2
|/ | | | | The condition of the if should match the case, if the entry should be skipped.
* Client: Handle ^C when in interactive modeSol Jerome2014-06-191-2/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* more unit test fixesChris St. Pierre2014-04-251-1/+1
|
* DB: fixed how Django settings are loadedChris St. Pierre2013-10-301-1/+1
|
* Pylint/PEP8 fixesSol Jerome2013-09-061-6/+8
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Merge branch 'maint'Chris St. Pierre2013-09-041-2/+4
|\ | | | | | | | | | | | | | | | | | | Conflicts: doc/client/tools/actions.txt schemas/authorizedkeys.xsd src/lib/Bcfg2/Client/Frame.py src/lib/Bcfg2/Server/Plugin/helpers.py src/lib/Bcfg2/Server/Plugins/Bundler.py testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py
* | Probes: Fix unicode probesSol Jerome2013-09-011-1/+5
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Core: Added default ACLsChris St. Pierre2013-08-191-1/+0
| | | | | | | | | | | | Since we're exposing more stuff via XML-RPC, this adds a default, fairly restrictive ACL plugin if no other ClientACLs plugin is loaded. This makes us secure by default.
* | Client: Use absolute importsSol Jerome2013-08-121-3/+3
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | testsuite: fixed remaining unit tests (?)Chris St. Pierre2013-08-121-3/+3
| |
* | testsuite: fixed more unit testsChris St. Pierre2013-08-121-1/+1
| |
* | Client: Fixed writing cached configChris St. Pierre2013-08-091-1/+1
| |
* | Client: Handle all DeclareVersion failures the sameChris St. Pierre2013-08-091-10/+2
| | | | | | | | | | | | | | Some xmlrpclib.Fault exceptions were handled differently because originally, the Bcfg2 1.3 client was going to be compatible with a Bcfg2 1.2 server. That didn't happen, and sure isn't going to happen with a Bcfg2 1.4 client.
* | Merge branch 'options-rewrite'Chris St. Pierre2013-08-081-5/+868
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-5/+863
| |
* | Don't crash when a file diff contains utf-8 charsStéphane Graber2013-07-121-0/+3
|/ | | | | | | | | This fixes a crash when the client tries to render the diff of a file which includes unicode characters. This change assumes that utf-8 is the default encoding, which looking at the rest of the code appears to be a safe bet. Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
* Client: Exit when ^C is pressed interactivelySol Jerome2013-06-121-5/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Client: Fix interactive promptSol Jerome2013-05-131-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* remove some unnecessary __all__ variablesChris St. Pierre2013-03-291-3/+1
|
* testsuite: fixed issues found by latest version of pylintChris St. Pierre2013-03-261-3/+3
|
* wrote unit tests for base client Tool classesChris St. Pierre2013-02-201-0/+28
|
* added bcfg2_local.py, a tool to run bcfg2 against a local specificationChris St. Pierre2012-10-171-1/+1
|
* Allow to run directly from a git checkout (#1037)Sol Jerome2012-03-241-0/+3
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>