end
if node[:kernel] && node[:kernel][:modules]
- raidmods = node[:kernel][:modules].keys & %w(cciss hpsa mptsas mpt2sas megaraid_mm megaraid_sas aacraid)
+ raidmods = node[:kernel][:modules].keys & %w(cciss hpsa mptsas mpt2sas mpt3sas megaraid_mm megaraid_sas aacraid)
unless raidmods.empty?
default[:apt][:sources] |= ["hwraid"]
when "mptsas"
tools_packages << "lsiutil"
# status_packages["mpt-status"] ||= []
- when "mpt2sas"
+ when "mpt2sas", "mpt3sas"
tools_packages << "sas2ircu"
status_packages["sas2ircu-status"] ||= []
when "megaraid_mm"
Dir.glob("/sys/class/scsi_host/host*") do |host|
driver = File.new("#{host}/proc_name").read.chomp
- next unless driver == "mpt2sas"
+ next unless driver == "mpt2sas" || driver == "mpt3sas"
bus = host.sub("/sys/class/scsi_host/host", "")