]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/attributes/default.rb
Make sure dnscontrol is on the path in DNS update scripts
[chef.git] / cookbooks / nominatim / attributes / default.rb
index b4a0b095273ac13d1af3f7c3934f0f68c21f68ec..67708f9a1423691af2605039184c44f67dcaca77 100644 (file)
@@ -1 +1,29 @@
+default[:nominatim][:state] = "off" # or: standalone, master, slave
+default[:nominatim][:dbadmins] = []
+default[:nominatim][:dbname] = "nominatim"
+default[:nominatim][:tablespaces] = []
 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"
+  },
+  :bulk => {
+    :port => "8001",
+    :pm => "static",
+    :max_children => "10"
+  },
+  :details => {
+    :port => "8002",
+    :pm => "static",
+    :max_children => "2"
+  }
+}
+
+default[:nominatim][:redirects] = {}