Created
October 21, 2013 02:24
-
-
Save justlooks/7077831 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
my sls file | |
syscfg: | |
pkg.installed: | |
- skip_verify: False | |
lkservice: | |
cmd.run: | |
- unless: ls /etc/init.d/srvadmin-services | |
- name: ln -s /opt/dell/srvadmin/sbin/srvadmin-services.sh /etc/init.d/srvadmin-services | |
- require: | |
- pkg: syscfg | |
srvadmin-services: | |
service: | |
- running | |
- enable: True | |
- require: | |
- cmd: lkservice | |
/opt/dell/toolkit/bin/syscfg --SysProfile=Custom: | |
cmd.run: | |
- require: | |
- service: srvadmin-services | |
error output | |
ch18: | |
---------- | |
State: - pkg | |
Name: syscfg | |
Function: installed | |
Result: True | |
Comment: Package syscfg is already installed | |
Changes: | |
---------- | |
State: - cmd | |
Name: ln -s /opt/dell/srvadmin/sbin/srvadmin-services.sh /etc/init.d/srvadmin-services | |
Function: run | |
Result: True | |
Comment: unless execution succeeded | |
Changes: | |
---------- | |
State: - service | |
Name: srvadmin-services | |
Function: running | |
Result: False | |
Comment: Failed when setting service srvadmin-services to start at boot, but the service was already running | |
Changes: | |
---------- | |
State: - cmd | |
Name: /opt/dell/toolkit/bin/syscfg --MonitorMwait=disable | |
Function: run | |
Result: False | |
Comment: One or more requisite failed | |
Changes: | |
---------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment