]> git.openstreetmap.org Git - chef.git/blobdiff - roles/poldi.rb
Go to gpx_offline mode
[chef.git] / roles / poldi.rb
index fde01429a6b8808e79aa576dcb09edfdeaea32e1..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",
@@ -88,6 +97,6 @@ default_attributes(
 )
 
 run_list(
-  "role[ucl-internal]",
+  "role[ucl-wates]",
   "role[nominatim]"
 )