| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
|
|
|
|
| |
an ugly stack trace if a file fails to validate
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 5d69ff7e966c4ffa911c78d11a6879b48e90aef8.
As the "rawconfig" variable now holds a UTF-8 encoded string, it would
have to be decoded before re-encoding it using a different encoding.
However, the cached configuration shouldn't be written using a non-UTF-8
encoding anyway, as "bcfg2 -f <configuration>" currently doesn't accept
any other encodings. (If this is to be changed, the XML encoding
declaration of the configuration would have to be adjusted accordingly.)
|
|
|
|
|
|
|
|
|
| |
The client receives the configuration specification as a Unicode string
and then hands it over to the XML() function, which expects a UTF-8
encoded string. Therefore, the configuration specification is now
converted to UTF-8.
Resolves ticket #1009.
|
| |
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
The reporting system schema has been changed. This change lead to
exceptions such as
| AttributeError: 'Entries_interactions' object has no attribute 'name'
when running bcfg2-reports with the --badentry or --extraentry options.
|
| |
|
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
(cherry picked from commit beb08649193f2c799017024bb738dc31b3420cb2)
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
|
| |
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'.
|
|
|
|
|
|
| |
combine config files
get full stack trace from failed plugins for easier troubleshooting
|
|
|
|
|
|
| |
* fixed bcfg2-lint bug with older pythons
* made bcfg2-lint silent by default on success
* adjusted bcfg2-lint defaults and alerting levels to work better out-of-the-box
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
|
|
|
| |
interface to be lots more flexible and extensible. Added several more
tests. If bcfg2-lint is run as bcfg2-repo-validate, it roughly
emulates the functionality of that program.
TODO: Need to figure out correct way to symlink bcfg2-repo-validate to
bcfg2-lint on install.
|
|
|
|
| |
group file
|
| |
|
|\ |
|
| |\ |
|
| | |
| | |
| | |
| | | |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
"Properties/foo.xml" and "Properties/foo.xsd") which specifies a
schema for that property file. bcfg2-repo-validate will check the
property file against its schema.
Updated bcfg2-repo-validate man page with several new options.
|
|/
|
|
|
|
| |
* bcfg2-repo-validate does not chase XIncludes if --stdin has been
specified, but just validates the Metadata files you provide on
stdin
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|\ |
|
| |
| |
| |
| | |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|/
|
|
|
|
|
|
|
| |
* --schema allows you to specify a custom path to the XML Schema files
* --stdin allows you to specify a list of files on stdin and
bcfg2-repo-validate will only validate those files. This is
particularly useful to speed up validation checks in post-commit
hooks (or similar).
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
|
|
|
| |
This fix is to address the traceback at
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608613. We need to
inform the user about the [statistics] section in bcfg2.conf so that
they can go and find the necessary information needed to set up reports.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
|
|
| |
The POSIX client tool now has the ability to recursively remove the
contents of a specified directory provided there are no other managed
entries under the directory.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
|
| |
|
|
|
|
| |
#975)
|
|
|
|
|
|
|
|
| |
* Handle keyboard interrupts (fixes a traceback)
* Fix default plugin list (missing punctuation)
* Various PEP8 fixes
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
(cherry picked from commit d5ec1109b1fee021b14966fff1b143217abc292d)
|
|
|
|
| |
(cherry picked from commit 4463d2dc9356685e1b22256a60b3e22eb69378e4)
|
|
|
|
| |
(cherry picked from commit 19d936d06d907e127bd678fa62372ac67f9cb374)
|
| |
|
|
|
|
|
|
|
|
| |
Implement the -Q option for the bcfg2 client. This option only verifies
and installs the entries in bundles specified with -b. Considerably
improves runtime performance when package checksums are being checked.
This option prevents the client from sending statistics to the server,
and is incompatible with -r.
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
(cherry picked from commit d7ce5d6926dffab8c167d41f4068d0f71c9beda7)
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6084 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
| |
on IRC)
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6068 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
https://me.yahoo.com/a/2SlxL.p_rsQD.KxOt3q32tWWsQ--#39bec) (Resolves #915)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6061 ce84e21b-d406-0410-9b95-82705330c041
|