]> git.openstreetmap.org Git - chef.git/blob - roles/equinix-ams-public.rb
Ensure wikibase uses the correct repository URL
[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         :metric => 150,
11         :source_route_table => 3,
12         :inet => {
13           :prefix => "27",
14           :gateway => "184.104.179.129"
15         },
16         :inet6 => {
17           :prefix => "64",
18           :gateway => "2001:470:1:fa1::1",
19           :routes => {
20             "2600:9000::/28" => { :table => 3, :type => "unreachable" }
21           }
22         }
23       },
24       :equinix => {
25         :interface => "bond0.103",
26         :role => :external,
27         :metric => 100,
28         :source_route_table => 103,
29         :inet => {
30           :prefix => "27",
31           :gateway => "82.199.86.97"
32         },
33         :inet6 => {
34           :prefix => "64",
35           :gateway => "2001:4d78:500:5e3::1"
36         }
37       }
38     }
39   }
40 )
41
42 run_list(
43   "role[equinix-ams]"
44 )