Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- install-splunk:
- pkg.installed:
- - sources:
- - splunk-6.1.2-213098-linux-2.6-x86_64.rpm: salt://splunk/files/splunk-6.1.2-213098-linux-2.6-x86_64.rpm
- - requre_in:
- - service: splunk
- - name: splunk
- configure-splunk:
- cmd.run:
- - name: |
- chown -R splunk:splunk /opt/splunk
- /opt/splunk/bin/splunk enable boot-start -user splunk --accept-license
- chown -R splunk:splunk /opt/splunk
- service splunk start
- - user: root
- - requre_in:
- - service: splunk
- - unless: test -x /etc/rc.d/rc3.d/*splunk
- splunk:
- service:
- - running
- - enable: True
- - reload: True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement