Last active
August 29, 2015 14:04
-
-
Save gravyboat/145df1fd823581d9140f to your computer and use it in GitHub Desktop.
basic usage of watch_in
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_package: | |
pkg: | |
- installed | |
- name: awesome_software | |
awesome_software_service: | |
service: | |
- running | |
- enable: True |
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
include: | |
- awesome_software_directory.install_package | |
software_conf: | |
file: | |
- managed | |
- name: /path/to/software.conf | |
- source: salt://awesome_software/files/software.conf.jinja | |
- user: root | |
- group: root | |
- mode: 640 | |
- template: jinja | |
- require: | |
- sls: awesome_software.install_package | |
- watch_in: | |
- service: awesome_software_service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment