]> git.openstreetmap.org Git - chef.git/blobdiff - roles/base.rb
Fix argument order for each_with_object
[chef.git] / roles / base.rb
index 06bcaf9a245136602c23a76c2d295be85cc85f6e..b38d5ce167c02e029f98f644c6f6e3ff5ecf3643 100644 (file)
@@ -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"
       }
     },
@@ -60,7 +60,7 @@ default_attributes(
       :comment => "Tune the ondemand CPU frequency governor",
       :parameters => {
         "devices/system/cpu/cpufreq/ondemand/up_threshold" => "25",
-        "devices/system/cpu/cpufreq/ondemand/sampling_down_factor" => "10"
+        "devices/system/cpu/cpufreq/ondemand/sampling_down_factor" => "100"
       }
     }
   }