X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/45479cd73476809c38704ab5f221c16c86504f2f..ac5078a9f96753d4ff0853ec88cb8a2393fbb758:/cookbooks/munin/recipes/default.rb diff --git a/cookbooks/munin/recipes/default.rb b/cookbooks/munin/recipes/default.rb index fb9807931..3b41eb8e9 100644 --- a/cookbooks/munin/recipes/default.rb +++ b/cookbooks/munin/recipes/default.rb @@ -291,9 +291,7 @@ Dir.glob("/sys/class/hwmon/hwmon*").each do |hwmon| sensors_volt = true unless Dir.glob("#{hwmon}/in*_input").empty? end -if sensors_fan || sensors_temp || sensors_volt - package "lm-sensors" -end +package "lm-sensors" if sensors_fan || sensors_temp || sensors_volt if sensors_fan munin_plugin "sensors_fan" do