-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathVagrantfile
32 lines (27 loc) · 903 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.hostname = "bacula-ng"
config.vm.box = "opscode-ubuntu-12.04"
config.vm.box_url = "https://opscode-vm.s3.amazonaws.com/vagrant/opscode_ubuntu-12.04_provisionerless.box"
config.ssh.max_tries = 40
config.ssh.timeout = 120
config.berkshelf.enabled = true
config.omnibus.chef_version = :latest
config.vm.provision :chef_solo do |chef|
chef.run_list = [
"recipe[bacula-ng-test::iptables]",
"recipe[chef-solo-search]",
"recipe[apt]",
"recipe[bacula-ng::server]"
]
chef.json = {
bacula: {
director: { db_password: "swordfish", password: "swordfish" },
fd: { password: "swordfish" },
mon: { password: "swordfish" },
storage: { password: "swordfish" }
},
postgresql: { password: { postgres: "swordfish" }}}
end
end