Skip to content

Commit

Permalink
hardware: install apt::hwraid before use
Browse files Browse the repository at this point in the history
  • Loading branch information
Firefishy committed Jul 5, 2024
1 parent b921aad commit 45dc24b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cookbooks/hardware/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,8 @@
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
Expand Down Expand Up @@ -359,8 +361,6 @@
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
Expand Down

0 comments on commit 45dc24b

Please sign in to comment.