X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/c283991b074eda3184dda15738dcbb994ff145a2..29c944fc288dba3f9075802bb6daee5434aa8172:/roles/rhaegal.rb diff --git a/roles/rhaegal.rb b/roles/rhaegal.rb index 6997afa57..f027cce62 100644 --- a/roles/rhaegal.rb +++ b/roles/rhaegal.rb @@ -7,38 +7,39 @@ default_attributes( :mmiler => { :status => :administrator } } }, - :devices => { - :ssd_samsung => { - :comment => "Tune scheduler for SSD", - :type => "block", - :bus => "ata", - :serial => "Samsung_SSD_860_PRO_*", - :attrs => { - "queue/scheduler" => "noop", - "queue/nr_requests" => "256", - "queue/read_ahead_kb" => "2048" + :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" } } } }, - :location => "Zagreb, Croatia", :networking => { :interfaces => { :external_ipv4 => { - :interface => "enp1s0f0", + :interface => "eno1", :role => :external, :family => :inet, :address => "10.5.0.77", :prefix => "16", - :gateway => "10.5.0.1" + :gateway => "10.5.0.1", + :public_address => "161.53.248.77" } - }, - :nameservers => [ - "10.5.0.7", - "8.8.8.8" - ] + } }, :postgresql => { - :versions => ["10"], :settings => { :defaults => { :shared_buffers => "8GB", @@ -58,9 +59,12 @@ default_attributes( }, :tile => { :database => { - :cluster => "10/main" + :cluster => "12/main", + :postgis => "3" + }, + :replication => { + :url => "https://planet.osm.org/replication/test/minute/" }, - :node_file => "/store/database/nodes", :styles => { :default => { :tile_directories => [