]> git.openstreetmap.org Git - chef.git/blobdiff - roles/poldi.rb
Disable nominatim cron jobs on pummelzacken for now
[chef.git] / roles / poldi.rb
index 3b256d99816622712ff35611b369c19e317406cd..bed21e823c8673f71d2edddfbe6bc70261714942 100644 (file)
@@ -2,6 +2,9 @@ name "poldi"
 description "Master role applied to poldi"
 
 default_attributes(
+  :apt => {
+    :sources => [ "ubuntugis-stable", "ubuntugis-unstable" ]
+  },
   :devices => {
     :areca_ld_tune => {
       :comment => "RAID arrays on areca",
@@ -51,6 +54,7 @@ default_attributes(
     }
   },
   :postgresql => {
+    :versions => [ "9.1" ],
     :settings => {
       :defaults => {
         :shared_buffers => "24GB",
@@ -62,10 +66,15 @@ default_attributes(
     }
   },
   :nominatim => {
+    :database => {
+        :cluster => "9.1/main",
+        :dbname => "nominatim",
+        :postgis => "2.0"
+    },
     :fpm_pools => {
         :www => {
             :pm => "dynamic",
-            :max_children => "80"
+            :max_children => "70"
         },
         :bulk => {
             :pm => "static",