From 6c9483e040382f452c16fb1b11a93e6b761d65b0 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 8 Jul 2022 19:48:22 +0100 Subject: [PATCH] Avoid installing sas2ircu-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..611ebb74d 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -233,7 +233,7 @@ if node[:virtualization][:role] != "guest" || status_packages["mpt-status"] ||= [] when "mpt2sas", "mpt3sas" tools_packages << "sas2ircu" - status_packages["sas2ircu-status"] ||= [] + status_packages["sas2ircu-status"] ||= [] if node[:lsb][:release].to_f < 22.04 when "megaraid_mm" tools_packages << "megactl" status_packages["megaraid-status"] ||= [] -- 2.39.5