Skip to content

Instantly share code, notes, and snippets.

@dlashua

dlashua/top.sls Secret

Created August 19, 2015 13:19
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 dlashua/29e4a3518d572d071731 to your computer and use it in GitHub Desktop.
Save dlashua/29e4a3518d572d071731 to your computer and use it in GitHub Desktop.
{% set role = salt['grains.get']('role', '') %}
base:
'*':
- all
{% if role %}
- {{ role }}
{% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment