X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/8f2592c5f09cf6682a585fb2e1eaed2120f83a60..1874a3b948505eb5ba23d10059597d81937fa94a:/roles/bowser.rb diff --git a/roles/bowser.rb b/roles/bowser.rb index 1ae035393..eca0fa2cf 100644 --- a/roles/bowser.rb +++ b/roles/bowser.rb @@ -2,35 +2,25 @@ name "bowser" description "Master role applied to bowser" default_attributes( - :apt => { - :sources => ["postgresql"] - }, - :location => "Carlton, Victoria, Australia", :networking => { :interfaces => { - :external_ipv4 => { + :external => { :interface => "bond0", :role => :external, - :family => :inet, - :address => "138.44.68.106", - :prefix => "30", - :gateway => "138.44.68.105", + :inet => { + :address => "138.44.68.106", + :prefix => "30", + :gateway => "138.44.68.105" + }, :bond => { - :slaves => %w[ens14f0 ens14f1] + :slaves => %w[ens14f0np0 ens14f1np1] } } - }, - :nameservers => [ - "202.158.207.1", - "202.158.207.2" - ] + } }, :postgresql => { - :versions => ["10"], :settings => { :defaults => { - :shared_buffers => "8GB", - :maintenance_work_mem => "7144MB", :effective_cache_size => "16GB" } } @@ -46,10 +36,13 @@ default_attributes( }, :tile => { :database => { - :cluster => "10/main", - :postgis => "2.4" + :cluster => "16/main", + :postgis => "3" + }, + :mapnik => "3.1", + :replication => { + :directory => "/store/replication" }, - :node_file => "/store/database/nodes", :styles => { :default => { :tile_directories => [