summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Addition Yum error handlingJack Neely2011-06-101-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.
* Merge branch 'master' into yumngJack Neely2011-06-100-0/+0
|\
| * Make -q turn off package verification in YUMngJack Neely2011-06-101-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.
* | Make -q turn off package verification in YUMngJack Neely2011-06-101-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.
* Merge branch 'master' of github.com:solj/bcfg2Jack Neely2011-06-10189-2572/+14833
|\
| * POSIX: Detect missing cache directory failuresSol Jerome2011-06-101-2/+9
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * YUMng: Fix typo in last commitSol Jerome2011-06-091-1/+1
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * YUM: Make YUMng the preferred client tool on RPM systemsSol Jerome2011-06-092-3/+1
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * Init: Remove Base from default plugin listSol Jerome2011-06-091-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-091-36/+50
| | | | | | | | | | | | on irc) 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-083-7/+51
| | | | | | | | | | | | 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-073-51/+112
| | | | | | | | | | 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 Jerome2011-06-062-5/+5
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * Merge branch 'non-ascii-diffs' of https://github.com/weiss/bcfg2Sol Jerome2011-06-067-16/+52
| |\
| | * Create non-ASCII diffsHolger Weiß2011-06-062-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-065-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 schemasSol Jerome2011-06-063-48/+67
| |/ | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * All Genshi XML tags should be namespace-qualifiedHolger Weiß2011-06-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Our XML Schema for Genshi templates expected "choose" blocks to be declared like this: <py:choose test="$foo"> <when test="0"><!-- [...] --></when> <when test="1"><!-- [...] --></when> <otherwise><!-- [...] --></otherwise> </py:choose> However, we prefer to namespace-qualify not only the "choose" element, but also the "when" and "otherwise" tags (for clarity, and because that's how it's done in the Genshi documentation): <py:choose test="$foo"> <py:when test="0"><!-- [...] --></py:when> <py:when test="1"><!-- [...] --></py:when> <py:otherwise><!-- [...] --></py:otherwise> </py:choose> This commit tells XML Schema validators to expect the latter style.
| * Validate: Unsuppress errors for invalid schema paths (#1007)Sol Jerome2011-06-051-2/+8
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * Proxy: Catch traceback when name resolution fails (#1012)Sol Jerome2011-06-041-1/+7
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * Document the "decision" option in bcfg2.conf(5)Holger Weiß2011-06-043-6/+12
| | | | | | | | | | | | 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-032-0/+8
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * Allow Bound entries and Client tags in Base SchemaHolger Weiß2011-06-031-9/+13
| | | | | | | | | | Bound entries and Client tags may also be used in Base/*.xml files, so the XML Schema for Base files must permit these entries.
| * bcfg2-server: Add the ability to listen on specific interfaces (#1013)Sol Jerome2011-06-035-12/+53
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * guarantee that timeout is a floatChris St. Pierre2011-06-011-1/+1
| |
| * added -t option to set client timeoutChris St. Pierre2011-06-015-7/+20
| |
| * export.py: Refactor find and replace bitsSol Jerome2011-05-311-33/+28
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * export.py: Update documentation version numbersSol Jerome2011-05-311-0/+7
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * Cfg: Fix traceback for non-ascii filesSol Jerome2011-05-312-0/+13
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * POSIX: Clarify normalization error (Reported by Tim Goodaire)Sol Jerome2011-05-252-21/+39
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * doc: Fix inline literal referenceSol Jerome2011-05-251-4/+5
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * allow setting whitelist/blacklist mode in bcfg2.confChris St. Pierre2011-05-242-11/+27
| |
| * schemas: Fix schema for important attributeSol Jerome2011-05-211-1/+1
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * don't run lint server plugins if serverless plugins produced errors; avoids ↵Chris St. Pierre2011-05-201-2/+14
| | | | | | | | an ugly stack trace if a file fails to validate
| * fixed typo in bcfg2-lint man page (thanks jsbillings)Chris St. Pierre2011-05-201-1/+1
| |
| * removed debugging output from Validate pluginChris St. Pierre2011-05-201-3/+0
| |
| * Merge pull request #35 from weiss/fix-genshi-encodingSol Jerome2011-05-201-2/+3
| |\ | | | | | | Cfg: Fix the output encoding of Genshi templates
| | * Cfg: Fix the output encoding of Genshi templatesHolger Weiß2011-04-131-2/+3
| | | | | | | | | | | | | | | | | | Encode the configuration files generated from Genshi templates according to the encoding setting from Options.py instead of unconditionally using UTF-8.
| * | Merge pull request #34 from weiss/filter-apt-warningsSol Jerome2011-05-201-0/+2
| |\ \ | | |/ | |/| APT: Add two filters for deprecated API accesses
| | * APT: Add two filters for deprecated API accessesHolger Weiß2011-05-201-0/+2
| |/ | | | | | | | | These accesses are triggered by <Package> configuration entries which don't have the "version" attribute set to "auto" or "any".
| * Merge pull request #33 from weiss/fix-spec-encodingSol Jerome2011-05-191-2/+2
| |\ | | | | | | bcfg2: Convert specification from Unicode to UTF-8
| | * Revert "bcfg2: Write cached config using encoding from Options.py"Holger Weiß2011-05-191-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-8Holger Weiß2011-05-111-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 pluginChris St. Pierre2011-05-182-8/+15
| |
| * Fixed fileprobes schemaChris St. Pierre2011-05-181-1/+1
| |
| * doc: Fix Cfg exampleSol Jerome2011-05-171-3/+3
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * Merge branch 'master' of https://github.com/solj/bcfg2Chris St. Pierre2011-05-172-2/+2
| |\
| | * bcfg2-info: Fix traceback when no args specifiedSol Jerome2011-05-171-1/+1
| | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| | * doc: Fix formatting errorSol Jerome2011-05-171-1/+1
| | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>