]> git.openstreetmap.org Git - chef.git/blobdiff - roles/poldi.rb
Go to gpx_offline mode
[chef.git] / roles / poldi.rb
index 8aefdaf8221669630c9841cef0e595ab6d0083d0..7bb870f71e0848a0a5a36aaebd12177134707572 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,6 +66,11 @@ default_attributes(
     }
   },
   :nominatim => {
+    :database => {
+        :cluster => "9.1/main",
+        :dbname => "nominatim",
+        :postgis => "2.0"
+    },
     :fpm_pools => {
         :www => {
             :pm => "dynamic",
@@ -69,7 +78,7 @@ default_attributes(
         },
         :bulk => {
             :pm => "static",
-            :max_children => "9"
+            :max_children => "10"
         }
     }
   },
@@ -88,6 +97,6 @@ default_attributes(
 )
 
 run_list(
-  "role[ucl-internal]",
+  "role[ucl-wates]",
   "role[nominatim]"
 )