setup salt provisioning for vagrant

This commit is contained in:
Jan Dittberner 2015-10-04 14:20:44 +02:00
parent addc6e9241
commit 724a4a9823
7 changed files with 56 additions and 0 deletions

6
roots/base/init.sls Normal file
View file

@ -0,0 +1,6 @@
base-packages:
pkg.installed:
- names:
- screen
- htop
- git

11
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 %}

2
roots/vim/init.sls Normal file
View file

@ -0,0 +1,2 @@
vim-nox:
pkg.installed