setup salt provisioning for vagrant

This commit is contained in:
Jan Dittberner 2015-10-04 14:20:44 +02:00
parent 11b1befa1b
commit 6f9b17dc49
9 changed files with 67 additions and 18 deletions

11
salt/roots/top.sls Normal file
View file

@ -0,0 +1,11 @@
base:
'*':
- vim
- base
{% if 'roles' in grains %}
{% for role in grains['roles'] %}
'roles:{{ role }}':
- match: grain
- {{ role }}
{% endfor %}
{% endif %}