node[:kernel][:modules].each_key do |modname|
case modname
when "cciss"
- tools_packages << "hpssacli"
+ tools_packages << "ssacli"
status_packages["cciss-vol-status"] ||= []
when "hpsa"
- tools_packages << "hpssacli"
+ tools_packages << "ssacli"
status_packages["cciss-vol-status"] ||= []
when "mptsas"
tools_packages << "lsiutil"
end
end
-%w[hpssacli lsiutil sas2ircu megactl megacli arcconf].each do |tools_package|
+%w[ssacli lsiutil sas2ircu megactl megacli arcconf].each do |tools_package|
if tools_packages.include?(tools_package)
package tools_package
else
find_direct_disks(disk)
find_nvme_disks(disk)
- find_hp_disks(disk) if File.exist?("/usr/sbin/hpssacli")
+ find_hp_disks(disk) if File.exist?("/usr/sbin/ssacli")
find_megaraid_disks(disk) if File.exist?("/usr/sbin/megacli")
find_mpt1_disks(disk) if File.exist?("/usr/sbin/lsiutil")
find_mpt2_disks(disk) if File.exist?("/usr/sbin/sas2ircu")
array = nil
disk = nil
- IO.popen(%w(hpssacli controller all show config detail)).each do |line|
+ IO.popen(%w(ssacli controller all show config detail)).each do |line|
if line =~ /^Smart Array (\S+) /
controller = {
:id => devices[:controllers].count,