]> git.openstreetmap.org Git - chef.git/blobdiff - roles/base.rb
Upgrade bytemark machines to chef 13
[chef.git] / roles / base.rb
index 529d23ba4a70637e40f527816aa8ec7a82254e2b..0383da15e4f1c0d90eae930204468d019cdf147b 100644 (file)
@@ -13,6 +13,13 @@ default_attributes(
   :apt => {
     :sources => ["openstreetmap"]
   },
+  :munin => {
+    :plugins => {
+      :ntp_offset => {
+        :offset => { :warning => "100", :critical => "250" }
+      }
+    }
+  },
   :networking => {
     :roles => {
       :internal => { :metric => 200, :zone => "loc" },
@@ -27,7 +34,10 @@ default_attributes(
     },
     :blackhole => {
       :comment => "Do TCP level MTU probing if we seem to have an ICMP blackhole",
-      :parameters => { "net.ipv4.tcp_mtu_probing" => "1" }
+      :parameters => {
+        "net.ipv4.tcp_mtu_probing" => "1",
+        "net.ipv4.tcp_base_mss" => "1024"
+      }
     },
     :network_buffers => {
       :comment => "Tune network buffers",