summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Client/Tools/Chkconfig.py
Commit message (Collapse)AuthorAgeFilesLines
* Stop adding chkconfig service to every run leveligorwidlinski2013-07-041-1/+1
| | | Let chkconfig assign default runlevels.
* Chkconfig: give --list option to chkconfig rather than sending it on stdinMichael Fenn2013-07-021-2/+2
|
* Chkconfig: Use get_bootstatusSol Jerome2013-06-271-3/+3
| | | | | | | The get_bootstatus method has the correct logic to get the desired result when bootstatus is unset. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Chkconfig: Set svcstatusSol Jerome2013-06-251-0/+1
| | | | | | | When status='ignore', set svcstatus to True so that the entry verifies properly. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Services: Don't check status when set to 'ignore'Sol Jerome2013-06-031-14/+15
| | | | | | | Checking the status for services that don't support it leads to ugly output in the interactive client on some platforms. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Services: Add new bootstatus attributeSol Jerome2013-06-021-35/+64
| | | | | | | | | This new attribute allows the specification of a boot-time status separately from the current 'status' attribute. This allows for more fine-grained control over e.g. services that are really just boot scripts. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Fix for null target_status in Reporting_sericeentryJake Davis2013-05-241-0/+1
|
* fixed long linesChris St. Pierre2013-05-071-1/+2
|
* make chkconfig tool driver respect servicemodeMichael Fenn2013-05-061-3/+5
| | | | | | | | | | The bcfg2 man page states that -s disabled should stop bcfg2 from attempting to modify any services, but the Chkconfig driver (at least) does start the service during the Install phase even with -s disabled. This patch adds support to the Chkconfig driver for the servicemode config parameter. It still does chkconfig --add, which I think makes sense to happen as part of configuration, but it does not attempt to actually start the service.
* better Executor class for client toolsChris St. Pierre2013-02-141-18/+16
|
* fix setting locale in Chkconfig toolChris St. Pierre2012-10-241-1/+1
|
* made full pylint checks the default, expanded pylint coverage to lots of toolsChris St. Pierre2012-09-261-4/+3
|
* Chkconfig client tool: fix service start result logicJohn Morris2012-09-111-1/+1
| | | | | | | | | | When the bcfg2 client installs a service turning it 'on' with chkconfig, it then starts the service with 'service foo start'. If all these succeed, it should return a True success value. This fixes a bug where starting the service succeeds, but is interpreted as failure, ultimately causing the host to be reported as dirty.
* Bcfg2/Client/Tools/Chkconfig.py: squash bug tickled by services turned 'off'John Morris2012-09-111-1/+1
|
* Rules: Implement status='ignore' for all service typesSol Jerome2012-09-111-0/+3
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Revert "removed Bcfg2.Client.XML abstraction layer since we depend directly ↵Chris St. Pierre2012-08-061-4/+4
| | | | | | on lxml.etree" This reverts commit 913d320ee02d5e16b61a14d97b2b1111d307d0d3.
* removed Bcfg2.Client.XML abstraction layer since we depend directly on ↵Chris St. Pierre2012-08-031-4/+4
| | | | lxml.etree
* re-rationalized service modes to make them more consistent and granularChris St. Pierre2012-06-051-31/+15
|
* Allow to run directly from a git checkout (#1037)Sol Jerome2012-03-241-0/+108
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>