X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/04075ae665769fe13b97b5586c46ab28a51cc9d3..a73c743450eff5a1ebca006ecf15e7bfeeccacea:/roles/equinix.rb diff --git a/roles/equinix.rb b/roles/equinix.rb index 85b111106..29892328a 100644 --- a/roles/equinix.rb +++ b/roles/equinix.rb @@ -3,12 +3,14 @@ description "Role applied to all servers at Equinix" default_attributes( :networking => { - :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,13 +34,14 @@ 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 } ) override_attributes( :networking => { + :nameservers => ["10.0.48.10", "1.1.1.1", "1.0.0.1"], :search => ["ams.openstreetmap.org", "openstreetmap.org"] }, :ntp => {