| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
file that was just probed
|
| |
|
|
|
|
|
|
|
|
| |
If a package is available in multiple repositories, the first one
specified in the sources.xml file should be used for dependency
resolution. In the past, the Packages code had to reverse the internal
order of sources to achieve this effect; with the current code, this is
no longer the case.
|
|
|
|
|
|
| |
By default, don't set the "sensitive" attribute for private SSH keys, as
this breaks pulling them with bcfg2-admin. Users can set the attribute
in an info.xml file.
|
| |
|
| |
|
|
|
|
| |
backtraces
|
| |
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
the contents.
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
| |
Sort the (non-static) public keys in the auto-generated ssh_known_hosts
files by hostname (or group).
|
|
|
|
|
| |
A newline character was missing before the first localhost entry in the
ssh_known_hosts files created by SSHbase.
|
| |
|
| |
|
|
|
|
|
| |
Removed apparently unused functions (checked via grep)
Refactored setup_logging in to several functions for clarity.
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
When using urllib.urlopen, no exception is thrown when the URL request
receives a 403 error, for example.
|
| |
|
|\
| |
| |
| | |
https://github.com/mikemccllstr/bcfg2
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
This is where the mistaken Bundle names were being generated.
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|/
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
fixed loading of sources at server startup
|