summaryrefslogtreecommitdiffstats
path: root/src/sbin
Commit message (Collapse)AuthorAgeFilesLines
...
* bcfg2-server: Add the ability to listen on specific interfaces (#1013)Sol Jerome2011-06-031-0/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* added -t option to set client timeoutChris St. Pierre2011-06-011-4/+6
|
* don't run lint server plugins if serverless plugins produced errors; avoids ↵Chris St. Pierre2011-05-201-2/+14
| | | | an ugly stack trace if a file fails to validate
* Revert "bcfg2: Write cached config using encoding from Options.py"Holger Weiß2011-05-191-1/+1
| | | | | | | | | | | 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.)
* bcfg2: Convert specification from Unicode to UTF-8Holger Weiß2011-05-111-1/+1
| | | | | | | | | 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.
* fixed several major bugs in bcfg2-lint Validate pluginChris St. Pierre2011-05-181-2/+5
|
* bcfg2-info: Fix traceback when no args specifiedSol Jerome2011-05-171-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bcfg2-info help returns help without starting a server instanceChris St. Pierre2011-05-161-1/+4
|
* Fix bcfg2-reports --badentry and --extraentryHolger Weiß2011-05-011-4/+4
| | | | | | | | | 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.
* made bcfg2-lint error handling configurable on a much more granular levelChris St. Pierre2011-05-051-31/+54
|
* bcfg2: Fix typosSol Jerome2011-04-291-2/+2
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> (cherry picked from commit beb08649193f2c799017024bb738dc31b3420cb2)
* src/sbin: Add full PY3K compatibilitySol Jerome2011-04-278-109/+128
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Fix the bcfg2 client -r optionJonathan Billings2011-04-251-1/+6
| | | | | | | 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 [main] section of bcfg2-lint.conf to [lint] to make it possible to ↵Chris St. Pierre2011-04-251-6/+2
| | | | | | combine config files get full stack trace from failed plugins for easier troubleshooting
* Misc. bcfg2-lint fixes and tweaks:Chris St. Pierre2011-04-211-4/+11
| | | | | | * 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
* Lots of cleanup for bcfg2-repo-validate rewrite:Chris St. Pierre2011-04-211-6/+5
| | | | | | | | | * 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
* repo-validate: Recreate as a symlink to bcfg2-lintSol Jerome2011-04-201-0/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Rewrote bcfg2-repo-validate as bcfg2-lint, which uses a pluginChris St. Pierre2011-04-202-328/+167
| | | | | | | | | 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.
* fixed XInclude magic and determination of whether a file is a client or ↵Chris St. Pierre2011-04-151-19/+49
| | | | group file
* fixed typo from mergeChris St. Pierre2011-04-141-1/+1
|
* resolved bcfg2-repo-validate conflictsChris St. Pierre2011-04-141-4/+5
|\
| * Merge branch 'py3k'Sol Jerome2011-04-137-150/+201
| |\
| | * src/sbin: PY3K + PEP8 fixesSol Jerome2011-04-137-150/+201
| | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | | only check for multiple default groups if groups.xml is included in validationChris St. Pierre2011-04-141-9/+8
| | |
* | | A property file can now have a matching .xsd file (e.g.,Chris St. Pierre2011-04-131-65/+109
|/ / | | | | | | | | | | | | | | "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.
* / * Made Metadata files validate whether or not XIncludes had been processedChris St. Pierre2011-04-131-24/+25
|/ | | | | | * bcfg2-repo-validate does not chase XIncludes if --stdin has been specified, but just validates the Metadata files you provide on stdin
* repo-validate: Remove unused prefix optionSol Jerome2011-04-111-1/+0
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* merged upstream changesChris St. Pierre2011-04-111-17/+15
|\
| * repo-validate: Verify genshi bundle listSol Jerome2011-04-081-19/+17
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Added two flags to bcfg2-repo-validate:Chris St. Pierre2011-04-111-37/+66
|/ | | | | | | | | * --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).
* man: Add man page for bcfg2-ping-sweep (#997)Sol Jerome2011-03-171-10/+11
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bcfg2-reports: Fail gracefully when missing statisticsSol Jerome2011-03-171-1/+7
| | | | | | | | | 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>
* bcfg2-reports: Fix usage helpSol Jerome2011-03-011-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* POSIX: Implement recursive attribute for nonexistent PathsSol Jerome2011-02-211-1/+1
| | | | | | | | 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>
* bcfg2-info: switch to using POSIX driver for builddir (Resolves Ticket #760)Narayan Desai2011-01-221-40/+21
|
* bcfg2-info: print error message when buildfile fails (Resolves Ticket #804)Narayan Desai2011-01-221-4/+7
|
* Bcfg2: handle server strings that don't start with https:// (Resolves Ticket ↵Narayan Desai2011-01-121-0/+2
| | | | #975)
* bcfg2-admin: Fix multiple errorsSol Jerome2011-01-101-1/+4
| | | | | | | | * Handle keyboard interrupts (fixes a traceback) * Fix default plugin list (missing punctuation) * Various PEP8 fixes Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Remove old references to ConfigFileSol Jerome2011-01-051-3/+3
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Some pylint stuff fixedFabian Affolter2011-01-051-19/+30
| | | | (cherry picked from commit d5ec1109b1fee021b14966fff1b143217abc292d)
* Added option to show server configuration detailsFabian Affolter2011-01-051-27/+57
| | | | (cherry picked from commit 4463d2dc9356685e1b22256a60b3e22eb69378e4)
* Prep for config stuffFabian Affolter2011-01-051-20/+25
| | | | (cherry picked from commit 19d936d06d907e127bd678fa62372ac67f9cb374)
* Using xpath rather than findall so that we can handle the condition correctlyCalen Pennington2010-12-071-1/+1
|
* bcfg2: implement -Q option (bundle-quick mode)Narayan Desai2010-11-021-2/+15
| | | | | | | | 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.
* POSIX: Remove client-side support for old POSIX typesSol Jerome2010-11-021-18/+23
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Keep interpreter specifications consistentSol Jerome2010-11-021-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bcfg2-info: showentries matches argument length incorrectlyTim Laszlo2010-11-021-1/+1
| | | | (cherry picked from commit d7ce5d6926dffab8c167d41f4068d0f71c9beda7)
* bcfg2-admin: explicitly shutdown the core at exit. fixes thread hangs.Tim Laszlo2010-10-071-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6084 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-repo-validate: Remove non-required attributes (Reported by fearitself ↵Sol Jerome2010-09-261-3/+3
| | | | | | | | 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
* bcfg2: fix fatal_error on 2.5+ (approach from ↵Narayan Desai2010-09-261-1/+1
| | | | | | 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