X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/fba89b0d71a9dd87d0c3c57fb2f84263c3b36a14..c1083e2809342f470c7d11b4ecb2858d48230ce8:/roles/equinix.rb diff --git a/roles/equinix.rb b/roles/equinix.rb index eaa81c314..7b58f7af7 100644 --- a/roles/equinix.rb +++ b/roles/equinix.rb @@ -1,4 +1,4 @@ -name "equnix" +name "equinix" description "Role applied to all servers at Equinix" default_attributes( @@ -8,18 +8,23 @@ default_attributes( :internal => { :inet => { :prefix => "20", - :gateway => "10.0.48.2" + :gateway => "10.0.48.10" } }, :external => { :zone => "ams", :inet => { :prefix => "27", - :gateway => "130.117.76.30" + :gateway => "130.117.76.1" }, :inet6 => { :prefix => "64", - :gateway => "2001:978:2:2C::172:2" + :gateway => "2001:978:2:2C::172:1", + :routes => { + "2001:978:2:2c::/64" => { :type => "unreachable" }, + "2001:4860::/32" => { :type => "unreachable" }, + "2a00:1450:4000::/37" => { :type => "unreachable" } + } } } } @@ -27,7 +32,8 @@ default_attributes( :web => { :backends => %w[rails1 rails2 rails3], :fileserver => "ironbelly", - :readonly_database_host => "karm.ams.openstreetmap.org" + :readonly_database_host => "karm.ams.openstreetmap.org", + :primary_cluster => true } )