setup salt provisioning for vagrant
This commit is contained in:
parent
addc6e9241
commit
724a4a9823
7 changed files with 56 additions and 0 deletions
6
roots/base/init.sls
Normal file
6
roots/base/init.sls
Normal file
|
@ -0,0 +1,6 @@
|
|||
base-packages:
|
||||
pkg.installed:
|
||||
- names:
|
||||
- screen
|
||||
- htop
|
||||
- git
|
11
roots/top.sls
Normal file
11
roots/top.sls
Normal 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
2
roots/vim/init.sls
Normal file
|
@ -0,0 +1,2 @@
|
|||
vim-nox:
|
||||
pkg.installed
|
Loading…
Add table
Add a link
Reference in a new issue