]> git.openstreetmap.org Git - chef.git/blobdiff - roles/ucl-wates.rb
Make web frontends use backends in the same location
[chef.git] / roles / ucl-wates.rb
index 80cf8ff5ea262881825dc5cfd58f97a72e683d7e..bba547e0f29ac9769bba3ab68c4ff30e942aeec8 100644 (file)
@@ -18,13 +18,21 @@ default_attributes(
         }
       }
     }
+  },
+  :sysctl => {
+    :sack => {
+      :comment => "Disable SACK as the UCL firewall breaks it",
+      :parameters => {
+        "net.ipv4.tcp_sack" => "0"
+      }
+    }
   }
 )
 
 override_attributes(
   :networking => {
-    :nameservers => [ "10.0.0.3", "8.8.8.8", "8.8.4.4" ],
-    :search => [ "ucl.openstreetmap.org", "openstreetmap.org" ]
+    :nameservers => ["10.0.0.3", "8.8.8.8", "8.8.4.4"],
+    :search => ["ucl.openstreetmap.org", "openstreetmap.org"]
   }
 )