if sensors_volt
munin_plugin "sensors_volt" do
target "sensors_"
+ conf "sensors_volt.erb"
end
else
munin_plugin "sensors_volt" do
if attributes[:vendor] == "ATA"
munin_plugin "smart_#{name}" do
target "smart_"
+ conf "smart.erb"
+ conf_variables :disk => name
end
else
munin_plugin "smart_#{name}" do