X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/21958591555b0b80370e944e3128ac5d533c281d..cbf4196ce80c8b57a04aff7cd6b881671271b2c5:/roles/ucl.rb diff --git a/roles/ucl.rb b/roles/ucl.rb index 842daad98..eb3dfd1cd 100644 --- a/roles/ucl.rb +++ b/roles/ucl.rb @@ -2,12 +2,40 @@ name "ucl" description "Role applied to all servers at UCL" default_attributes( - :bind => { - :forwarders => ["144.82.100.1", "144.82.100.41"] + :location => "Slough, England", + :networking => { + :roles => { + :internal => { + :inet => { + :prefix => "20", + :gateway => "10.0.0.3" + } + }, + :external => { + :zone => "ucl", + :inet => { + :prefix => "24", + :gateway => "193.60.236.254" + } + } + } + }, + :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" + } + } } ) override_attributes( + :networking => { + :nameservers => ["10.0.0.3", "8.8.8.8", "8.8.4.4"], + :search => ["ucl.openstreetmap.org", "openstreetmap.org"] + }, :ntp => { :servers => ["ntp1.ucl.ac.uk", "ntp2.ucl.ac.uk"] }