2013-09-08 19:16:18 +02:00
|
|
|
# -*- mode: ruby -*-
|
|
|
|
# vi: set ft=ruby :
|
|
|
|
|
|
|
|
Vagrant.configure("2") do |config|
|
2014-12-22 00:19:01 +01:00
|
|
|
config.vm.box = "chef/ubuntu-14.04"
|
2014-12-22 00:19:29 +01:00
|
|
|
config.vm.network :forwarded_port, guest: 8080, host: 8080
|
2014-12-22 00:19:01 +01:00
|
|
|
config.vm.synced_folder ".", "/vagrant"
|
|
|
|
config.vm.synced_folder "salt/roots/", "/srv/salt/"
|
2013-09-08 19:16:18 +02:00
|
|
|
config.vm.provider :virtualbox do |vb|
|
2014-12-22 00:19:01 +01:00
|
|
|
vb.customize ["modifyvm", :id, "--memory", "512"]
|
2013-09-08 19:16:18 +02:00
|
|
|
end
|
2014-12-22 00:19:01 +01:00
|
|
|
config.vm.provision :salt do |salt|
|
|
|
|
salt.minion_config = "salt/minion.yml"
|
|
|
|
salt.run_highstate = true
|
|
|
|
salt.colorize = true
|
2014-01-26 20:59:29 +01:00
|
|
|
end
|
2013-09-08 19:16:18 +02:00
|
|
|
end
|