]> git.openstreetmap.org Git - chef.git/blobdiff - roles/ucl.rb
Route some additional API calls to cgimap
[chef.git] / roles / ucl.rb
index f3a0305950a45f574c118c520ec9957c79690d0c..eb3dfd1cd10034b74db6d419192cb1aa64f27c09 100644 (file)
@@ -19,6 +19,15 @@ default_attributes(
         }
       }
     }
+  },
+  :sysctl => {
+    :blackhole => {
+      :comment => "Force TCP level MTU probing because of known ICMP blackhole at UCL",
+      :parameters => {
+        "net.ipv4.tcp_mtu_probing" => "2",
+        "net.ipv4.tcp_base_mss" => "1024"
+      }
+    }
   }
 )
 
@@ -28,7 +37,7 @@ override_attributes(
     :search => ["ucl.openstreetmap.org", "openstreetmap.org"]
   },
   :ntp => {
-    :servers => ["0.uk.pool.ntp.org", "1.uk.pool.ntp.org", "europe.pool.ntp.org"]
+    :servers => ["ntp1.ucl.ac.uk", "ntp2.ucl.ac.uk"]
   }
 )