X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a7d96c8358a00088b485fadb5966eb4b231d2ff1..c34ccf5728b79fc191b11447f8018203b4ca5785:/roles/bytemark.rb diff --git a/roles/bytemark.rb b/roles/bytemark.rb index 1655af171..209717f76 100644 --- a/roles/bytemark.rb +++ b/roles/bytemark.rb @@ -2,19 +2,43 @@ 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" ], + :nameservers => ["80.68.80.24", "80.68.80.25", "2001:41c8:2::1", "2001:41c8:2::2"], :roles => { + :internal => { + :inet => { + :prefix => "20", + :gateway => "10.0.32.20" + } + }, :external => { - :zone => "bm" + :zone => "bm", + :inet => { + :prefix => "28", + :gateway => "89.16.162.17" + }, + :inet6 => { + :prefix => "64", + :gateway => "fe80::1" + } } } + }, + :web => { + :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" ] + :servers => ["0.uk.pool.ntp.org", "1.uk.pool.ntp.org", "europe.pool.ntp.org"] } )