summaryrefslogtreecommitdiffstats
path: root/src/sbin/bcfg2-admin
Commit message (Collapse)AuthorAgeFilesLines
* Options: migrated bcfg2-admin to new parserChris St. Pierre2013-06-271-88/+2
|
* Merge branch 'maint'Chris St. Pierre2013-06-271-2/+2
|\ | | | | | | | | | | | | | | | | Conflicts: doc/server/plugins/generators/cfg.txt doc/server/plugins/generators/tcheetah.txt src/lib/Bcfg2/Server/Admin/Xcmd.py src/lib/Bcfg2/Server/Plugins/Cfg/__init__.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py
| * bcfg2-admin: set appropriate return values on errorChris St. Pierre2013-06-031-2/+2
| |
| * Revert "bcfg2-admin: set appropriate return values on error"Chris St. Pierre2013-06-031-2/+2
| | | | | | | | | | | | This reverts commit dae8f399151052fd2a0ce43ac61a56f399a28252. Splitting this into two commits.
| * bcfg2-admin: set appropriate return values on errorChris St. Pierre2013-06-031-2/+2
| |
* | Merge branch '1.4.x'Chris St. Pierre2013-04-231-2/+2
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: debian/bcfg2-server.install doc/server/plugins/grouping/metadata.txt src/lib/Bcfg2/Client/Client.py src/lib/Bcfg2/Client/Tools/Portage.py src/lib/Bcfg2/Client/Tools/RcUpdate.py src/lib/Bcfg2/Client/Tools/YUM24.py src/lib/Bcfg2/Client/Tools/__init__.py src/lib/Bcfg2/Client/Tools/launchd.py src/lib/Bcfg2/Options.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/Plugin/helpers.py src/lib/Bcfg2/Server/Plugins/Metadata.py src/lib/Bcfg2/Server/models.py src/lib/Bcfg2/Utils.py src/sbin/bcfg2-info src/sbin/bcfg2-test testsuite/Testsrc/Testlib/TestClient/TestTools/Test_init.py testsuite/Testsrc/test_code_checks.py
| * Options: split loading a new OptionParser from fetching an existing parserChris St. Pierre2013-01-171-1/+1
| |
| * added module-level OptionParser to avoid passing it as an argument or global ↵Chris St. Pierre2013-01-171-2/+2
| | | | | | | | all over
* | added PEP-8 style checks to test suiteChris St. Pierre2013-03-111-0/+1
|/
* expanded pylint coverage to Admin modes, removed some old/broken admin modesChris St. Pierre2012-10-171-15/+16
|
* renamed Bcfg2Py3k to CompatChris St. Pierre2012-08-271-1/+1
|
* bcfg2-admin: Make help message consistentSol Jerome2012-08-181-2/+7
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* made logging to syslog configurable and default for all loggingChris St. Pierre2012-08-151-1/+2
|
* fixed option alignment issuesChris St. Pierre2012-06-151-1/+0
|
* bcfg2-admin: Logging broken for reportsTim Laszlo2012-05-231-3/+7
|
* fixed option group stuffChris St. Pierre2012-05-211-2/+2
|
* added option groupsChris St. Pierre2012-05-211-12/+3
|
* Added inotify filemonitor driverChris St. Pierre2012-05-181-0/+1
| | | | Moved list of files to ignore into config
* moved plugin-specific configs to main config file; propagate "setup" object ↵Chris St. Pierre2012-05-111-2/+1
| | | | to server Core
* bcfg2-admin: Remove duplicate 'Usage'Sol Jerome2012-04-021-2/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* 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