summaryrefslogtreecommitdiffstats
path: root/src/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'maint'Sol Jerome2012-04-191-14/+20
|\ | | | | | | | | | | | | Conflicts: src/sbin/bcfg2-info Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * bcfg2-info: Fix packagesources commandSol Jerome2012-04-191-14/+20
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | removed broken Revision stuff from bcfg2-infoChris St. Pierre2012-04-131-8/+1
| |
* | added ability to pass options to nose, ignore tests, test specific clients ↵Chris St. Pierre2012-04-131-28/+76
| | | | | | | | to bcfg2-test
* | added ability to query bcfg2-info for versionChris St. Pierre2012-04-131-23/+27
| |
* | fixed mode of bcfg2-testChris St. Pierre2012-04-091-0/+0
| |
* | bcfg2-admin: Remove duplicate 'Usage'Sol Jerome2012-04-021-2/+1
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | made bcfg2-info work with newer IPythonChris St. Pierre2012-04-021-2/+7
| |
* | Remove svn keywordsSol Jerome2012-02-198-17/+1
|/ | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* made bcfg2-admin accept -Q flag and a few others; general code cleanupChris St. Pierre2012-01-261-1/+7
|
* fixed bug with setting arch groups properly (reported by esrax in #bcfg2)Chris St. Pierre2012-01-261-8/+14
|
* suppress error message from bcfg2-admin Reports module if Reports not ↵Chris St. Pierre2012-01-261-3/+2
| | | | configured (#1056)
* implemented something like service removal (#1075)Chris St. Pierre2012-01-241-1/+1
|
* improved Packages debug info, added packageresolve and packagesources ↵Chris St. Pierre2012-01-242-26/+79
| | | | bcfg2-info commands
* fixed typoChris St. Pierre2012-01-191-1/+1
|
* Move sorting to the server core, rather than just in bcfg2 infoCalen Pennington2012-01-181-10/+1
|
* Sort xml by name, so that output is consistent between runs, making diffing ↵Calen Pennington2012-01-181-1/+10
| | | | easier
* fixed edge case where the same package exists in two repos available to the ↵Chris St. Pierre2012-01-181-1/+2
| | | | same client
* improved logging/debugging from bcfg2-yum-helperChris St. Pierre2012-01-181-22/+53
|
* Set YumBase config properly (#1073)Chris St. Pierre2012-01-171-0/+1
|
* Only use a minimal filemonitor for testingCalen Pennington2012-01-161-2/+3
| | | | (cherry picked from commit 18fbd90fb23a7e9c7a79fcfa3e570be45996a043)
* Use cProfile if available, otherwise use standard python profileCalen Pennington2012-01-131-1/+4
| | | | | | | cProfile, when available (python >= 2.5), gives enhanced profiling of c calls (and has a lower overhead). This means it's possible to find things like socket.gethostbyname that might be eating up large amounts of time (without showing up in the standard profile reports).
* Use native elementtree call to write configuration to diskCalen Pennington2012-01-131-4/+1
| | | | | This simplifies the logic, although it doesn't have any measurable performance improvements.
* Fix how the filemonitor is passed to core, so that it's actually passed as ↵Calen Pennington2012-01-121-1/+1
| | | | the filemonitor parameter
* Teach bcfg2-info to use the filemonitor specified in the config fileCalen Pennington2012-01-111-4/+4
|
* consistent help messages from bcfg2-admin/bcfg2-info (bug #1033)Chris St. Pierre2012-01-102-3/+8
|
* Add a tool to build all the client configurations and verify that they ↵Calen Pennington2011-12-071-0/+67
| | | | contain no failures
* bcfg2-info: Bugfix from Ticket #1076Sol Jerome2011-12-071-3/+4
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* make yum debug level adjustments work with older yumChris St. Pierre2011-12-021-2/+5
|
* made error handling from bcfg2 client more consistent; avoid someChris St. Pierre2011-11-231-26/+28
| | | | backtraces
* added support for default/mandatory/optional package groupsChris St. Pierre2011-11-171-7/+26
|
* Various Packages plugin fixes:Chris St. Pierre2011-10-191-0/+312
| | | | | | | | | | | | | * Added bcfg2-yum-helper to offload Yum API calls to a short-lived process. As absurd as this is, it appears to be the standard way to get around Yum's atrocious memory handling (cf. yum-updatesd). * Added SourceInitError for non-fatal errors instantiating new sources. * Fixed bug that caused all cached data to be removed on server startup (reported by mikemccllstr on IRC). * Fixed a number of overly aggressive caching issues. * Fixed the way sources are loaded at server startup. * Fixed handling of Yum package groups.
* bcfg2-admin: Fix conditional for help messageSol Jerome2011-09-101-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bcfg2-admin: Fix modes which don't require additional argumentsSol Jerome2011-09-101-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* fixed bug in previous commitChris St. Pierre2011-08-181-0/+1
|
* added --altsrc flag to bcfg2-info buildfileChris St. Pierre2011-08-181-3/+14
|
* Fix typo in "bcfg2-info buildbundle" usage outputHolger Weiß2011-08-091-1/+1
|
* added buildbundle command to bcfg2-info to render a bundle templateChris St. Pierre2011-08-031-0/+26
|
* bcfg2-lint should read both bcfg2.conf and bcfg2-lint.confChris St. Pierre2011-08-011-15/+6
|
* bcfg2-admin: Revert some changes that are not py3k compatibleSol Jerome2011-07-211-2/+3
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Miscellaneous bcfg2-admin bug fixes:Chris St. Pierre2011-07-211-27/+28
| | | | | | * Fixed mode argument parsing when a config file is supplied * Fixed loading help messages when Reports is not configured * Improved option parsing; used Bcfg2.Options.OptionParser
* bcfg2-info: Remove "generators" commandHolger Weiß2011-07-061-7/+0
| | | | | | | The command "bcfg2-info generators" didn't spit out anything useful, just an unexpanded $Id$ keyword for each of the current generators. It's been that way for quite some time now, and nobody seemed to miss the command.
* bcfg2-admin: Fix traceback when help argument omittedSol Jerome2011-06-291-0/+3
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bcfg2-reports: Catch "--badentry=/tmp/nonexistent"Holger Weiß2011-06-301-36/+48
| | | | | Catch I/O errors which might occur while reading a file specified as argument to --badentry, --extraentry, or --modifiedentry.
* bcfg2-reports: Catch getopt exceptionsHolger Weiß2011-06-291-38/+51
| | | | | On getopt errors, print a proper usage message instead of spitting out a traceback.
* bcfg2: Catch tracebacks (Tickets #1016 and #1017)Sol Jerome2011-06-211-0/+8
| | | | | | | This also moves the exception handling added in #1012 to the bcfg2 code for consistency (as per Holger Weiß's suggestion). Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bcfg2-info: Fix print formattingSol Jerome2011-06-131-7/+7
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bcfg2-reports: Revert shebang line modificationSol Jerome2011-06-081-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bcfg2-reports: Show total numbers of entriesHolger Weiß2011-06-081-3/+43
| | | | | | Add a "-t NAME" option which reports the total (and good) number of managed entries on the host NAME. Also, allow for specifying "total", "good", and "bad" fields via --fields and --sort.
* bcfg2-reports: Show modified entriesHolger Weiß2011-06-071-26/+69
| | | | | bcfg2-reports now shows modified entries if it's called with --modifiedentry, -m, or -s.