Last active
December 22, 2015 13:08
-
-
Save erchn/6476633 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
trigger script when updated: | |
file.managed: | |
- name: /usr/local/bin/script.sh | |
- source: salt://script.sh | |
- mode: 700 | |
cmd.wait: | |
- name: /usr/local/bin/script.sh | |
- cwd: /tmp | |
- watch: | |
- file: trigger script when updated |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment