]> git.openstreetmap.org Git - chef.git/blobdiff - roles/poldi.rb
Disable nominatim cron jobs on pummelzacken for now
[chef.git] / roles / poldi.rb
index 484ad9120b859a50e49efc763c25ecb09313c03f..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,16 +66,33 @@ 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",
             :max_children => "10"
         }
     }
+  },
+  :munin => {
+    :plugins => {
+      :sensors_volt => {
+        :volt6 => {
+          :warning => "2.992:3.536"
+        },
+        :volt10 => {
+          :warning => "2.71:3.29"
+        }
+      }
+    }
   }
 )