Skip to content

Instantly share code, notes, and snippets.

Created May 8, 2015 15:20
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 anonymous/a885fb6257786f6c39ec to your computer and use it in GitHub Desktop.
Save anonymous/a885fb6257786f6c39ec to your computer and use it in GitHub Desktop.
base:
'*':
- hosts
- auth-common
'*-paradox':
- paradox.auth
{% import_yaml 'hosts.sls' as hostsfile %}
{% for host, args in hostsfile['hosts'].iteritems() %}
{% if args['type'] == 'vmhosts' %}
host-*:
- vmhosts.iptables
{% endif %}
{% endfor %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment