]> git.openstreetmap.org Git - chef.git/blobdiff - roles/dulcy.rb
Use .osc.gz for diffs that tile replication fetches
[chef.git] / roles / dulcy.rb
index 9b38f7abebfaa18e8efa3d5e2ad3b8cc81e7b89e..a1e930e788472d89eb62c6c7b64d036a3c777673 100644 (file)
@@ -39,13 +39,23 @@ default_attributes(
     }
   },
   :nominatim => {
-    :enabled => false,
+    :state => "standalone",
+    :enable_backup => false,
+    :dbadmins => %w(lonvia tomh),
+    :dbcluster => "9.5/main",
     :flatnode_file => "/ssd/nominatim/nodes.store",
     :logdir => "/ssd/nominatim/log",
-    :database => {
-      :cluster => "9.5/main",
-      :dbname => "nominatim",
-      :postgis => "2.2"
+    :tablespaces => {
+      "dosm" => "/ssd/tablespaces/dosm",
+      "iosm" => "/ssd/tablespaces/iosm",
+      "dplace" => "/ssd/tablespaces/dplace",
+      "iplace" => "/ssd/tablespaces/iplace",
+      "daddress" => "/ssd/tablespaces/daddress",
+      "iaddress" => "/ssd/tablespaces/iaddress",
+      "dsearch" => "/ssd/tablespaces/dsearch",
+      "isearch" => "/ssd/tablespaces/isearch",
+      "daux" => "/ssd/tablespaces/daux",
+      "iaux" => "/ssd/tablespaces/iaux"
     }
   },
   :sysfs => {
@@ -60,5 +70,6 @@ default_attributes(
 )
 
 run_list(
-  "role[ic]"
+  "role[ic]",
+  "role[nominatim]"
 )