- 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 node[:dmi][:system][:product_name]
+ when "ProLiant DL360 G6", "ProLiant DL360 G7", "ProLiant SE326M1R2"
+ default[:hardware][:sensors][:"power_meter-*"][:power][:power1] = { :ignore => true }
+ end
+
+ case node[:dmi][:system][:product_name]
+ when "ProLiant DL360 G6", "ProLiant DL360 G7", "ProLiant SE326M1R2", "ProLiant DL360e Gen8", "ProLiant DL360p Gen8"
+ default[:hardware][:ipmi][:custom_args] |= ["--workaround-flags=discretereading"]