forked from mozilla/bedrock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
26 lines (18 loc) · 871 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.require_version ">= 1.4.0"
Vagrant.configure("2") do |config|
config.vm.box = "precise32"
config.vm.box_url = "http://people.mozilla.com/~bsternthal/vagrant/precise32.box"
# Add to /etc/hosts: 192.168.10.55 mozilla.local
config.vm.network :private_network, ip: "192.168.10.55"
# Not sure if really needed but leaving in
config.vm.network :forwarded_port, guest: 8000, host: 8000
# Manually set permissions for to allow writing
config.vm.synced_folder ".", "/vagrant", :owner => "www-data", :mount_options => ['dmode=775','fmode=664']
config.vm.synced_folder "../mozilla.com", "/srv/legacy", :owner => "www-data", :mount_options => ['dmode=775','fmode=664']
config.vm.provision :puppet do |puppet|
puppet.manifests_path = "puppet/manifests"
puppet.manifest_file = "vagrant.pp"
end
end