| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|\ |
|
| |
| |
| |
| |
| | |
This is highly experimental.
All credits goes to Cameron Banta.
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| | |
|
| |
| |
| |
| | |
changes OS
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
DirectoryBacked plugins
|
| |
| |
| |
| | |
when the Svn2.Update procedure is called
|
| |
| |
| |
| | |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
| |
| |
| |
| | |
When checking <Path type="file"> entries, don't complain about missing
text if the "empty" attribute is set to true.
|
| | |
|
| |
| |
| |
| | |
GroupPatterns uses SingleXMLFileBacked correctly
|
| | |
|
| | |
|
| |
| |
| |
| | |
This access is triggered by running "bcfg2 -r Packages".
|
| |
| |
| |
| |
| |
| |
| | |
Now uses absolute paths so the config file works correctly if the user
inputs relative paths.
Also simplified the config file template a bit as a result.
|
| | |
|
| |
| |
| |
| | |
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 umask was set to zero in order to address the issue that mknod(2)'s
mode argument is modified by the process's umask. However, this umask
setting also affected auto-created parent directories of configuration
entries: their permissions were set to `drwxrwxrwx'. So, we now call
chmod(2) after mknod(2) instead of setting the umask to zero.
|
| |
| |
| |
| | |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| | |
|
| |
| |
| |
| |
| |
| | |
Make sure the "start_sequence" variable is initialized. This fixes a
traceback which occurred when a <Service> "sequence" has been specified
on Debian systems which use dependency-based booting.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The "-f" option, which tells the client to configure from a file rather
than querying the server, cannot be combined with the "-l" option (nor
with the equivalent setting in the bcfg2.conf(5) file), as a decision
list won't be available. Instead of crashing (with a KeyError:
'decision_list'), the client will now ignore the "-l" option if the "-f"
option also is specified.
|
| |
| |
| |
| | |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
| |
| |
| |
| |
| | |
If the file /etc/init.d/.legacy-bootordering exists, dependency-based
booting isn't used, even when running on Debian releases newer than
lenny.
|
| | |
|
| |
| |
| |
| | |
Options.SERVER_PLUGINS.default
|
| |
| |
| |
| | |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|