X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/21958591555b0b80370e944e3128ac5d533c281d..481864ed956365260fa7ae05ac18248ae168f4cd:/roles/bytemark.rb diff --git a/roles/bytemark.rb b/roles/bytemark.rb index 96dab6a06..c10a9a090 100644 --- a/roles/bytemark.rb +++ b/roles/bytemark.rb @@ -2,17 +2,43 @@ name "bytemark" description "Role applied to all servers at Bytemark" 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"], :roles => { + :internal => { + :inet => { + :prefix => "20", + :gateway => "10.0.32.20", + :routes => { + "10.0.0.0/8" => { :via => "10.0.32.20" } + } + } + }, :external => { - :zone => "bm" + :zone => "bm", + :inet => { + :prefix => "28", + :gateway => "89.16.162.17" + }, + :inet6 => { + :prefix => "64", + :gateway => "fe80::1" + } } } + }, + :web => { + :fileserver => "grisu", + :readonly_database_host => "snap-02.ucl.openstreetmap.org" } ) override_attributes( + :networking => { + :nameservers => ["10.0.32.20"], + :search => ["bm.openstreetmap.org", "openstreetmap.org"] + }, :ntp => { :servers => ["0.uk.pool.ntp.org", "1.uk.pool.ntp.org", "europe.pool.ntp.org"] }