]> git.openstreetmap.org Git - chef.git/blobdiff - roles/nominatim.rb
add flatnode file and tablespace configurations for nominatim
[chef.git] / roles / nominatim.rb
index a98fd9f25a349ab3975e279a3a0922ec98bb7f99..5ab2429973313a24de589b16d2bd809a2586084f 100644 (file)
@@ -58,7 +58,19 @@ default_attributes(
   },
   :nominatim => {
     :enabled => true,
-    :repository => "git://git.openstreetmap.org/nominatim.git"
+    :repository => "git://git.openstreetmap.org/nominatim.git",
+    :tablespaces => {
+        "Osm2pgsql_Data" => "aux",
+        "Osm2pgsql_Index" => "data",
+        "Place_Data" => "ssd2",
+        "Place_Index" => "ssd1",
+        "Address_Data" => "ssd2",
+        "Address_Index" => "ssd1",
+        "Search_Data" => "ssd1",
+        "Search_Index" => "ssd1",
+        "Aux_Data" => "aux",
+        "Aux_Index" => "aux",
+    }
   }
 )