X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/5625299d5e3b596cb1441b6fbc54d44ecd69df0c..8e010de9a9d26d57220d326e69bb0440098cf22e:/roles/bytemark.rb diff --git a/roles/bytemark.rb b/roles/bytemark.rb index 90d6afbbe..8f23bd5d0 100644 --- a/roles/bytemark.rb +++ b/roles/bytemark.rb @@ -2,19 +2,40 @@ name "bytemark" description "Role applied to all servers at Bytemark" default_attributes( + :hosted_by => "Bytemark", + :location => "York, England", :networking => { - :nameservers => [ "[2001:41c8:2::1]", "[2001:41c8:2::2]", "80.68.80.24", "80.68.80.25" ], :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" ] + :servers => ["0.uk.pool.ntp.org", "1.uk.pool.ntp.org", "europe.pool.ntp.org"] } )