summaryrefslogtreecommitdiffstats
path: root/src/sbin/bcfg2-info
Commit message (Collapse)AuthorAgeFilesLines
* 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
* fixed lxml.etree.tostring invocationsChris St. Pierre2012-08-221-1/+2
|
* lots of various py3k fixesChris St. Pierre2012-08-211-2/+1
|
* bcfg2-info: Fix traceback when (mis)using profileSol Jerome2012-08-181-0/+3
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bcfg2-info: Fix 'groups' commandSol Jerome2012-08-181-10/+6
| | | | | | | There used to be an additional "Contains" column but I was unable to determine what it was used for (and it doesn't work). Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* made logging levels more consistent in a few placesChris St. Pierre2012-08-151-1/+8
|
* Removed deprecated plugins BB, Svcmgr, SGenshiChris St. Pierre2012-08-151-2/+2
|
* made logging to syslog configurable and default for all loggingChris St. Pierre2012-08-151-1/+1
|
* Merge branch 'tests'Chris St. Pierre2012-08-151-1/+1
|\
| * print function fixesChris St. Pierre2012-08-151-1/+1
| |