X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/dbfe66d5c438af1b566ace0704631f40ae7cc050..008cb387b7c450b7ea8c090b046b922dd18e4a92:/roles/ucl-wates.rb diff --git a/roles/ucl-wates.rb b/roles/ucl-wates.rb index c571bf61f..7fe47bb43 100644 --- a/roles/ucl-wates.rb +++ b/roles/ucl-wates.rb @@ -1,6 +1,34 @@ name "ucl-wates" description "Role applied to all servers at UCL which are in Wates House" +default_attributes( + :networking => { + :roles => { + :internal => { + :inet => { + :prefix => "20", + :gateway => "10.0.0.3" + } + }, + :external => { + :zone => "ucl", + :inet => { + :prefix => "24", + :gateway => "128.40.168.126" + } + } + } + }, + :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" ],