-
Notifications
You must be signed in to change notification settings - Fork 4
/
Vagrantfile
33 lines (31 loc) · 921 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.hostname = "cookbook-joomla"
config.vm.box = "vagrant-ubuntu-12.04"
config.vm.box = "ubuntu-12.04"
config.vm.box_url = "http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_#{config.vm.box}_chef-provisionerless.box"
config.vm.network :private_network, ip: "33.33.33.10"
config.omnibus.chef_version = :latest
config.berkshelf.enabled = true
config.vm.provision :chef_solo do |chef|
chef.log_level = :debug
chef.json = {
:mysql => {
:server_root_password => 'rootpass',
:server_debian_password => 'debpass',
:server_repl_password => 'replpass'
},
:joomla => {
:db => {
:pass => "joomT3st"
}
}
}
chef.run_list = [
"recipe[apt]",
"recipe[joomla::mysql]",
"recipe[joomla::default]",
]
end
end