summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix: "–" is narrower than "+" in most fonts - "−" will be bettermkd2011-10-311-1/+1
|
* properly initialize content so that non-existant files don't get readChris St. Pierre2011-10-311-0/+1
|
* catch XML syntax error in xinclude routinesChris St. Pierre2011-10-311-1/+7
|
* Version bump to 1.2.0rc2v1.2.0rc2Sol Jerome2011-10-289-8/+14
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* initialize longtime correctlyChris St. Pierre2011-10-281-1/+1
|
* Made Verifyfile() much more efficient and resilient:Chris St. Pierre2011-10-281-99/+148
| | | | | | | | | | * Use file size to do an initial comparison to see if the file on disk differs from the data in the config; * Only do diffs if necessary: unified diff if -I is used, ndiff if a file is not sensitive or binary; * Both diffs have timeouts; * Fixed edge case where null-content binary files would produce stack traces, not errors.
* fixed several bugs with creation of new ssh host keysChris St. Pierre2011-10-281-12/+30
|
* got a little overzealous with the .rstrip()Chris St. Pierre2011-10-281-1/+1
|
* fixed bug with inclusion of bogus ssh host keys in ssh_known_hostsChris St. Pierre2011-10-271-0/+2
|
* Add a number of features to SSHbase:Chris St. Pierre2011-10-277-179/+328
| | | | | | | * Support for group-specific host keys * Support for fully static host- and group-specific ssh_known_hosts * (Support for totally generic host keys and ssh_known_hosts, too, but that's pretty useless.) * Support for info.xml, info, and :info files; only info.xml is likely to be useful, with the <Path> directive
* ensure that source cache files do not get cleared on server startupChris St. Pierre2011-10-241-2/+3
|
* added timestamp attribute to Probe dataChris St. Pierre2011-10-241-7/+20
|
* doc: Add faviconSol Jerome2011-10-212-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* doc: Fix Sphinx warningSol Jerome2011-10-211-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* doc: Reference info.xml note from tableSol Jerome2011-10-201-0/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* SSHbase: ECDSA key support from ticket #1063Sol Jerome2011-10-201-2/+10
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Don't cache StructFile entriesHolger Weiß2011-10-201-8/+4
| | | | | | Re-parse the contents of a StructFile each time they are requested, instead of caching them. This makes sure that any group membership changes are taken into account when <Group> tags are parsed.
* avoid backtrace when bcfg2-yum-helper does not existChris St. Pierre2011-10-191-1/+8
|
* Various Packages plugin fixes:Chris St. Pierre2011-10-1910-374/+573
| | | | | | | | | | | | | * 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.
* Improve error handling of Packages plugin.Mike McCallister2011-10-157-40/+42
| | | | | | | | | | | | Provide a descriptive error message that avoids logging a traceback. Error out (instead of continuing) upon receiving an HTTP error or an indication that the URL is malformed. Only write data to the cache file if it was successfully retrieved from the URL. Make log messages for Packages plugin use consistent "Packages:" prefix.
* Use urlopen from urllib2 instead of urllib so that HTTP errors will be caught.Mike McCallister2011-10-151-1/+1
| | | | | When using urllib.urlopen, no exception is thrown when the URL request receives a 403 error, for example.
* Replaced print statements in Packages with logger calls.Mike McCallister2011-10-152-4/+4
|
* Merge branch 'fix_default_logging_level' of ↵Sol Jerome2011-10-151-3/+4
|\ | | | | | | https://github.com/mikemccllstr/bcfg2
| * Pass logging level to Bcfg2.Logger.setup_logging() INFO is set as defaultMike McCallister2011-10-141-3/+4
| | | | | | | | | | | | Prior to this changeset, the Bcfg2.Logger.setup_logging() method was called without passing level, so it defaulted to 0, which appears to be DEBUG.
* | Implement the preceeding change for SGenshi, too.Mike McCallister2011-10-151-1/+2
| | | | | | | | This is where the mistaken Bundle names were being generated.
* | Avoid reporting Genshi bundles as missingMike McCallister2011-10-151-1/+2
|/ | | | | | | | | | | | | Genshi bundles were reported as missing in the configuration with error messages like the following: Client CLIENTNAME configuration missing bundles: GBUNDLE1:GBUNDLE2 This seems to be caused by the Bundle name being derived from the filename, which was assumed to end in a four character extension of ".xml". When the extension was actually ".genshi", the ".ge" portion was left behind, and the code couldn't match up the requested bundles with the generated bundles.
* Merge branch 'plugin/ldap/dev/trehn' of https://github.com/trehn/bcfg2Sol Jerome2011-10-131-7/+14
|\
| * improve error logging during LDAP query processingTorsten Rehn2011-10-131-7/+14
| | | | | | | | | | | | | | | | This replaces the mostly useless error messages likes LdapPlugin error: list index out of range with information about which query failed and a traceback for debugging
* | Proxy: Provide proper error message for misconfigured CA (#1059)Sol Jerome2011-10-132-96/+99
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | SSLServer: Fix traceback in xcmd toggle_debugSol Jerome2011-10-131-1/+2
|/ | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* fixed inclusion of group packagesChris St. Pierre2011-10-122-4/+12
| | | | fixed loading of sources at server startup
* Cfg: Add support for .cheetah filesJoe Digilio2011-10-122-10/+66
|
* only cache packages from a package set, not unknownsChris St. Pierre2011-10-121-5/+7
|
* APK: Pylint/PEP8 fixesSol Jerome2011-10-111-8/+12
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Merge branch 'apk' of https://github.com/fabaff/bcfg2Sol Jerome2011-10-114-4/+71
|\
| * Some documentation for apk.Fabian Affolter2011-10-111-0/+9
| |
| * Initial support for the APK management in Alpine Linux. Fabian Affolter2011-10-111-0/+58
| | | | | | | | | | This is highly experimental. All credits goes to Cameron Banta.
| * Minor changesFabian Affolter2011-10-112-4/+4
| |
* | doc: Fix old .data references (#1046)Sol Jerome2011-10-114-30/+30
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Cfg: Use two-digit group prioritiesSol Jerome2011-10-111-1/+1
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | fixed variable name typoChris St. Pierre2011-10-101-3/+3
| |
* | don't cache collections by hostname; this could lead to bad data if a host ↵Chris St. Pierre2011-10-072-30/+17
| | | | | | | | changes OS
* | * Added support for yum libraries (if available and configured). ThisChris St. Pierre2011-10-0721-1412/+2402
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | can dramatically reduce memory usage, and fixed several bugs: * #1014 (Package plugin can't resolve dependencies for rpms with Require: tags for full paths that aren't Provided explicitly) * #991 (Dependency Resolution difference between Package and yum) * #996 (Packages high memory usage) * Added support for Yum package groups when using yum libraries (#1039) * Fixed #911 (bcfg2 output for wrong package version with Packages is misleading) * YUMng turns down the Yum debug level itself depending on the debug/verbosity level requested by bcfg2 so you don't have to reduce the Yum debug level on a global basis * Added support for Pulp repositories, including registering Pulp consumers and binding to repositories * Added ability to disable magic OS groups
* | fixed issue with bogus filenames in Bundler in a more generic way for all ↵Chris St. Pierre2011-10-052-10/+4
| | | | | | | | DirectoryBacked plugins
* | make Bundler skip unknown filenames; this prevents an occasional stack trace ↵Chris St. Pierre2011-10-051-2/+7
| | | | | | | | when the Svn2.Update procedure is called
* | Core: Fix log message for #1053Sol Jerome2011-09-221-1/+1
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Action: Add "build" attribute to Schema and docsHolger Weiß2011-09-224-12/+18
| | | | | | | | | | Add the "build" attribute for <Action> entries to the XML Schema and to the documentation.
* | bcfg2-lint: Honor the "empty" attributeHolger Weiß2011-09-211-1/+2
| | | | | | | | | | When checking <Path type="file"> entries, don't complain about missing text if the "empty" attribute is set to true.
* | bug fix : pop vs. removeChris St. Pierre2011-09-211-1/+1
| |
* | schema fixesChris St. Pierre2011-09-202-12/+12
| |