]> git.openstreetmap.org Git - chef.git/commitdiff
Avoid installing aacraid-status on Ubuntu 22.04
authorTom Hughes <tom@compton.nu>
Mon, 4 Jul 2022 08:18:21 +0000 (09:18 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 4 Jul 2022 08:18:21 +0000 (09:18 +0100)
cookbooks/hardware/recipes/default.rb

index 49af1f52eb069d672839c0ec40ebb27f6cf1d864..7e403a0d62d9d815561ecc6b17b3680e637e0ae9 100644 (file)
@@ -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