]> git.openstreetmap.org Git - chef.git/blobdiff - roles/poldi.rb
Use postgis 2.1 on pummelzacken
[chef.git] / roles / poldi.rb
index 8aefdaf8221669630c9841cef0e595ab6d0083d0..77626ed3893b64b6833890d73221bc6a0e1b18d2 100644 (file)
@@ -51,6 +51,7 @@ default_attributes(
     }
   },
   :postgresql => {
+    :versions => [ "9.1" ],
     :settings => {
       :defaults => {
         :shared_buffers => "24GB",
@@ -62,6 +63,11 @@ default_attributes(
     }
   },
   :nominatim => {
+    :database => {
+        :cluster => "9.1/main",
+        :dbname => "nominatim",
+        :postgis => "2.0"
+    },
     :fpm_pools => {
         :www => {
             :pm => "dynamic",
@@ -69,7 +75,7 @@ default_attributes(
         },
         :bulk => {
             :pm => "static",
-            :max_children => "9"
+            :max_children => "10"
         }
     }
   },