summaryrefslogtreecommitdiffstats
path: root/src/sbin/bcfg2-admin
Commit message (Collapse)AuthorAgeFilesLines
* made bcfg2-admin accept -Q flag and a few others; general code cleanupChris St. Pierre2012-01-261-1/+7
|
* suppress error message from bcfg2-admin Reports module if Reports not ↵Chris St. Pierre2012-01-261-3/+2
| | | | configured (#1056)
* consistent help messages from bcfg2-admin/bcfg2-info (bug #1033)Chris St. Pierre2012-01-101-2/+4
|
* bcfg2-admin: Fix conditional for help messageSol Jerome2011-09-101-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bcfg2-admin: Fix modes which don't require additional argumentsSol Jerome2011-09-101-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bcfg2-admin: Revert some changes that are not py3k compatibleSol Jerome2011-07-211-2/+3
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Miscellaneous bcfg2-admin bug fixes:Chris St. Pierre2011-07-211-27/+28
| | | | | | * Fixed mode argument parsing when a config file is supplied * Fixed loading help messages when Reports is not configured * Improved option parsing; used Bcfg2.Options.OptionParser
* bcfg2-admin: Fix traceback when help argument omittedSol Jerome2011-06-291-0/+3
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* src/sbin: Add full PY3K compatibilitySol Jerome2011-04-271-4/+6
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* 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>
* 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
* Updated files to match PEP 257 Fabian Affolter2010-06-211-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5952 ce84e21b-d406-0410-9b95-82705330c041
* Updated files to match PEP 257Fabian Affolter2010-06-071-3/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5895 ce84e21b-d406-0410-9b95-82705330c041
* Pylint/PEP 8 Code cleanupsSol Jerome2009-10-071-3/+5
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5477 ce84e21b-d406-0410-9b95-82705330c041
* Merged bcfg2-admin init fixes in from my branch.Kamil Kisiel2009-07-181-33/+41
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5362 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-admin: Fix typoSol Jerome2009-07-131-1/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5323 ce84e21b-d406-0410-9b95-82705330c041
* Handle import errors in the help path (Resolves Ticket #653)Narayan Desai2009-05-071-2/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5210 ce84e21b-d406-0410-9b95-82705330c041
* More python 2to3 updates along with pylint/code cleanupsSol Jerome2009-04-231-4/+8
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5173 ce84e21b-d406-0410-9b95-82705330c041
* Fix some simple python 2to3 changesSol Jerome2009-04-231-5/+5
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5170 ce84e21b-d406-0410-9b95-82705330c041
* Add bcfg2-admin option information to help message (reported by Gabe Turner) ↵Sol Jerome2008-11-261-3/+7
| | | | | | [bugfix] git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4988 ce84e21b-d406-0410-9b95-82705330c041
* Use print instead of sys.out.writeSol Jerome2008-09-141-3/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4913 ce84e21b-d406-0410-9b95-82705330c041
* Improve help messages for bcfg2-admin (and modes)Sol Jerome2008-09-121-6/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4910 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-admin: Turn down logging verbosityNarayan Desai2008-08-061-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4859 ce84e21b-d406-0410-9b95-82705330c041
* applied logging->logger patchJames Yang2008-08-051-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4852 ce84e21b-d406-0410-9b95-82705330c041
* Probe data loaded whenever Metadata plugin is usedAndrew Brestick2008-06-201-5/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4702 ce84e21b-d406-0410-9b95-82705330c041
* fix imports and variable shadowing in bcfg2-adminNarayan Desai2008-01-081-4/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4202 ce84e21b-d406-0410-9b95-82705330c041
* Switch over to more Options usage and complete tests (everything appears to ↵Narayan Desai2007-12-311-7/+3
| | | | | | work now) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4142 ce84e21b-d406-0410-9b95-82705330c041
* add SENDMAIL_PATHRobert Gogolok2007-12-301-2/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4137 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-admin: use Bcfg2.SettingsRobert Gogolok2007-12-301-1/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4133 ce84e21b-d406-0410-9b95-82705330c041
* remove redundant codeRobert Gogolok2007-12-301-2/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4130 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-admin: print usage if no argumentsRobert Gogolok2007-12-291-3/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4129 ce84e21b-d406-0410-9b95-82705330c041
* Refactor of bcfg2-admin (all modes moved to discrete modules in ↵Narayan Desai2007-12-291-612/+31
| | | | | | Bcfg2.Server.Admin git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4125 ce84e21b-d406-0410-9b95-82705330c041
* Remove all vestiges of server-side toolset, it hasn't been used since 0.8.5 ↵Narayan Desai2007-12-281-8/+8
| | | | | | (Resolves Ticket #455) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4121 ce84e21b-d406-0410-9b95-82705330c041
* don't crash if no permission to write config fileRobert Gogolok2007-12-241-1/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4109 ce84e21b-d406-0410-9b95-82705330c041
* Stop installing Svcmgr bits and include new reporting bits for bcfg2.conf ↵Narayan Desai2007-11-081-2/+17
| | | | | | (in bcfg2-admin init) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3941 ce84e21b-d406-0410-9b95-82705330c041
* Implement bcfg2-admin pull support for info files/metadata changes (Resolves ↵Narayan Desai2007-10-301-7/+24
| | | | | | Ticket #480) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3886 ce84e21b-d406-0410-9b95-82705330c041
* Improve pull error handlingNarayan Desai2007-10-261-0/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3872 ce84e21b-d406-0410-9b95-82705330c041
* Fix binary config file stats uploadNarayan Desai2007-08-011-7/+10
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3589 ce84e21b-d406-0410-9b95-82705330c041
* Client side of improved support for binary files in statisticsNarayan Desai2007-08-011-12/+16
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3587 ce84e21b-d406-0410-9b95-82705330c041
* Improve statistics location routines for bcfg2-admin pullNarayan Desai2007-07-311-6/+13
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3586 ce84e21b-d406-0410-9b95-82705330c041
* Add default attribute to basic group in default configNarayan Desai2007-07-221-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3537 ce84e21b-d406-0410-9b95-82705330c041
* Improve error handling in bcfg2-admin (Step towards resolving Ticket #469)Narayan Desai2007-07-211-2/+7
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3527 ce84e21b-d406-0410-9b95-82705330c041
* Switch to newstyle exception raisesNarayan Desai2007-07-131-12/+12
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3446 ce84e21b-d406-0410-9b95-82705330c041
* Added address element and made help prettier for 80-col terminalsDaniel Joseph Barnhart Clark2007-06-301-7/+12
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3396 ce84e21b-d406-0410-9b95-82705330c041
* Fix bcfg2-admin traceback without optionsNarayan Desai2007-06-111-0/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3287 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-admin: FreeBSD selectionRobert Gogolok2007-06-081-8/+12
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3273 ce84e21b-d406-0410-9b95-82705330c041
* Fix bcfg2-init for non /etc paths (Patch from gogo) (Resolves Ticket #447)Narayan Desai2007-06-021-4/+8
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3224 ce84e21b-d406-0410-9b95-82705330c041
* Improve bcfg2-admin documentation (Resolves Ticket #441)Narayan Desai2007-05-211-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3195 ce84e21b-d406-0410-9b95-82705330c041
* fix bcfg2-admin initNarayan Desai2007-05-091-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3115 ce84e21b-d406-0410-9b95-82705330c041
* Move logic for repository interactions in bcfg2-admin pull into individual ↵Narayan Desai2007-04-031-40/+17
| | | | | | | | | plugins (This change introduces all new infrastructure, and is in preparation for doing support in SSHbase) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3005 ce84e21b-d406-0410-9b95-82705330c041