From: Grant Slater Date: Fri, 5 Jul 2024 12:05:27 +0000 (+0100) Subject: hardware: install apt::hwraid before use X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/45dc24b65b23a6c1dcc2f0ba2aa971563555c35e hardware: install apt::hwraid before use --- diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index 4122a7ac8..2fbf30141 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -331,6 +331,8 @@ if node[:virtualization][:role] != "guest" || 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 @@ -359,8 +361,6 @@ else 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