]> git.openstreetmap.org Git - chef.git/blob - roles/norbert.rb
Make bond configuration more robust
[chef.git] / roles / norbert.rb
1 name "norbert"
2 description "Master role applied to norbert"
3
4 default_attributes(
5   :networking => {
6     :interfaces => {
7       :internal => {
8         :inet => {
9           :address => "10.0.48.17"
10         },
11         :bond => {
12           :slaves => %w[enp25s0f0 enp25s0f1]
13         }
14       },
15       :henet => {
16         :inet => {
17           :address => "184.104.179.145"
18         },
19         :inet6 => {
20           :address => "2001:470:1:fa1::11"
21         }
22       },
23       :equinix => {
24         :inet => {
25           :address => "82.199.86.113"
26         },
27         :inet6 => {
28           :address => "2001:4d78:500:5e3::11"
29         }
30       }
31     }
32   },
33   :planet => {
34     :replication => "enabled"
35   }
36 )
37
38 run_list(
39   "role[equinix-ams-public]",
40   "role[geodns]",
41   "role[backup]",
42   "role[planet]",
43   "role[planetdump]",
44   "recipe[tilelog]"
45 )