]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/attributes/default.rb
Bump cookstyle from 6.20.1 to 6.20.2
[chef.git] / cookbooks / nominatim / attributes / default.rb
index b4a0b095273ac13d1af3f7c3934f0f68c21f68ec..e29fd7931e0eeb174274df5ae3901b0d81d43dab 100644 (file)
@@ -1 +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