Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Options: Set default encoding to UTF-8 (as per Holger Weiß's suggestion) | Sol Jerome | 2011-06-06 | 1 | -2/+4 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Merge branch 'non-ascii-diffs' of https://github.com/weiss/bcfg2 | Sol Jerome | 2011-06-06 | 7 | -16/+52 |
|\ | |||||
| * | Create non-ASCII diffs | Holger Weiß | 2011-06-06 | 2 | -10/+21 |
| | | | | | | | | | | | | | | | | | | | | | | The client now also transmits diffs of files which include non-US-ASCII data (using the encoding setting from Options.py), unless they look like binary files. In the past, non-ASCII files were transmitted as Base64 blobs. In addition, "bcfg2 -I" no longer refuses to display non-ASCII diffs. Resolves ticket #999. | ||||
| * | Accept non-ASCII diffs | Holger Weiß | 2011-06-06 | 5 | -6/+31 |
| | | | | | | | | | | | | | | Currently, client reports don't include diffs of files which aren't US-ASCII encoded. The client transmits such files as Base64 blobs. As we'd like to change that, this commit teaches the server to properly handle non-ASCII diffs. | ||||
* | | Validate: Create and use new error type for missing schemas | Sol Jerome | 2011-06-06 | 2 | -2/+3 |
|/ | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Validate: Unsuppress errors for invalid schema paths (#1007) | Sol Jerome | 2011-06-05 | 1 | -2/+8 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Proxy: Catch traceback when name resolution fails (#1012) | Sol Jerome | 2011-06-04 | 1 | -1/+7 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Document the "decision" option in bcfg2.conf(5) | Holger Weiß | 2011-06-04 | 1 | -2/+2 |
| | | | | | | Add documentation for the "decision" option to the bcfg2.conf(5) man page. Also, note that it can be overridden using "-l none" on the bcfg2(1) command line. | ||||
* | Base: Deprecate Base in favor of Bundler | Sol Jerome | 2011-06-03 | 1 | -0/+1 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | bcfg2-server: Add the ability to listen on specific interfaces (#1013) | Sol Jerome | 2011-06-03 | 4 | -12/+47 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | guarantee that timeout is a float | Chris St. Pierre | 2011-06-01 | 1 | -1/+1 |
| | |||||
* | added -t option to set client timeout | Chris St. Pierre | 2011-06-01 | 4 | -7/+15 |
| | |||||
* | Cfg: Fix traceback for non-ascii files | Sol Jerome | 2011-05-31 | 1 | -0/+7 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | POSIX: Clarify normalization error (Reported by Tim Goodaire) | Sol Jerome | 2011-05-25 | 1 | -2/+4 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | allow setting whitelist/blacklist mode in bcfg2.conf | Chris St. Pierre | 2011-05-24 | 1 | -0/+1 |
| | |||||
* | 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 | ||||
* | removed debugging output from Validate plugin | Chris St. Pierre | 2011-05-20 | 1 | -3/+0 |
| | |||||
* | Merge pull request #35 from weiss/fix-genshi-encoding | Sol Jerome | 2011-05-20 | 1 | -2/+3 |
|\ | | | | | Cfg: Fix the output encoding of Genshi templates | ||||
| * | Cfg: Fix the output encoding of Genshi templates | Holger Weiß | 2011-04-13 | 1 | -2/+3 |
| | | | | | | | | | | | | Encode the configuration files generated from Genshi templates according to the encoding setting from Options.py instead of unconditionally using UTF-8. | ||||
* | | APT: Add two filters for deprecated API accesses | Holger Weiß | 2011-05-20 | 1 | -0/+2 |
|/ | | | | | These accesses are triggered by <Package> configuration entries which don't have the "version" attribute set to "auto" or "any". | ||||
* | 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 | 2 | -8/+15 |
| | |||||
* | Merge branch 'master' of https://github.com/solj/bcfg2 | Chris St. Pierre | 2011-05-17 | 1 | -1/+1 |
|\ | |||||
| * | 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> | ||||
* | | added bcfg2-lint MergeFiles plugin to suggest config files and probes | Chris St. Pierre | 2011-05-17 | 2 | -10/+104 |
|/ | | | | | | that are very similar and could be merged added text wrapping to bcfg2-lint error handling | ||||
* | bcfg2-info help returns help without starting a server instance | Chris St. Pierre | 2011-05-16 | 1 | -1/+4 |
| | |||||
* | Cfg: Fix bcfg2-admin pull behavior for genshi templates (#1010) | Sol Jerome | 2011-05-13 | 1 | -1/+2 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Merge pull request #31 from weiss/fix-typo | Sol Jerome | 2011-05-13 | 1 | -2/+2 |
|\ | | | | | Fix a typo in an SSL error message | ||||
| * | Fix a typo in an SSL error message | Holger Weiß | 2011-05-11 | 1 | -2/+2 |
| | | |||||
* | | 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. | ||||
* | Plugin: Fix nasty list comprehension bug | Sol Jerome | 2011-05-11 | 1 | -2/+2 |
| | | | | | | | It appears as though Python 2 kept around variables assigned within a list comprehensions which caused this to go unnoticed. Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Cfg: Fix PluginExecutionError | Tim Laszlo | 2011-05-11 | 1 | -1/+1 |
| | | | | Replaces PluginExecutionError with Bcfg2.Server.Plugin.PluginExecutionError. Reported by emias. | ||||
* | Added FileProbes plugin. | Chris St. Pierre | 2011-05-11 | 2 | -1/+180 |
| | |||||
* | Fixed error messages from info.xml bcfg2-lint check | Chris St. Pierre | 2011-05-11 | 1 | -5/+5 |
| | |||||
* | Improved Svn2 error handling -- ClientError may not have a message attribute. | Chris St. Pierre | 2011-05-11 | 1 | -4/+4 |
| | |||||
* | SSHbase: Fix PY3K tracebacks for known_hosts file | Sol Jerome | 2011-05-10 | 1 | -1/+1 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Logger: Fix non-string logging | Sol Jerome | 2011-05-10 | 1 | -10/+13 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Logger: Statement always was True in python 2 | Sol Jerome | 2011-05-09 | 1 | -15/+10 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Logger: Use bytes for PY3K | Sol Jerome | 2011-05-09 | 1 | -1/+3 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Merge pull request #30 from trehn/master | Sol Jerome | 2011-05-09 | 2 | -0/+2 |
|\ | | | | | import sys for SGenshi and Bundler | ||||
| * | add yet another missing sys import | Torsten Rehn | 2011-05-09 | 1 | -0/+1 |
| | | |||||
| * | add another missing sys import | Torsten Rehn | 2011-05-09 | 1 | -0/+1 |
| | | |||||
* | | Merge pull request #29 from trehn/plugin-ldap-dev-trehn | Sol Jerome | 2011-05-09 | 1 | -1/+10 |
|\ \ | | | | | | | Two small fixes for Ldap plugin | ||||
| * | | log more useful error message if python-ldap is not installed | Torsten Rehn | 2011-05-09 | 1 | -1/+9 |
| | | | |||||
| * | | add missing sys import | Torsten Rehn | 2011-05-09 | 1 | -0/+1 |
| | | | |||||
* | | | Upstart: Fix typo reported by justintime on IRC | Sol Jerome | 2011-05-09 | 1 | -1/+1 |
| |/ |/| | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | | DBStats: Stop duplicating data in reports_reason | Tim Laszlo | 2011-05-09 | 1 | -6/+3 |
|/ |