]> git.openstreetmap.org Git - chef.git/blob - cookbooks/nominatim/attributes/default.rb
fe1118822a69352a60263ee879a18209c5795c5c
[chef.git] / cookbooks / nominatim / attributes / default.rb
1 default[:nominatim][:state] = "off" # or: standalone, master, slave
2 default[:nominatim][:dbadmins] = []
3 default[:nominatim][:dbcluster] = "12/main"
4 default[:nominatim][:dbname] = "nominatim"
5 default[:nominatim][:tablespaces] = []
6 default[:nominatim][:postgis] = "2.5"
7 default[:nominatim][:logdir] = "/var/log/nominatim"
8 default[:nominatim][:repository] = "https://git.openstreetmap.org/public/nominatim.git"
9 default[:nominatim][:revision] = "master"
10 default[:nominatim][:enable_backup] = false
11 default[:nominatim][:enable_git_updates] = true
12
13 default[:nominatim][:fpm_pools] = {
14   :www => {
15     :port => "8000",
16     :pm => "dynamic",
17     :max_children => "60"
18   }
19 }
20
21 default[:nominatim][:redirects] = {}
22
23 default[:postgresql][:versions] |= [node[:nominatim][:dbcluster].split("/").first]
24
25 default[:accounts][:users][:nominatim][:status] = :role