-
Notifications
You must be signed in to change notification settings - Fork 28
/
Vagrantfile
36 lines (32 loc) · 1.04 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
27
28
29
30
31
32
33
34
35
36
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
# Set box configuration
config.vm.box = "lucid32"
config.vm.box_url = "http://files.vagrantup.com/lucid32.box"
# Assign this VM to a host-only network IP, allowing you to access it via the IP.
config.vm.network :hostonly, "192.168.10.99"
# Enable provisioning with chef solo, specifying a cookbooks path (relative
# to this Vagrantfile), and adding some recipes and/or roles.
config.vm.provision :chef_solo do |chef|
chef.cookbooks_path = "cookbooks"
chef.data_bags_path = "data_bags"
chef.add_recipe "vagrant_main"
chef.json.merge!({
"mysql" => {
"server_root_password" => "magedev2013$",
"server_repl_password" => "magedev2013$",
"server_debian_password" => "magedev2013$"
},
"oh_my_zsh" => {
:users => [
{
:login => 'vagrant',
:theme => 'blinks',
:plugins => ['git', 'gem']
}
]
}
})
end
end