X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/088b1a8ec1d09bd8b69a15e83eca91e3cf8ce6bb..9a6fabc89f05283c96e6eaff97935cc10e788c62:/cookbooks/hardware/attributes/default.rb diff --git a/cookbooks/hardware/attributes/default.rb b/cookbooks/hardware/attributes/default.rb index 78ec107c7..218e6228e 100644 --- a/cookbooks/hardware/attributes/default.rb +++ b/cookbooks/hardware/attributes/default.rb @@ -37,12 +37,6 @@ if node[:kernel][:modules].include?("ipmi_si") end end -if File.exist?("/proc/xen") - default[:hardware][:watchdog] = "xen_wdt" -elsif node[:kernel][:modules].include?("i6300esb") - default[:hardware][:watchdog] = "none" -end - if File.exist?("/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor") && File.read("/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor").chomp == "ondemand" default[:sysfs][:cpufreq_ondemand][:comment] = "Tune the ondemand CPU frequency governor"