]> git.openstreetmap.org Git - chef.git/blob - roles/equinix-ams-public.rb
Fix role inheritance
[chef.git] / roles / equinix-ams-public.rb
1 name "equinix-ams-public"
2 description "Role applied to all public servers at Equinix Amsterdam"
3
4 default_attributes(
5   :networking => {
6     :interfaces => {
7       :henet => {
8         :interface => "bond0.3",
9         :role => :external,
10         :zone => "ams",
11         :metric => 150,
12         :source_route_table => 3,
13         :inet => {
14           :prefix => "27",
15           :gateway => "184.104.179.129"
16         },
17         :inet6 => {
18           :prefix => "64",
19           :gateway => "2001:470:1:fa1::1"
20         }
21       },
22       :equinix => {
23         :interface => "bond0.103",
24         :role => :external,
25         :zone => "ams",
26         :metric => 100,
27         :source_route_table => 103,
28         :inet => {
29           :prefix => "27",
30           :gateway => "82.199.86.97"
31         },
32         :inet6 => {
33           :prefix => "64",
34           :gateway => "2001:4d78:500:5e3::1"
35         }
36       }
37     }
38   }
39 )
40
41 run_list(
42   "role[equinix-ams]"
43 )