From 9ea8db68462908a53d1721e34f6aaff3645d595b Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 4 Jul 2022 09:18:21 +0100 Subject: [PATCH] Avoid installing aacraid-status on Ubuntu 22.04 --- cookbooks/hardware/recipes/default.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5