X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/524381e7bd2fab30c3fd0919242f57a9446274d8..f7628dac50cd43cd44bb4f7e5c343fe990b5af3f:/roles/rhaegal.rb?ds=sidebyside diff --git a/roles/rhaegal.rb b/roles/rhaegal.rb index 2663eb79a..72d8ae57c 100644 --- a/roles/rhaegal.rb +++ b/roles/rhaegal.rb @@ -8,75 +8,26 @@ default_attributes( } }, :location => "Zagreb, Croatia", - :munin => { - :plugins => { - :sensors_temp => { - :temp1 => { :warning => "85.0" }, - :temp2 => { :warning => "85.0" }, - :temp3 => { :warning => "85.0" }, - :temp4 => { :warning => "85.0" }, - :temp5 => { :warning => "85.0" }, - :temp6 => { :warning => "85.0" }, - :temp8 => { :warning => "85.0" }, - :temp9 => { :warning => "85.0" }, - :temp10 => { :warning => "85.0" }, - :temp11 => { :warning => "85.0" }, - :temp12 => { :warning => "85.0" }, - :temp13 => { :warning => "85.0" } - } - } - }, :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" - } - }, - :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 } - ] + :inet => { + :address => "193.198.233.218", + :prefix => "29", + :gateway => "193.198.233.217" + }, + :inet6 => { + :address => "2001:b68:40ff:3::2", + :prefix => "64", + :gateway => "2001:b68:40ff:3::1" + } } } } ) run_list( - "role[carnet]", - "role[tile]" + "role[carnet]" )