X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/245a7ea2878ebdb2008ddf4d6c1bf0192c5e1d49..855cc205f5ead237914ad554430f906f73a01e69:/roles/equinix.rb diff --git a/roles/equinix.rb b/roles/equinix.rb index 5baba9ac0..625aa8f57 100644 --- a/roles/equinix.rb +++ b/roles/equinix.rb @@ -3,12 +3,15 @@ description "Role applied to all servers at Equinix" default_attributes( :networking => { - :nameservers => ["8.8.8.8", "8.8.4.4", "2001:4860:4860::8888", "2001:4860:4860::8844"], + :nameservers => ["66.28.0.45", "66.28.0.61"], :roles => { :internal => { :inet => { :prefix => "20", - :gateway => "10.0.48.10" + :gateway => "10.0.48.10", + :routes => { + "10.0.0.0/8" => { :via => "10.0.48.10" } + } } }, :external => { @@ -19,7 +22,12 @@ default_attributes( }, :inet6 => { :prefix => "64", - :gateway => "2001:978:2:2C::172:1" + :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 +35,7 @@ default_attributes( :web => { :backends => %w[rails1 rails2 rails3], :fileserver => "ironbelly", - :readonly_database_host => "karm.ams.openstreetmap.org", + :readonly_database_host => "snap-01.ams.openstreetmap.org", :primary_cluster => true } )