X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/c1083e2809342f470c7d11b4ecb2858d48230ce8..855cc205f5ead237914ad554430f906f73a01e69:/roles/equinix.rb diff --git a/roles/equinix.rb b/roles/equinix.rb index 7b58f7af7..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 => ["66.28.0.45", "66.28.0.61", "2001:978:1:1::d", "2001:978:1:2::d"], + :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 => { @@ -32,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 } )