if node[:kernel][:modules].include?("mpt2sas")
default[:apt][:sources] |= [ "hwraid" ]
end
+
+ if node[:kernel][:modules].include?("megaraid_sas")
+ default[:apt][:sources] |= [ "hwraid" ]
+ end
+
+ if node[:kernel][:modules].include?("aacraid")
+ default[:apt][:sources] |= [ "hwraid" ]
+ end
end
package "sas2ircu"
package "sas2ircu-status"
end
+
+if node[:kernel][:modules].include?("megaraid_sas")
+ package "megacli"
+ package "megaclisas-status"
+end
+
+if node[:kernel][:modules].include?("aacraid")
+ package "arcconf"
+ package "aacraid-status"
+end