Created
June 10, 2014 15:21
-
-
Save fneves-datalex/8d513635d48ba8bb4605 to your computer and use it in GitHub Desktop.
salt dependency between sibling 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
resource_available: | |
health_check.wait_for_url: | |
- timeout: 10 #this is in seconds | |
- url: {{ pillar['resource_url'] }} | |
version_file: | |
file.managed: | |
- name: {{ pillar['filename'] }} | |
- user: {{ pillar['username'] }} | |
- group: {{ pillar['group'] }} | |
- mode: {{ pillar['mode'] }} | |
- makedirs: True | |
- contents: | | |
version: some version | |
hash: some hash | |
- require: | |
- pkg: resource_available | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment