-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathVagrantfile
26 lines (20 loc) · 1.01 KB
/
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
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", "1024"]
vb.customize ["modifyvm", :id, "--cpus", "1"]
end
config.vm.hostname = "dev01.local"
config.vm.box = "raring64"
config.vm.box_url = "http://cloud-images.ubuntu.com/vagrant/raring/current/raring-server-cloudimg-amd64-vagrant-disk1.box"
config.vm.network :forwarded_port, guest: 80, host: 8080 #apache
config.vm.network :forwarded_port, guest: 3306, host: 3306 # mysql
config.vm.network :private_network, ip: "192.168.33.10"
#config.vm.synced_folder ".", "/vagrant", :nfs => true, :owner=> "www-data", :group=>"www-data"
config.vm.synced_folder ".", "/var/www/sugar", :nfs => true, :owner=> "www-data", :group=>"www-data"
#config.vm.provision :puppet do |puppet|
# puppet.manifests_path = "puppet/manifests"
# puppet.manifest_file = "init.pp"
# puppet.module_path = "puppet/modules"
#end
end