X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a7d96c8358a00088b485fadb5966eb4b231d2ff1..5d8cabd78f74c076e0955e1e8e9bfa98bba8ff5d:/roles/nominatim.rb diff --git a/roles/nominatim.rb b/roles/nominatim.rb index 401f1f755..d640ec5f0 100644 --- a/roles/nominatim.rb +++ b/roles/nominatim.rb @@ -5,7 +5,11 @@ default_attributes( :accounts => { :users => { :lonvia => { :status => :administrator }, - :twain => { :status => :administrator } + :twain => { :status => :administrator }, + :nominatim => { + :status => :role, + :members => [ :lonvia, :tomh, :twain ] + }, } }, :apache => { @@ -41,6 +45,23 @@ default_attributes( "kernel.shmall" => 16 * 1024 * 1024 * 1024 / 4096 } } + }, + :nominatim => { + :repository => "git://git.openstreetmap.org/nominatim.git", + :database => { + :cluster => "9.1/main", + :dbname => "nominatim" + }, + :fpm_pools => { + :www => { + :pm => "dynamic", + :max_children => "25" + }, + :bulk => { + :pm => "static", + :max_children => "7" + } + } } )