summaryrefslogtreecommitdiffstats
path: root/src/sbin/bcfg2-info
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | fixed IPython debug shell for older IPythonChris St. Pierre2012-08-151-1/+1
|/
* Metadata and other improvements:Chris St. Pierre2012-07-301-6/+7
| | | | | | | | | | * Added support for Client tag in groups.xml * Added support for nested Group tags in groups.xml * Added support for negated groups in groups.xml * Added DatabaseBacked plugin mixin to easily allow plugins to connect to a database specified in global database settings in bcfg2.conf * Added DBMetadata plugin that uses relational DB to store client records instead of writing to clients.xml
* better formatting, display categories in bcfg2-info showclientChris St. Pierre2012-07-261-8/+21
|
* added CherryPy-based server coreChris St. Pierre2012-07-191-5/+3
|
* allow selection of preferred python interpreterChris St. Pierre2012-07-051-18/+44
|
* merged maintChris St. Pierre2012-06-191-0/+3
|\
| * better error message from bcfg2-info packagesources without a hostnameChris St. Pierre2012-06-141-0/+3
| |
| * fixed bcfg2-info buildall without -fChris St. Pierre2012-06-041-1/+2
| |
| * bcfg2-info builddir requires "interactive" flagChris St. Pierre2012-05-221-21/+20
| |
| * added -f flag to bcfg2-info buildallChris St. Pierre2012-05-221-7/+15
| |
| * made SSLCA respect info.xmlChris St. Pierre2012-05-211-4/+9
| |
| * made bcfg2-info work with newer IPythonChris St. Pierre2012-05-041-2/+7
| |
* | fixed option alignment issuesChris St. Pierre2012-06-151-2/+4
| |
* | bcfg2-info: print trace when buildfile failsTim Laszlo2012-06-071-1/+3
| |
* | fixed caching of Collection objects; moved bcfg2-info packagesources code ↵Chris St. Pierre2012-06-011-24/+1
| | | | | | | | into Collection.py
* | py2.4 doesn't have finally; wrong logic, anywayChris St. Pierre2012-06-011-4/+5
| |
* | bcfg2-info: Add support for bpythonSol Jerome2012-05-271-0/+3
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>