X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/59d9dcec009d1a6ce77cb0c7e9a33c4324998598..eda0faa323426615b78375067a62aecd41b9b5af:/roles/poldi.rb diff --git a/roles/poldi.rb b/roles/poldi.rb index 869d4b8be..bed21e823 100644 --- a/roles/poldi.rb +++ b/roles/poldi.rb @@ -2,6 +2,9 @@ name "poldi" description "Master role applied to poldi" default_attributes( + :apt => { + :sources => [ "ubuntugis-stable", "ubuntugis-unstable" ] + }, :devices => { :areca_ld_tune => { :comment => "RAID arrays on areca", @@ -51,6 +54,7 @@ default_attributes( } }, :postgresql => { + :versions => [ "9.1" ], :settings => { :defaults => { :shared_buffers => "24GB", @@ -60,6 +64,35 @@ default_attributes( :effective_cache_size => "48GB" } } + }, + :nominatim => { + :database => { + :cluster => "9.1/main", + :dbname => "nominatim", + :postgis => "2.0" + }, + :fpm_pools => { + :www => { + :pm => "dynamic", + :max_children => "70" + }, + :bulk => { + :pm => "static", + :max_children => "10" + } + } + }, + :munin => { + :plugins => { + :sensors_volt => { + :volt6 => { + :warning => "2.992:3.536" + }, + :volt10 => { + :warning => "2.71:3.29" + } + } + } } )