X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/eca5108bf65febcb28de7c52d86138d645aed5cc..6fc0e26a301113ee8a92bf928b764e873fb03a4e:/roles/base.rb diff --git a/roles/base.rb b/roles/base.rb index 0875bdb4d..529d23ba4 100644 --- a/roles/base.rb +++ b/roles/base.rb @@ -11,14 +11,14 @@ default_attributes( } }, :apt => { - :sources => [ "openstreetmap" ] + :sources => ["openstreetmap"] }, :networking => { :roles => { :internal => { :metric => 200, :zone => "loc" }, :external => { :metric => 100 } }, - :search => [ "openstreetmap.org" ] + :search => ["openstreetmap.org"] }, :sysctl => { :panic => { @@ -31,7 +31,7 @@ default_attributes( }, :network_buffers => { :comment => "Tune network buffers", - :parameters => { + :parameters => { "net.core.rmem_max" => "16777216", "net.core.wmem_max" => "16777216", "net.ipv4.tcp_rmem" => "4096\t87380\t16777216", @@ -44,7 +44,7 @@ default_attributes( }, :network_conntrack_established => { :comment => "Only track established connections for four hours", - :parameters => { + :parameters => { "net.netfilter.nf_conntrack_tcp_timeout_established" => "14400" } },