X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/eecaf26698348adf3d3b64ea680ad82f959a5ae4..99c3b4ef168d1fed74364b27afd47e6f6eb92307:/roles/rhaegal.rb diff --git a/roles/rhaegal.rb b/roles/rhaegal.rb index 00fce56cf..a16c9e721 100644 --- a/roles/rhaegal.rb +++ b/roles/rhaegal.rb @@ -28,51 +28,20 @@ default_attributes( }, :networking => { :interfaces => { - :external_ipv4 => { + :external => { :interface => "eno1", :role => :external, - :family => :inet, - :address => "10.5.0.77", - :prefix => "16", - :gateway => "10.5.0.1", - :public_address => "161.53.248.77" - } - } - }, - :postgresql => { - :settings => { - :defaults => { - :shared_buffers => "8GB", - :maintenance_work_mem => "7144MB", - :effective_cache_size => "16GB" - } - } - }, - :sysctl => { - :postgres => { - :comment => "Increase shared memory for postgres", - :parameters => { - "kernel.shmmax" => 9 * 1024 * 1024 * 1024, - "kernel.shmall" => 9 * 1024 * 1024 * 1024 / 4096 - } - } - }, - :tile => { - :database => { - :cluster => "12/main", - :postgis => "3" - }, - :styles => { - :default => { - :tile_directories => [ - { :name => "/store/tiles/default", :min_zoom => 0, :max_zoom => 19 } - ] + :inet => { + :address => "10.5.0.77", + :prefix => "16", + :gateway => "10.5.0.1", + :public_address => "161.53.248.77" + } } } } ) run_list( - "role[carnet]", - "role[tile]" + "role[carnet]" )