]> git.openstreetmap.org Git - chef.git/blob - roles/orm.rb
Use layer3+4 lacp xmithashpolicy for orm
[chef.git] / roles / orm.rb
1 name "orm"
2 description "Master role applied to orm"
3
4 default_attributes(
5   :networking => {
6     :interfaces => {
7       :external => {
8         :interface => "bond0",
9         :role => :external,
10         :inet => {
11           :address => "10.5.7.34",
12           :prefix => "29",
13           :gateway => "10.5.7.33",
14           :public_address => "23.139.196.5"
15         },
16         :inet6 => {
17           :address => "2602:f629:0:bc::2",
18           :prefix => "64",
19           :gateway => "2602:f629:0:bc::1"
20         },
21         :bond => {
22           :mode => "802.3ad",
23           :lacprate => "fast",
24           :xmithashpolicy => "layer3+4",
25           :slaves => %w[eno1 eno2]
26         }
27       }
28     }
29   }
30 )
31
32 run_list(
33   "role[pixeldeck]"
34 )