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 raidmods = node[:kernel][:modules].keys & ["cciss", "hpsa", "mptsas", "mpt2sas", "megaraid_mm", "megaraid_sas", "aacraid"]
15 unless raidmods.empty?
16 default[:apt][:sources] |= [ "hwraid" ]