-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathVagrantfile
33 lines (28 loc) · 1004 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("2") do |config|
config.vm.box = "precise64"
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
# Uncomment the next line if you like to watch.
config.vm.provider :virtualbox do |vb|
# Don't boot with headless mode
#vb.gui = true
end
# Port 8000 on the host will go to port 80 on the Vagrant box
config.vm.network :forwarded_port, guest: 80, host: 8000, auto_correct: true
# Here's a folder for passing stuff back and forth
config.vm.synced_folder "./shared", "/home/vagrant/host_shared"
config.vm.provision :chef_solo do |chef|
chef.json = {
:mysql => {
:server_root_password => "six pasta obsessed wreck",
:server_repl_password => "six pasta obsessed wreck",
:server_debian_password => "six pasta obsessed wreck"
}
}
chef.cookbooks_path = "cookbooks"
chef.add_recipe "apt"
chef.add_recipe "ohai"
chef.add_recipe "configure"
end
end