Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | made bcfg2-admin accept -Q flag and a few others; general code cleanup | Chris St. Pierre | 2012-01-26 | 1 | -1/+7 |
| | |||||
* | fixed bug with setting arch groups properly (reported by esrax in #bcfg2) | Chris St. Pierre | 2012-01-26 | 1 | -8/+14 |
| | |||||
* | suppress error message from bcfg2-admin Reports module if Reports not ↵ | Chris St. Pierre | 2012-01-26 | 1 | -3/+2 |
| | | | | configured (#1056) | ||||
* | implemented something like service removal (#1075) | Chris St. Pierre | 2012-01-24 | 1 | -1/+1 |
| | |||||
* | improved Packages debug info, added packageresolve and packagesources ↵ | Chris St. Pierre | 2012-01-24 | 2 | -26/+79 |
| | | | | bcfg2-info commands | ||||
* | fixed typo | Chris St. Pierre | 2012-01-19 | 1 | -1/+1 |
| | |||||
* | Move sorting to the server core, rather than just in bcfg2 info | Calen Pennington | 2012-01-18 | 1 | -10/+1 |
| | |||||
* | Sort xml by name, so that output is consistent between runs, making diffing ↵ | Calen Pennington | 2012-01-18 | 1 | -1/+10 |
| | | | | easier | ||||
* | fixed edge case where the same package exists in two repos available to the ↵ | Chris St. Pierre | 2012-01-18 | 1 | -1/+2 |
| | | | | same client | ||||
* | improved logging/debugging from bcfg2-yum-helper | Chris St. Pierre | 2012-01-18 | 1 | -22/+53 |
| | |||||
* | Set YumBase config properly (#1073) | Chris St. Pierre | 2012-01-17 | 1 | -0/+1 |
| | |||||
* | Only use a minimal filemonitor for testing | Calen Pennington | 2012-01-16 | 1 | -2/+3 |
| | | | | (cherry picked from commit 18fbd90fb23a7e9c7a79fcfa3e570be45996a043) | ||||
* | Use cProfile if available, otherwise use standard python profile | Calen Pennington | 2012-01-13 | 1 | -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 disk | Calen Pennington | 2012-01-13 | 1 | -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 Pennington | 2012-01-12 | 1 | -1/+1 |
| | | | | the filemonitor parameter | ||||
* | Teach bcfg2-info to use the filemonitor specified in the config file | Calen Pennington | 2012-01-11 | 1 | -4/+4 |
| | |||||
* | consistent help messages from bcfg2-admin/bcfg2-info (bug #1033) | Chris St. Pierre | 2012-01-10 | 2 | -3/+8 |
| | |||||
* | Add a tool to build all the client configurations and verify that they ↵ | Calen Pennington | 2011-12-07 | 1 | -0/+67 |
| | | | | contain no failures | ||||
* | bcfg2-info: Bugfix from Ticket #1076 | Sol Jerome | 2011-12-07 | 1 | -3/+4 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | make yum debug level adjustments work with older yum | Chris St. Pierre | 2011-12-02 | 1 | -2/+5 |
| | |||||
* | made error handling from bcfg2 client more consistent; avoid some | Chris St. Pierre | 2011-11-23 | 1 | -26/+28 |
| | | | | backtraces | ||||
* | added support for default/mandatory/optional package groups | Chris St. Pierre | 2011-11-17 | 1 | -7/+26 |
| | |||||
* | Various Packages plugin fixes: | Chris St. Pierre | 2011-10-19 | 1 | -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 message | Sol Jerome | 2011-09-10 | 1 | -1/+1 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | bcfg2-admin: Fix modes which don't require additional arguments | Sol Jerome | 2011-09-10 | 1 | -1/+1 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | fixed bug in previous commit | Chris St. Pierre | 2011-08-18 | 1 | -0/+1 |
| | |||||
* | added --altsrc flag to bcfg2-info buildfile | Chris St. Pierre | 2011-08-18 | 1 | -3/+14 |
| | |||||
* | Fix typo in "bcfg2-info buildbundle" usage output | Holger Weiß | 2011-08-09 | 1 | -1/+1 |
| | |||||
* | added buildbundle command to bcfg2-info to render a bundle template | Chris St. Pierre | 2011-08-03 | 1 | -0/+26 |
| | |||||
* | bcfg2-lint should read both bcfg2.conf and bcfg2-lint.conf | Chris St. Pierre | 2011-08-01 | 1 | -15/+6 |
| | |||||
* | bcfg2-admin: Revert some changes that are not py3k compatible | Sol Jerome | 2011-07-21 | 1 | -2/+3 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Miscellaneous bcfg2-admin bug fixes: | Chris St. Pierre | 2011-07-21 | 1 | -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" command | Holger Weiß | 2011-07-06 | 1 | -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 omitted | Sol Jerome | 2011-06-29 | 1 | -0/+3 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | bcfg2-reports: Catch "--badentry=/tmp/nonexistent" | Holger Weiß | 2011-06-30 | 1 | -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 exceptions | Holger Weiß | 2011-06-29 | 1 | -38/+51 |
| | | | | | On getopt errors, print a proper usage message instead of spitting out a traceback. | ||||
* | bcfg2: Catch tracebacks (Tickets #1016 and #1017) | Sol Jerome | 2011-06-21 | 1 | -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 formatting | Sol Jerome | 2011-06-13 | 1 | -7/+7 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | bcfg2-reports: Revert shebang line modification | Sol Jerome | 2011-06-08 | 1 | -1/+1 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | bcfg2-reports: Show total numbers of entries | Holger Weiß | 2011-06-08 | 1 | -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 entries | Holger Weiß | 2011-06-07 | 1 | -26/+69 |
| | | | | | bcfg2-reports now shows modified entries if it's called with --modifiedentry, -m, or -s. | ||||
* | bcfg2-server: Add the ability to listen on specific interfaces (#1013) | Sol Jerome | 2011-06-03 | 1 | -0/+2 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | added -t option to set client timeout | Chris St. Pierre | 2011-06-01 | 1 | -4/+6 |
| | |||||
* | don't run lint server plugins if serverless plugins produced errors; avoids ↵ | Chris St. Pierre | 2011-05-20 | 1 | -2/+14 |
| | | | | an ugly stack trace if a file fails to validate | ||||
* | Revert "bcfg2: Write cached config using encoding from Options.py" | Holger Weiß | 2011-05-19 | 1 | -1/+1 |
| | | | | | | | | | | | This reverts commit 5d69ff7e966c4ffa911c78d11a6879b48e90aef8. As the "rawconfig" variable now holds a UTF-8 encoded string, it would have to be decoded before re-encoding it using a different encoding. However, the cached configuration shouldn't be written using a non-UTF-8 encoding anyway, as "bcfg2 -f <configuration>" currently doesn't accept any other encodings. (If this is to be changed, the XML encoding declaration of the configuration would have to be adjusted accordingly.) | ||||
* | bcfg2: Convert specification from Unicode to UTF-8 | Holger Weiß | 2011-05-11 | 1 | -1/+1 |
| | | | | | | | | | The client receives the configuration specification as a Unicode string and then hands it over to the XML() function, which expects a UTF-8 encoded string. Therefore, the configuration specification is now converted to UTF-8. Resolves ticket #1009. | ||||
* | fixed several major bugs in bcfg2-lint Validate plugin | Chris St. Pierre | 2011-05-18 | 1 | -2/+5 |
| | |||||
* | bcfg2-info: Fix traceback when no args specified | Sol Jerome | 2011-05-17 | 1 | -1/+1 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | bcfg2-info help returns help without starting a server instance | Chris St. Pierre | 2011-05-16 | 1 | -1/+4 |
| | |||||
* | Fix bcfg2-reports --badentry and --extraentry | Holger Weiß | 2011-05-01 | 1 | -4/+4 |
| | | | | | | | | | The reporting system schema has been changed. This change lead to exceptions such as | AttributeError: 'Entries_interactions' object has no attribute 'name' when running bcfg2-reports with the --badentry or --extraentry options. |