summaryrefslogtreecommitdiffstats
path: root/src/sbin
Commit message (Collapse)AuthorAgeFilesLines
* 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
* bcfg2-repo-validate: Patch from Joe Digilio to fix tb in Ticket #939Sol Jerome2010-09-131-1/+2
| | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6055 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-info: Add IPython support (Patch from Jeff Strunk) for Ticket #921Sol Jerome2010-08-271-1/+6
| | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6034 ce84e21b-d406-0410-9b95-82705330c041
* repo-validate: Validate two levels of Group nesting (Fixes Ticket #805)Sol Jerome2010-08-271-2/+6
| | | | | | | | | | This change forces the validator to check two levels of group nesting so that we don't assume two packages are the same based only on their parent groups. Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6033 ce84e21b-d406-0410-9b95-82705330c041
* Some minor changes on the comments to match PEP 8.Fabian Affolter2010-08-181-29/+36
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6022 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2: Add back the new SSL key options (Fixes Ticket #916)Sol Jerome2010-08-141-3/+4
| | | | | | | | | | The man page no longer contains the -K option mentioned in Ticket #908. This has been removed since [6013]. We still need the key option available in the client to prevent Ticket #916. Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6021 ce84e21b-d406-0410-9b95-82705330c041
* Revert "Quick hack to fix #910"Sol Jerome2010-08-141-19/+12
| | | | | | | We can achieve this behavior by setting the prefix in bcfg2.conf under the [server] section. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6019 ce84e21b-d406-0410-9b95-82705330c041
* Quick hack to fix #910Fabian Affolter2010-08-141-12/+19
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6017 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2: fix option parsing for ssl key (Resolves Ticket #908)Narayan Desai2010-08-111-1/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6010 ce84e21b-d406-0410-9b95-82705330c041
* Minor layout changesFabian Affolter2010-08-111-7/+7
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6007 ce84e21b-d406-0410-9b95-82705330c041
* Harmonised log messagesFabian Affolter2010-08-111-10/+10
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6006 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-server: logger.error doesn't work when bcfg2.conf doesn't existSol Jerome2010-08-041-2/+4
| | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6001 ce84e21b-d406-0410-9b95-82705330c041
* Updated files to match PEP 257 Fabian Affolter2010-06-215-15/+15
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5953 ce84e21b-d406-0410-9b95-82705330c041
* Updated files to match PEP 257 Fabian Affolter2010-06-212-6/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5952 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-repo-validate: Fix copy/paste error (Resolves Ticket #895)Sol Jerome2010-06-211-1/+1
| | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5950 ce84e21b-d406-0410-9b95-82705330c041
* Typo in bcfg2-reportsTim Laszlo2010-06-111-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5922 ce84e21b-d406-0410-9b95-82705330c041
* repo-validate: Warn when missing attributes for Path entriesSol Jerome2010-06-071-0/+33
| | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
* Updated files to match PEP 257Fabian Affolter2010-06-071-4/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5896 ce84e21b-d406-0410-9b95-82705330c041
* Updated files to match PEP 257Fabian Affolter2010-06-078-55/+66
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5895 ce84e21b-d406-0410-9b95-82705330c041
* Fixed XPath error with lxml 1.2.1Tim Laszlo2010-05-251-2/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5864 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-info: Add patch from Fabian AffolterSol Jerome2010-05-041-3/+3
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5853 ce84e21b-d406-0410-9b95-82705330c041