+ 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"]
+ end
+ end
+end
+
+if Chef::Util.compare_versions(node[:kernel][:release], [3, 3]).negative?
+ default[:hardware][:modules] |= ["microcode"]
+
+ if node[:cpu][:"0"][:vendor_id] == "GenuineIntel"
+ default[:hardware][:modules] |= ["coretemp"]