X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/beb8df4e22cdf7a8d3016186ec333838eaa1c3c2..e397f006ac6cacb175c27f81b86ce5d90e39e7c3:/roles/equinix-dub.rb diff --git a/roles/equinix-dub.rb b/roles/equinix-dub.rb index c4f30e2ff..9652c2c8c 100644 --- a/roles/equinix-dub.rb +++ b/roles/equinix-dub.rb @@ -25,28 +25,36 @@ default_attributes( :external => { :zone => "dub", :inet => { - :prefix => "27", - :gateway => "184.104.226.97" + :rules => [ + { :to => "10.0.0.0/8", :table => "main", :priority => 50 }, + { :to => "172.16.0.0/12", :table => "main", :priority => 50 }, + { :to => "192.168.0.0/16", :table => "main", :priority => 50 } + ] }, :inet6 => { - :prefix => "64", - :gateway => "2001:470:1:b3b::1", - :routes => { - "2001:978:2:2c::/64" => { :type => "unreachable" } - } + :rules => [ + { :to => "2600:9000::/28", :table => 150, :priority => 100 } + ] } } } }, + :prometheus => { + :metrics => { + :host_location => { + :help => "Host location", + :labels => { :site => "dublin" } + } + } + }, :web => { - :fileserver => "fafnir", :readonly_database_host => "snap-03.dub.openstreetmap.org" } ) override_attributes( :networking => { - :nameservers => ["10.0.64.2", "8.8.8.8", "8.8.4.4"], + :nameservers => ["10.0.64.2", "74.82.42.42", "2001:470:20::2"], :search => ["dub.openstreetmap.org", "openstreetmap.org"] }, :ntp => {