-
-
Save SEJeff/2769055 to your computer and use it in GitHub Desktop.
Salt watch statement and requires example
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
ganglia-monitor: | |
pkg: | |
- installed | |
service: | |
- running | |
# Since the service name is ganglia-monitor and the daemon binary is gmond | |
- sig: '^gmond' | |
- watch: | |
- file: /etc/ganglia/gmond.conf | |
- pkg: ganglia-monitor | |
file: | |
- managed | |
- name: /etc/ganglia/gmond.conf | |
- source: salt://hadoop/gmond.conf | |
- require: | |
- pkg: ganglia-monitor |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment