X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a7d96c8358a00088b485fadb5966eb4b231d2ff1..8cc107bab6a6ed356b9af5eec7486561a517df14:/roles/ic.rb diff --git a/roles/ic.rb b/roles/ic.rb index 369380956..5724b798e 100644 --- a/roles/ic.rb +++ b/roles/ic.rb @@ -8,12 +8,12 @@ default_attributes( } }, :networking => { - :nameservers => [ "146.179.159.164" ], + :nameservers => ["146.179.159.177"], :roles => { :internal => { :inet => { :prefix => "27", - :gateway => "146.179.159.164" + :gateway => "146.179.159.177" } }, :external => { @@ -28,15 +28,24 @@ default_attributes( } } } + }, + :sysfs => { + :cpufreq_ondemand_low => { + :comment => "Tune the ondemand CPU frequency governor for reduced scaling", + :parameters => { + "devices/system/cpu/cpufreq/ondemand/up_threshold" => "95", + "devices/system/cpu/cpufreq/ondemand/sampling_down_factor" => "1" + } + } } ) override_attributes( :networking => { - :search => [ "ic.openstreetmap.org", "openstreetmap.org" ] + :search => ["ic.openstreetmap.org", "openstreetmap.org"] }, :ntp => { - :servers => [ "0.uk.pool.ntp.org", "1.uk.pool.ntp.org", "europe.pool.ntp.org" ] + :servers => ["0.uk.pool.ntp.org", "1.uk.pool.ntp.org", "europe.pool.ntp.org"] } )