]> git.openstreetmap.org Git - chef.git/blob - roles/longma.rb
Add role for longma
[chef.git] / roles / longma.rb
1 name "longma"
2 description "Master role applied to longma"
3
4 default_attributes(
5   :networking => {
6     :interfaces => {
7       :internal_ipv4 => {
8         :interface => "bond0",
9         :role => :internal,
10         :family => :inet,
11         :address => "10.0.64.13",
12         :bond => {
13           :mode => "802.3ad",
14           :lacprate => "fast",
15           :xmithashpolicy => "layer3+4",
16           :slaves => %w[]
17         }
18       },
19       :external_ipv4 => {
20         :interface => "bond0.101",
21         :role => :external,
22         :family => :inet,
23         :address => "184.104.226.109"
24       },
25       :external_ipv6 => {
26         :interface => "bond0.101",
27         :role => :external,
28         :family => :inet6,
29         :address => "2001:470:1:b3b::d"
30       }
31     }
32   }
33 )
34
35 run_list(
36   "role[equinix-dub]"
37 )