]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/munin/recipes/default.rb
supybot: switch to git:// instead of ssh based git access
[chef.git] / cookbooks / munin / recipes / default.rb
index fb98079315f593c6c5a70350ad3e54815067a2be..3b41eb8e9c52d58a29ee89d42da26fd2b6933291 100644 (file)
@@ -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