X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/27149e751497c2fc1fc74b0032b3152c88240147..2915ebac652fcc0521325cf1aae5a2f56f792549:/roles/rhaegal.rb diff --git a/roles/rhaegal.rb b/roles/rhaegal.rb index 6d2a19fc9..6aafb5d33 100644 --- a/roles/rhaegal.rb +++ b/roles/rhaegal.rb @@ -27,9 +27,6 @@ default_attributes( } }, :networking => { - :firewall => { - :enabled => false - }, :interfaces => { :external_ipv4 => { :interface => "eno1", @@ -40,46 +37,10 @@ default_attributes( :gateway => "10.5.0.1", :public_address => "161.53.248.77" } - }, - :nameservers => [ - "10.5.0.7", - "8.8.8.8" - ] - }, - :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 } - ] - } } } ) run_list( - "role[carnet]", - "role[tile]" + "role[carnet]" )