| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| | |
If the file /etc/init.d/.legacy-bootordering exists, dependency-based
booting isn't used, even when running on Debian releases newer than
lenny.
|
|/
|
|
|
| |
The client now makes sure that an entry won't be reported as modified if
the Install() method which handled the entry returned False.
|
|
|
|
|
| |
Fix the problem that modified entries weren't included in the client
statistics if their "important" attribute was set to "true".
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
|
| |
This fix is more complete than 8059a36 and also fixes issues relating to
the use of wildcards in Decisions.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
| |
Don't run 'post' Action entries if they are unlisted in whitelist mode.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
piping stderr to /dev/null to prevent failure
|
| |
|
|
|
|
|
|
| |
The contents/diffs of <Path>s which are marked as "sensitive" are now
omitted from the reports transmitted to the server, so that they won't
end up in the statistics database.
|
|
|
|
|
| |
If the arch is specified use it to select the package in VerifyPackage()
otherwise just work with the default arch.
|
| |
|
|
|
|
|
|
| |
So a package is not "installed" if a package of the same name but
different arch is. This will enable YUMng to handle multilib
package installs.
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
|
| |
This allows for a recursive='true' attribute such that the owner/group
can be set recursively for a directory when using Path type='permissions'.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
on irc)
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
| |
These accesses are triggered by <Package> configuration entries which
don't have the "version" attribute set to "auto" or "any".
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Bad state
|
| |
|
|
|
|
|
|
|
| |
The man page for 'bcfg2' says to use -r 'all', 'Service' or 'Package',
but the code only responded to -r 'all', 'service' or 'package'.
Update the client to allow 'all', 'service', 'Service', 'package' and
'Package'.
|
|
|
|
|
|
|
|
|
| |
* Changed all references to bcfg2-repo-validate in the documentation
to bcfg2-lint
* Wrote man pages for bcfg2-lint and bcfg2-lint.conf
* Cleaned up straggling references to bcfg2-repo-validate in
Makefiles, spec files, and the POSIX tool
* A few minor bug fixes
|
|
|
|
|
|
|
|
| |
To use, add "Systemd" to the "drivers" option in the "client" section
of bcfg2.conf on the client. Then, define services on the server like
this:
<Service name="rabbitmq-server" status="on" reload="restart" type="systemd"/>
|
|
|
|
|
|
|
|
|
| |
Preliminary support for version control checkouts onto the client. This
client tool is still fairly picky and has some known problems (incorrect
git index file, for one). All the abstraction libraries left quite a bit
to be desired. Also, none were packaged in popular distributions.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
|
|
|
| |
This allows for verification of specified services, but skips
installation completely when mode is set to manual. This means that
incorrect services will still show up in reports, but they won't be
modified in an automated way.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|