1 if node[:dmi] and node[:dmi][:system]
2 case dmi.system.manufacturer
4 if node[:lsb][:release].to_f <= 11.10
5 default[:apt][:sources] |= [ "proliant-support-pack" ]
7 default[:apt][:sources] |= [ "management-component-pack" ]
12 if node[:kernel] and node[:kernel][:modules]
13 if node[:kernel][:modules].include?("mpt2sas")
14 default[:apt][:sources] |= [ "hwraid" ]
17 if node[:kernel][:modules].include?("megaraid_sas")
18 default[:apt][:sources] |= [ "hwraid" ]
21 if node[:kernel][:modules].include?("aacraid")
22 default[:apt][:sources] |= [ "hwraid" ]