From 6e798e8dfcb53f7a01c846f17c32d5e34d0af4c7 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 24 Jul 2022 14:59:57 +0100 Subject: [PATCH] Drop support for older megaraid cards as we don't have any --- cookbooks/hardware/recipes/default.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index 952729a00..5d599e62a 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -247,9 +247,6 @@ if node[:virtualization][:role] != "guest" || when "mpt2sas", "mpt3sas" tools_packages << "sas2ircu" status_packages["sas2ircu-status"] ||= [] - when "megaraid_mm" - tools_packages << "megactl" - status_packages["megaraid-status"] ||= [] when "megaraid_sas" tools_packages << "megacli" status_packages["megaclisas-status"] ||= [] @@ -330,7 +327,7 @@ else end end -%w[cciss-vol-status mpt-status sas2ircu-status megaraid-status megaclisas-status aacraid-status].each do |status_package| +%w[cciss-vol-status mpt-status sas2ircu-status megaclisas-status aacraid-status].each do |status_package| if status_packages.include?(status_package) package status_package -- 2.39.5