+default[:hardware][:sensors] = {}
+
if node[:dmi] and node[:dmi][:system]
case dmi.system.manufacturer
when "HP"
- if node[:lsb][:release].to_f <= 11.10
- default[:apt][:sources] |= [ "proliant-support-pack" ]
- else
- default[:apt][:sources] |= [ "management-component-pack" ]
+ default[:apt][:sources] |= [ "management-component-pack" ]
+
+ case dmi.system.product_name
+ when "ProLiant DL360 G6", "ProLiant DL360 G7"
+ default[:hardware][:sensors][:power][:power1] = { :ignore => true }
end
end
end