X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/1b572057a4c571df94d32252e32a8689e7f381e0..15c5f64e3607c5d84383af0f8a08137f3fb8a9f6:/roles/bytemark.rb?ds=sidebyside diff --git a/roles/bytemark.rb b/roles/bytemark.rb index a8159ca66..8f23bd5d0 100644 --- a/roles/bytemark.rb +++ b/roles/bytemark.rb @@ -5,16 +5,35 @@ 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" + :inet => { + :prefix => "28", + :gateway => "89.16.162.17" + }, + :inet6 => { + :prefix => "64", + :gateway => "fe80::1" + } } } } ) override_attributes( + :networking => { + :nameservers => ["8.8.8.8", "8.8.4.4"], + :search => ["bm.openstreetmap.org", "openstreetmap.org"] + }, :ntp => { :servers => ["0.uk.pool.ntp.org", "1.uk.pool.ntp.org", "europe.pool.ntp.org"] }