0
0
mirror of https://github.com/saltstack-formulas/vagrant-formula.git synced 2024-11-28 03:27:55 +01:00
vagrant-formula/vagrant/init.sls

14 lines
347 B
Plaintext
Raw Normal View History

2016-02-03 00:03:11 +01:00
{% from "vagrant/map.jinja" import vagrant with context %}
vagrant:
pkg.installed:
- sources:
- vagrant: {{ vagrant.url }}
{% for plugin in vagrant.get('plugins', []) %}
vagrant-plugin-{{ plugin }}:
cmd.run:
- name: "vagrant plugin install '{{ plugin }}'"
- unless: "vagrant plugin list | grep '{{ plugin }}'"
{% endfor %}