summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* Correct the description of bcfg2(1)'s "-z" optionHolger Weiß2011-06-211-1/+1
| | | | | The "-z" option is for use with Independent collections instead of Bundles.
* Version bump to 1.2.0pre3v1.2.0pre3Sol Jerome2011-06-181-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* POSIX: Add recursive permissions (Ticket #871)Sol Jerome2011-06-181-2/+57
| | | | | | | This allows for a recursive='true' attribute such that the owner/group can be set recursively for a directory when using Path type='permissions'. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Improved handling of JSON data from probesChris St. Pierre2011-06-171-7/+10
|
* updated Lint.Comments for new properties XML handlingChris St. Pierre2011-06-171-1/+1
|
* change error to debugChris St. Pierre2011-06-161-2/+1
|
* SSLServer: Fix errors reported by emias on IRCSol Jerome2011-06-151-2/+4
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Merge branch 'py3k'Sol Jerome2011-06-1513-30/+68
|\
| * Hostbase: More PY3K fixesSol Jerome2011-06-153-8/+15
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * Client Tools: Add PY3K compatibilitySol Jerome2011-06-156-22/+49
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * PY3K: Add compatibility commentsSol Jerome2011-06-154-0/+4
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | fixed bugs with handling of negate in new StructFile.Match()Chris St. Pierre2011-06-151-2/+4
| |
* | cleaned up some ProbeData stuff, make null probe storage more consistentChris St. Pierre2011-06-151-3/+5
| |
* | Merge branch 'work'Chris St. Pierre2011-06-152-84/+45
|\ \
| * | bug fixesChris St. Pierre2011-06-152-19/+13
| | |
| * | made StructFile.Match() work with Group/Client tags inside other tagsChris St. Pierre2011-06-152-79/+46
| | |
* | | SSLServer: Fix another syntax error for python 2Sol Jerome2011-06-151-1/+5
| | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | | SSLServer: Fix syntax error for python 2Sol Jerome2011-06-151-1/+1
|/ / | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* / make Bcfg2 automatically handle JSON, XML, and YAML output from probesChris St. Pierre2011-06-151-4/+89
|/
* PY3K: Finish server-side code fixesSol Jerome2011-06-147-19/+39
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Init: Remove Base from default plugins listSol Jerome2011-06-141-2/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Revert "Init: Remove Base from default plugin list"Sol Jerome2011-06-141-0/+1
| | | | This reverts commit 611ce16c8cef81a6fc754c46dcb5cbe618b20b67.
* Addition Yum error handlingJack Neely2011-06-141-16/+34
| | | | | | Address ticket #955 and attempt to capture the exceptions that may possibly be generated from Yum or Yum's plugins and return some sort of error message.
* Make -q turn off package verification in YUMngJack Neely2011-06-141-0/+3
| | | | | | This make the YUMng verification behavior like the APT tool. Before hand we just turned off package checksums which only worked with very new versions of Yum.
* POSIX: Detect missing cache directory failuresSol Jerome2011-06-141-2/+9
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* YUMng: Fix typo in last commitSol Jerome2011-06-141-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* YUM: Make YUMng the preferred client tool on RPM systemsSol Jerome2011-06-142-3/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Init: Remove Base from default plugin listSol Jerome2011-06-141-1/+0
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Frame: Fix 'important' entry installation in decision mode (Reported by m4z ↵Sol Jerome2011-06-141-36/+50
| | | | | | on irc) Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Options: Set default encoding to UTF-8 (as per Holger Weiß's suggestion)Sol Jerome2011-06-141-2/+4
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Validate: Create and use new error type for missing schemasSol Jerome2011-06-142-2/+3
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Create non-ASCII diffsHolger Weiß2011-06-142-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 diffsHolger Weiß2011-06-145-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: Unsuppress errors for invalid schema paths (#1007)Sol Jerome2011-06-141-2/+8
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Proxy: Catch traceback when name resolution fails (#1012)Sol Jerome2011-06-141-1/+7
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Document the "decision" option in bcfg2.conf(5)Holger Weiß2011-06-141-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 BundlerSol Jerome2011-06-141-0/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bcfg2-server: Add the ability to listen on specific interfaces (#1013)Sol Jerome2011-06-143-12/+45
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* guarantee that timeout is a floatChris St. Pierre2011-06-141-1/+1
|
* added -t option to set client timeoutChris St. Pierre2011-06-143-3/+9
|
* Cfg: Fix traceback for non-ascii filesSol Jerome2011-06-141-0/+7
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* POSIX: Clarify normalization error (Reported by Tim Goodaire)Sol Jerome2011-06-141-2/+4
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* allow setting whitelist/blacklist mode in bcfg2.confChris St. Pierre2011-06-141-0/+1
|
* removed debugging output from Validate pluginChris St. Pierre2011-06-141-3/+0
|
* APT: Add two filters for deprecated API accessesHolger Weiß2011-06-141-0/+2
| | | | | These accesses are triggered by <Package> configuration entries which don't have the "version" attribute set to "auto" or "any".
* fixed several major bugs in bcfg2-lint Validate pluginChris St. Pierre2011-06-141-6/+10
|
* added bcfg2-lint MergeFiles plugin to suggest config files and probesChris St. Pierre2011-06-142-10/+104
| | | | | | that are very similar and could be merged added text wrapping to bcfg2-lint error handling
* Cfg: Fix bcfg2-admin pull behavior for genshi templates (#1010)Sol Jerome2011-06-141-1/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Plugin: Fix nasty list comprehension bugSol Jerome2011-06-141-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 PluginExecutionErrorTim Laszlo2011-06-141-1/+1
| | | | Replaces PluginExecutionError with Bcfg2.Server.Plugin.PluginExecutionError. Reported by emias.