X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/13b9c30daf9e7cf21b38019a70d641ee9aac0355..974d2ff3a3ff7f13d26667972fb2ab802f76e826:/cookbooks/nominatim/attributes/default.rb diff --git a/cookbooks/nominatim/attributes/default.rb b/cookbooks/nominatim/attributes/default.rb index 8f187c777..e29fd7931 100644 --- a/cookbooks/nominatim/attributes/default.rb +++ b/cookbooks/nominatim/attributes/default.rb @@ -1,2 +1,27 @@ +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" +default[:nominatim][:enable_backup] = false +default[:nominatim][:enable_git_updates] = true +default[:nominatim][:ui_repository] = "https://github.com/osm-search/nominatim-ui" +default[:nominatim][:ui_revision] = "master" + +default[:nominatim][:fpm_pools] = { + :www => { + :port => 8000, + :pm => "dynamic", + :max_children => 60 + } +} + +default[:nominatim][:redirects] = {} + +default[:postgresql][:versions] |= [node[:nominatim][:dbcluster].split("/").first] + +default[:accounts][:users][:nominatim][:status] = :role