| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
You can specify a refname (like refs/heads/master) as revision and you
will always get the current tree of this refname. During verify it is
checked if the ref had changed in the remote repo and if an "update"
is necessary.
|
|
|
|
|
|
|
| |
dulwich will (even with mkdir=True) not create the directory for
the repository, only the .git directory inside. Because we clean
existing folders before, we have to create the directory in every
case.
|
|
|
|
|
| |
Remember the purge actions per Path entry, so that only needed install
actions are executed.
|
|
|
|
|
|
|
|
| |
The prune actions was not run. The fix that does not add multiple prune
actions on multiple Verify runs in 7077358b1 does not set the pruneTrue
flag during the later Verify runs and therefor the prune actions are
ignored. This set the pruneTrue flag if the first Verify run, detected
some entries that should be pruned.
|
| |
|
|
|
|
|
|
| |
If a directory should be pruned from all unknown files VerifyDirectory
created a new entry each call and the second fails because the
file was already removed.
|
|
|
|
|
|
| |
For auto/any packages, currently only auto/any is stored in the
statistics as the new installed version. This patch changes this
behavior, so that the exact version string is saved additionaly.
|
|
|
|
|
| |
Actions that are executed always, does not set the host statistics
to modified. (One always action would lead to always modified hosts)
|
|
|
|
|
|
|
| |
This is used to first update the apt repositories and than install
all current versions in one bcfg2-run. Also the installation of
software from custom repositories (that are configured on the client
via bcfg2) should be possible on the first run.
|
| |
|
|
|
|
|
| |
On centos5 the hooks raise a TypeError. Replacing the keys with
attributes.
|
|
|
|
|
| |
YUMng did not have any hooks to save data via the DBStats plugin, so
no statistics have been saved.
|
| |
|
|
|
|
| |
it can't be parsed.
|
|
|
|
| |
plugins.
|
| |
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
|
|
|
|
| |
times by a single bcfg2 run (#853)
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This fixes a condition where it would take two Bcfg2 runs to properly
deploy new packages. Prior, if new specification deployed a new Yum
.repo file and new packages from that new repo, Bcfg2 would not be able
to install the new packages until the second run. This change causes
Yum to reload all of its configuration and incorperate any new .repo
files before attempting to install packages.
(cherry picked from commit 059d37b2c385a848764c631d0d735a51908de0cf)
|
| |
|
|
|
|
|
|
|
|
| |
This commit is not compatable with Python 2.4 and below.
Our goal is to support for the foreseeable future 2.4+ for
Bcfg2 server and 2.3+ for Bcfg2 client.
This reverts commit 4310284f6df01caf1b686c9bac8955364a895755.
|
|
|
|
|
|
| |
In earlier versions of python commas (,) could
be used in except statements. The new way is to
use 'as'.
|
|
|
|
| |
* Ticket 1080
|
| |
|
| |
|
| |
|
|
|
|
| |
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>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|\ |
|
| |
| |
| |
| |
| | |
This is highly experimental.
All credits goes to Cameron Banta.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
This access is triggered by running "bcfg2 -r Packages".
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|