From: Tom Hughes Date: Mon, 4 Jul 2022 08:18:21 +0000 (+0100) Subject: Avoid installing aacraid-status on Ubuntu 22.04 X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/9ea8db68462908a53d1721e34f6aaff3645d595b Avoid installing aacraid-status on Ubuntu 22.04 --- diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index 49af1f52e..7e403a0d6 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -242,7 +242,7 @@ if node[:virtualization][:role] != "guest" || status_packages["megaclisas-status"] ||= [] when "aacraid" tools_packages << "arcconf" - status_packages["aacraid-status"] ||= [] + status_packages["aacraid-status"] ||= [] if node[:lsb][:release].to_f < 22.04 when "arcmsr" tools_packages << "areca" end