From 6637cee462a3879f0e17ebe1d2310d509d6e7919 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sat, 9 Jul 2022 15:31:35 +0100 Subject: [PATCH] Avoid installing megaclisas-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..ae00d3b9e 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -239,7 +239,7 @@ if node[:virtualization][:role] != "guest" || status_packages["megaraid-status"] ||= [] when "megaraid_sas" tools_packages << "megacli" - status_packages["megaclisas-status"] ||= [] + status_packages["megaclisas-status"] ||= [] if node[:lsb][:release].to_f < 22.04 when "aacraid" tools_packages << "arcconf" status_packages["aacraid-status"] ||= [] -- 2.45.1