end
end
+include_recipe "apt::hwraid" unless status_packages.empty?
+
%w[ssacli lsiutil sas2ircu megactl megacli arcconf].each do |tools_package|
if tools_packages.include?(tools_package)
package tools_package
end
end
-include_recipe "apt::hwraid" unless status_packages.empty?
-
%w[cciss-vol-status mpt-status sas2ircu-status megaclisas-status aacraid-status].each do |status_package|
if status_packages.include?(status_package)
package status_package
disks = disks.compact.uniq
if disks.count.positive?
+ apt_preference "smartmontools" do
+ action :remove
+ end
+
package "smartmontools"
template "/etc/cron.daily/update-smart-drivedb" do