summaryrefslogtreecommitdiffstats
path: root/src/sbin/bcfg2-info
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'maint'Alexander Sulfrian2015-06-121-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: debian/changelog doc/conf.py misc/bcfg2-selinux.spec misc/bcfg2.spec osx/Makefile osx/macports/Portfile solaris-ips/MANIFEST.bcfg2-server.header solaris-ips/MANIFEST.bcfg2.header solaris-ips/Makefile solaris-ips/pkginfo.bcfg2 solaris-ips/pkginfo.bcfg2-server solaris/Makefile solaris/pkginfo.bcfg2 solaris/pkginfo.bcfg2-server src/lib/Bcfg2/Client/Tools/APT.py src/lib/Bcfg2/Client/Tools/FreeBSDInit.py src/lib/Bcfg2/Client/Tools/__init__.py src/lib/Bcfg2/Options.py src/lib/Bcfg2/Reporting/Collector.py src/lib/Bcfg2/Reporting/templates/base.html src/lib/Bcfg2/Server/CherrypyCore.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/FileMonitor/__init__.py src/lib/Bcfg2/Server/Lint/Validate.py src/lib/Bcfg2/Server/Lint/__init__.py src/lib/Bcfg2/Server/MultiprocessingCore.py src/lib/Bcfg2/Server/Plugin/__init__.py src/lib/Bcfg2/Server/Plugins/GroupPatterns.py src/lib/Bcfg2/Server/Plugins/Metadata.py src/lib/Bcfg2/Server/Plugins/Packages/Source.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py src/lib/Bcfg2/Server/Plugins/SSHbase.py src/lib/Bcfg2/Server/Plugins/SSLCA.py src/lib/Bcfg2/version.py src/sbin/bcfg2-info src/sbin/bcfg2-test testsuite/requirements.txt
| * Server/Core: drop privileges even if not running as daemonAlexander Sulfrian2015-02-251-0/+2
| |
| * fixed pylint/pep-8 testsChris St. Pierre2014-04-251-2/+1
| |
| * 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-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
| |
| * Core: apply FAM blocking option to all commands that start a serverChris St. Pierre2013-07-091-1/+1
| |
| * bcfg2-info: added command timeout optionChris St. Pierre2013-07-011-1/+2
| |
* | Options: migrated bcfg2-info to new parserChris St. Pierre2013-06-271-788/+2
| |
* | Merge branch 'maint'Chris St. Pierre2013-06-271-1/+0
|\| | | | | | | | | | | | | | | | | 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-info: Remove nonexistent optionSol Jerome2013-06-211-1/+0
| | | | | | | | | | | | This option was removed in f157617a5c. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Merge branch 'maint'Sol Jerome2013-06-021-4/+8
|\| | | | | | | | | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> Conflicts: doc/installation/distributions.txt doc/server/snapshots/index.txt src/lib/Bcfg2/Server/Plugin/helpers.py src/sbin/bcfg2-server
| * bcfg2-info: Handle IOErrorsSol Jerome2013-06-021-4/+8
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Merge branch 'maint'Chris St. Pierre2013-05-171-13/+17
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/appendix/guides/centos.txt doc/server/plugins/grouping/metadata.txt setup.py src/lib/Bcfg2/Client/Frame.py src/lib/Bcfg2/Client/Proxy.py src/lib/Bcfg2/Server/Lint/Genshi.py src/lib/Bcfg2/Server/Lint/Validate.py src/lib/Bcfg2/Server/Plugins/Bundler.py src/lib/Bcfg2/Server/Plugins/SSHbase.py src/sbin/bcfg2-lint
| * bcfg2-info: running packageresolve with no packages uses the actual package ↵Chris St. Pierre2013-05-071-13/+17
| | | | | | | | list of the host
* | Merge branch 'maint'Chris St. Pierre2013-04-241-20/+18
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Client/Client.py src/lib/Bcfg2/Client/Frame.py src/lib/Bcfg2/Client/Tools/YUM.py src/lib/Bcfg2/Options.py src/lib/Bcfg2/Server/Admin/Perf.py src/lib/Bcfg2/Server/Admin/Xcmd.py src/lib/Bcfg2/Server/Admin/__init__.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/FileMonitor/Fam.py src/lib/Bcfg2/Server/Lint/RequiredAttrs.py src/lib/Bcfg2/Server/Plugin/helpers.py src/lib/Bcfg2/Server/Plugins/Base.py src/lib/Bcfg2/Server/Plugins/Bundler.py src/lib/Bcfg2/Server/Plugins/Cfg/CfgPrivateKeyCreator.py src/lib/Bcfg2/Server/Plugins/Cvs.py src/lib/Bcfg2/Server/Plugins/Darcs.py src/lib/Bcfg2/Server/Plugins/Decisions.py src/lib/Bcfg2/Server/Plugins/FileProbes.py src/lib/Bcfg2/Server/Plugins/Fossil.py src/lib/Bcfg2/Server/Plugins/Git.py src/lib/Bcfg2/Server/Plugins/Metadata.py src/lib/Bcfg2/Server/Plugins/NagiosGen.py src/lib/Bcfg2/Server/Plugins/Packages/PackagesSources.py src/lib/Bcfg2/Server/Plugins/Packages/Source.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py src/lib/Bcfg2/Server/Plugins/Properties.py src/lib/Bcfg2/Server/Plugins/__init__.py src/lib/Bcfg2/Server/__init__.py src/sbin/bcfg2-build-reports src/sbin/bcfg2-crypt testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestMetadata.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProperties.py
| * 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
| * 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: fixed issues found by latest version of pep8Chris St. Pierre2013-03-261-15/+14
| |
* | Merge branch '1.4.x'Chris St. Pierre2013-04-231-7/+6
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: debian/bcfg2-server.install doc/server/plugins/grouping/metadata.txt src/lib/Bcfg2/Client/Client.py src/lib/Bcfg2/Client/Tools/Portage.py src/lib/Bcfg2/Client/Tools/RcUpdate.py src/lib/Bcfg2/Client/Tools/YUM24.py src/lib/Bcfg2/Client/Tools/__init__.py src/lib/Bcfg2/Client/Tools/launchd.py src/lib/Bcfg2/Options.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/Plugin/helpers.py src/lib/Bcfg2/Server/Plugins/Metadata.py src/lib/Bcfg2/Server/models.py src/lib/Bcfg2/Utils.py src/sbin/bcfg2-info src/sbin/bcfg2-test testsuite/Testsrc/Testlib/TestClient/TestTools/Test_init.py testsuite/Testsrc/test_code_checks.py
| * | removed in-place modification of "states" dict in client toolsChris St. Pierre2013-02-211-3/+2
| | |
| * | Options: split loading a new OptionParser from fetching an existing parserChris St. Pierre2013-01-171-1/+1
| | |
| * | added module-level OptionParser to avoid passing it as an argument or global ↵Chris St. Pierre2013-01-171-5/+5
| | | | | | | | | | | | all over
* | | Promote bcfg2-info to have it's own Options dictMichael Fenn2013-03-291-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.
* | | Revert "Update bcfg2-info OptionParser to use client options"Michael Fenn2013-03-291-1/+1
| | | | | | | | | | | | This reverts commit 3de72bb8c3bb0f0e71357657a256fe33cb65c168.
* | | Update bcfg2-info OptionParser to use client optionsMichael Fenn2013-03-291-1/+1
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bcfg2-info uses CLI_COMMON_OPTIONS which is a subset of the full CLIENT_COMMON_OPTIONS that the bcfg2 client uses. This causes bcfg2-info to fail on the builddir comand with the following traceback > builddir drdws0056.nyc.desres.deshaw.com /tmp/drdws0056 Command failure Traceback (most recent call last): File "/usr/sbin/bcfg2-info", line 157, in do_loop self.cmdloop('Welcome to bcfg2-info\n' File "/usr/lib64/python2.4/cmd.py", line 142, in cmdloop stop = self.onecmd(line) File "/usr/lib64/python2.4/cmd.py", line 219, in onecmd return func(arg) File "/usr/sbin/bcfg2-info", line 283, in do_builddir client_config) File "/usr/lib/python2.4/site-packages/Bcfg2/Client/Tools/POSIX/__init__.py", line 19, in __init__ self.ppath = setup['ppath'] KeyError: 'ppath' ppath is included in CLIENT_COMMON_OPTIONS, but not CLI_COMMON_OPTIONS so this commit changes bcfg2-info to parse the fuller CLIENT_COMMON_OPTIONS.
* | 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
* | added PEP-8 style checks to test suiteChris St. Pierre2013-03-111-2/+1
|/
* fixed bcfg2-info buildbundle to use code from Bundler pluginChris St. Pierre2012-11-271-27/+17
|
* removed bogus print statementsChris St. Pierre2012-11-161-4/+3
|
* bcfg2-info: Remove extraneous strip() callSol Jerome2012-10-181-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bcfg2-info query: Query all hosts if none specifiedSol Jerome2012-10-171-2/+5
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* set up bcfg2-info logging just like bcfg2-adminChris St. Pierre2012-10-171-4/+10
|
* added bcfg2_local.py, a tool to run bcfg2 against a local specificationChris St. Pierre2012-10-171-1/+1
|
* expanded pylint coverage to Admin modes, removed some old/broken admin modesChris St. Pierre2012-10-171-0/+19
|
* bcfg2-info: added probes subcommand to list probes for a clientChris St. Pierre2012-10-151-6/+44
|
* testsuite: expanded pylint coverageChris St. Pierre2012-10-031-217/+213
|
* made full pylint checks the default, expanded pylint coverage to lots of toolsChris St. Pierre2012-09-261-1/+0
|
* updated bcfg2.conf man pageChris St. Pierre2012-09-251-1/+0
|
* run pylint for errors on almost everything, full runs on some selected stuffChris St. Pierre2012-09-251-26/+28
|
* Properties: made automatch in bcfg2.conf a default, not absolute; cleaned up ↵Chris St. Pierre2012-09-131-3/+3
| | | | docs
* bcfg2-info: added "automatch" command to perform Properties automatchingChris St. Pierre2012-09-121-0/+38
|
* bcfg2-info: fixed bug when building an entry for buildfile raised IOErrorChris St. Pierre2012-09-111-4/+5
|
* updated various scripts/components to reflect updated Core invocation for ↵Chris St. Pierre2012-09-051-17/+4
| | | | thread-safety
* fixed import/usage of MetadataConsistencyErrorChris St. Pierre2012-08-271-4/+3
|
* bcfg2-info: packagessources/packageresolve fail gracefully if Packages ↵Chris St. Pierre2012-08-231-0/+6
| | | | plugin not enabled