X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/93c098cdc4f22b1fe69ecd88b3ac2d2b211780ff..22bfa5e6f8152e492f21ae2c972a164474cfdd61:/cookbooks/nominatim/attributes/default.rb diff --git a/cookbooks/nominatim/attributes/default.rb b/cookbooks/nominatim/attributes/default.rb index 67708f9a1..fe1118822 100644 --- a/cookbooks/nominatim/attributes/default.rb +++ b/cookbooks/nominatim/attributes/default.rb @@ -1,7 +1,9 @@ default[:nominatim][:state] = "off" # or: standalone, master, slave default[:nominatim][:dbadmins] = [] +default[:nominatim][:dbcluster] = "12/main" default[:nominatim][:dbname] = "nominatim" default[:nominatim][:tablespaces] = [] +default[:nominatim][:postgis] = "2.5" default[:nominatim][:logdir] = "/var/log/nominatim" default[:nominatim][:repository] = "https://git.openstreetmap.org/public/nominatim.git" default[:nominatim][:revision] = "master" @@ -13,17 +15,11 @@ default[:nominatim][:fpm_pools] = { :port => "8000", :pm => "dynamic", :max_children => "60" - }, - :bulk => { - :port => "8001", - :pm => "static", - :max_children => "10" - }, - :details => { - :port => "8002", - :pm => "static", - :max_children => "2" } } default[:nominatim][:redirects] = {} + +default[:postgresql][:versions] |= [node[:nominatim][:dbcluster].split("/").first] + +default[:accounts][:users][:nominatim][:status] = :role