]> git.openstreetmap.org Git - chef.git/blob - roles/grisu.rb
nominatim: location of config file for nominatim-ui has changed
[chef.git] / roles / grisu.rb
1 name "grisu"
2 description "Master role applied to grisu"
3
4 default_attributes(
5   :bind => {
6     :clients => "bytemark"
7   },
8   :networking => {
9     :interfaces => {
10       :internal_ipv4 => {
11         :interface => "bond0",
12         :role => :internal,
13         :family => :inet,
14         :address => "10.0.32.20",
15         :bond => {
16           :slaves => %w[enp2s0f0 enp2s0f1]
17         }
18       },
19       :external_ipv4 => {
20         :interface => "bond0.214",
21         :role => :external,
22         :family => :inet,
23         :address => "89.16.162.20"
24       },
25       :external_ipv6 => {
26         :interface => "bond0.214",
27         :role => :external,
28         :family => :inet6,
29         :address => "2001:41c9:2:d6::20"
30       }
31     }
32   },
33   :planet => {
34     :replication => "disabled"
35   }
36 )
37
38 run_list(
39   "role[bytemark]",
40   "role[hp-dl180-g6]",
41   "role[gateway]",
42   "role[web-storage]",
43   "role[backup]",
44   "role[planet]"
45   # "role[planetdump]"
46 )