Created
July 23, 2015 21:14
-
-
Save anonymous/83419986706f88cfcdc0 to your computer and use it in GitHub Desktop.
states
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
reload-postgres: | |
service.running: | |
- name: postgresql-9.4 | |
- reload: True | |
restart-postgres: | |
service.running: | |
- name: postgresql-9.4 | |
watch_file_a: | |
file.managed: | |
- name: /file_a | |
- source: salt://file_a | |
- watch_in: | |
- service: reload-postgres | |
watch_file_b: | |
file.managed: | |
- name: /file_b | |
- source: salt://file_b | |
- watch_in: | |
- service: restart-postgres |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment