From 3ba555a4d228b4a0531efb63aa992131f433af34 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 26 Sep 2022 00:27:04 +0100 Subject: [PATCH] Don't use hp-ams on Gen10 --- 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 5609bd34b..95646aa4e 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -85,7 +85,7 @@ when "HP", "HPE" only_if { node[:lsb][:release].to_f < 22.04 } end - if product.end_with?("Gen8", "Gen9", "Gen10") + if product.end_with?("Gen8", "Gen9") package "hp-ams" do action :install notifies :restart, "service[hp-ams]" -- 2.43.2