]> git.openstreetmap.org Git - chef.git/blob - roles/horntail.rb
65b0ccd48fed095387e6fa01cac8c12d01a1f5e1
[chef.git] / roles / horntail.rb
1 name "horntail"
2 description "Master role applied to horntail"
3
4 default_attributes(
5   :networking => {
6     :engine => "systemd-networkd",
7     :interfaces => {
8       :internal => {
9         :interface => "bond0",
10         :role => :internal,
11         :inet => {
12           :address => "10.0.64.10"
13         },
14         :bond => {
15           :mode => "802.3ad",
16           :lacprate => "fast",
17           :xmithashpolicy => "layer3+4",
18           :slaves => %w[enp25s0f0 enp25s0f1]
19         }
20       },
21       :external => {
22         :interface => "bond0.101",
23         :role => :external,
24         :inet => {
25           :address => "184.104.226.106"
26         },
27         :inet6 => {
28           :address => "2001:470:1:b3b::a"
29         }
30       }
31     }
32   }
33 )
34
35 run_list(
36   "role[equinix-dub]",
37   "role[geodns]",
38   "role[planet]"
39 )