X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2447911751797f6d1d47e9c3f4a2e709e2326aba..480d14d1f1967e4911302e485ebde397c12d8795:/roles/bytemark.rb diff --git a/roles/bytemark.rb b/roles/bytemark.rb index d7a5f104e..4e80daa56 100644 --- a/roles/bytemark.rb +++ b/roles/bytemark.rb @@ -5,12 +5,15 @@ default_attributes( :hosted_by => "Bytemark", :location => "York, England", :networking => { - :nameservers => ["8.8.8.8", "8.8.4.4", "2001:4860:4860::8888", "2001:4860:4860::8844"], + :nameservers => ["10.0.32.20"], :roles => { :internal => { :inet => { :prefix => "20", - :gateway => "10.0.32.20" + :gateway => "10.0.32.20", + :routes => { + "10.0.0.0/8" => { :via => "10.0.32.20" } + } } }, :external => { @@ -27,11 +30,16 @@ default_attributes( } }, :web => { - :backends => %w(rails4 rails5) + :backends => %w[rails4 rails5], + :fileserver => "grisu", + :readonly_database_host => "katla.bm.openstreetmap.org" } ) override_attributes( + :networking => { + :search => ["bm.openstreetmap.org", "openstreetmap.org"] + }, :ntp => { :servers => ["0.uk.pool.ntp.org", "1.uk.pool.ntp.org", "europe.pool.ntp.org"] }