forked from gunnery/gunnery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
33 lines (28 loc) · 978 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("1") do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.host_name = "void"
# config.vm.network :bridged
config.vm.forward_port 80, 8080
config.vm.forward_port 8080, 8081
config.vm.forward_port 5432, 5432
config.ssh.forward_agent = true
config.vm.provision :puppet do |puppet|
puppet.manifests_path = "puppet/manifests"
puppet.module_path = "puppet/modules"
puppet.manifest_file = "base.pp"
puppet.options = "--hiera_config /vagrant/puppet/manifests/hiera.yaml"
puppet.facter = {
"environment" => "development",
}
end
end
Vagrant.configure("2") do |config|
config.vm.provider :virtualbox do |vb|
#vb.customize ["modifyvm", :id, "--cpuexecutioncap", "25"]
vb.customize ["modifyvm", :id, "--memory", 1024]
vb.customize ["modifyvm", :id, "--ioapic", "on"]
vb.customize ["modifyvm", :id, "--cpus", "2"]
end
end