X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/19292cce10ddff756c298142883712568c19bee3..dfaeb28d4cbfdf3a1b11ebd9a1d7bcbbf697f5cc:/roles/bytemark.rb diff --git a/roles/bytemark.rb b/roles/bytemark.rb index 375d7611d..c10a9a090 100644 --- a/roles/bytemark.rb +++ b/roles/bytemark.rb @@ -2,20 +2,17 @@ name "bytemark" description "Role applied to all servers at Bytemark" default_attributes( - :chef => { - :client => { - :version => "13.6.4" - } - }, :hosted_by => "Bytemark", :location => "York, England", :networking => { - :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" + :gateway => "10.0.32.20", + :routes => { + "10.0.0.0/8" => { :via => "10.0.32.20" } + } } }, :external => { @@ -32,14 +29,14 @@ default_attributes( } }, :web => { - :backends => %w[rails4 rails5], :fileserver => "grisu", - :readonly_database_host => "katla.bm.openstreetmap.org" + :readonly_database_host => "snap-02.ucl.openstreetmap.org" } ) override_attributes( :networking => { + :nameservers => ["10.0.32.20"], :search => ["bm.openstreetmap.org", "openstreetmap.org"] }, :ntp => {