Skip to content

Instantly share code, notes, and snippets.

View fneves-datalex's full-sized avatar

Fabio Neves fneves-datalex

View GitHub Profile
@fneves-datalex
fneves-datalex / sibling_dependency.yaml
Created June 10, 2014 15:21
salt dependency between sibling states
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'] }}