Skip to content

Instantly share code, notes, and snippets.

@duk3luk3
Created October 26, 2013 22:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save duk3luk3/7175350 to your computer and use it in GitHub Desktop.
Save duk3luk3/7175350 to your computer and use it in GitHub Desktop.
users:
{% if grains['id'] == 'minion1' %}
foo:
- bar
{% elif grains['id'] == 'minion2' %}
bar:
- baz
{% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment