X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/545c9ed2ad8d9ee48a8417f8b98485790fafc170..02da6798cc587e0d33b2f6b1a7d80f9de50ae8f2:/roles/equinix.rb diff --git a/roles/equinix.rb b/roles/equinix.rb index 85d445dce..85b111106 100644 --- a/roles/equinix.rb +++ b/roles/equinix.rb @@ -3,7 +3,7 @@ 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 => { @@ -19,7 +19,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 +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 } )