]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/attributes/default.rb
Separate php::apache-fpm frpm php::fpm
[chef.git] / cookbooks / nominatim / attributes / default.rb
index 8f187c7776051b093f2da2116e6dc09297ce152c..fe1118822a69352a60263ee879a18209c5795c5c 100644 (file)
@@ -1,2 +1,25 @@
+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][: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