forked from juanje/cookbook-redmine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
31 lines (25 loc) · 783 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "opscode-ubuntu-12.04_chef-11.4.4"
config.vm.box_url = "https://opscode-vm.s3.amazonaws.com/vagrant/opscode_ubuntu-12.04_chef-11.4.4.box"
config.vm.network :private_network, ip: "34.33.33.10"
config.berkshelf.enabled = true
config.vm.provision :chef_solo do |chef|
chef.add_recipe "redmine"
chef.json = {
:redmine => {
:databases => {
:production => {
:password => "redmine_password"
}
}
},
:mysql => {
:server_root_password => "supersecret_password",
:server_repl_password => "supersecret_password",
:server_debian_password => "supersecret_password"
}
}
end
end