]> git.openstreetmap.org Git - chef.git/blobdiff - roles/nominatim.rb
Use postgres 9.3 on pummelzacken
[chef.git] / roles / nominatim.rb
index 8e3ed5d0b29e83cca388398791583fcdfa405286..c884e2b21b37a0a0fe92c5debf99813822a65ff4 100644 (file)
@@ -18,7 +18,7 @@ default_attributes(
     :keepalive => false,
     :event => {
       :server_limit => 32,
-      :max_clients => 800,
+      :max_clients => 1600,
       :threads_per_child => 50
     }
   },
@@ -26,7 +26,6 @@ default_attributes(
     :sources => [ "ubuntugis-stable", "ubuntugis-unstable" ]
   },
   :postgresql => {
-    :versions => [ "9.1" ],
     :settings => {
       :defaults => {
         :max_connections => "450",
@@ -55,21 +54,7 @@ default_attributes(
     }
   },
   :nominatim => {
-    :repository => "git://git.openstreetmap.org/nominatim.git",
-    :database => {
-        :cluster => "9.1/main",
-        :dbname => "nominatim"
-    },
-    :fpm_pools => {
-        :www => {
-            :pm => "dynamic",
-            :max_children => "50"
-        },
-        :bulk => {
-            :pm => "static",
-            :max_children => "7"
-        }
-    }
+    :repository => "git://git.openstreetmap.org/nominatim.git"
   }
 )