2013-12-02 18:02:53 +02:00
|
|
|
VAGRANTFILE_API_VERSION = "2"
|
|
|
|
|
|
|
|
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
2014-08-20 18:28:25 +03:00
|
|
|
config.vm.box = "ubuntu/trusty64"
|
|
|
|
|
|
|
|
config.vm.provider :virtualbox do |vb|
|
|
|
|
vb.name = "realms-wiki"
|
|
|
|
vb.memory = 2048
|
|
|
|
vb.cpus = 2
|
|
|
|
end
|
|
|
|
|
2013-12-02 18:02:53 +02:00
|
|
|
config.vm.synced_folder "srv/", "/srv/"
|
|
|
|
config.vm.synced_folder ".", "/home/deploy/realms"
|
|
|
|
config.vm.provision :salt do |salt|
|
|
|
|
salt.minion_config = "srv/minion"
|
|
|
|
salt.run_highstate = true
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
Vagrant::Config.run do |config|
|
2014-08-20 18:28:25 +03:00
|
|
|
config.vm.forward_port 80, 8080
|
|
|
|
config.vm.forward_port 4567, 4567
|
2013-12-02 18:02:53 +02:00
|
|
|
end
|