]> git.openstreetmap.org Git - chef.git/blobdiff - roles/poldi.rb
Explicitly set number of osm2pgsql processes
[chef.git] / roles / poldi.rb
index c0ffaaddf6bfb098464079034d63d3f1ae7ac463..7fc730a3156dd4959bca8832cb7c1e300162afbf 100644 (file)
@@ -57,13 +57,13 @@ default_attributes(
     }
   },
   :postgresql => {
+    :versions => ["9.3"],
     :settings => {
       :defaults => {
-        :shared_buffers => "10GB",
         :work_mem => "160MB",
         :maintenance_work_mem => "10GB",
         :random_page_cost => "1.5",
-        :effective_cache_size => "70GB",
+        :effective_cache_size => "40GB",
         :fsync => "on"
       }
     }
@@ -93,5 +93,5 @@ default_attributes(
 run_list(
   "role[ic]",
   "role[tyan-s7010]",
-  "role[nominatim-slave]"
+  "role[nominatim-standalone]"
 )