]> git.openstreetmap.org Git - chef.git/blobdiff - roles/pummelzacken.rb
Revert "nominatim: disable redirects to poldi"
[chef.git] / roles / pummelzacken.rb
index 495f2a612e64daf5f84462aa6b17dd3a5b5da7da..d7ae5cd6bbba3c6d9a63b775394aca2e4a5674f7 100644 (file)
@@ -21,6 +21,7 @@ default_attributes(
   :postgresql => {
     :settings => {
       :defaults => {
+        :listen_addresses => "10.0.0.20",
         :shared_buffers => "10GB",
         :work_mem => "160MB",
         :maintenance_work_mem => "10GB",
@@ -30,7 +31,6 @@ default_attributes(
     }
   },
   :nominatim => {
-    :enabled => true,
     :flatnode_file => "/ssd/nominatim/nodes.store",
     :database => {
       :cluster => "9.3/main",
@@ -48,6 +48,17 @@ default_attributes(
         :pm => "static",
         :max_children => "10"
       }
+    },
+    :redirects => {
+      :reverse => "poldi.openstreetmap.org"
+    }
+  },
+  :hardware => {
+    :grub => {
+      # lock kernel to 3.16.0-46 due to some issue with igb driver
+      # see https://github.com/openstreetmap/operations/issues/45
+      # for more information.
+      :kernel => "3.16.0-46"
     }
   }
 )