From: Tom Hughes Date: Sun, 25 Sep 2022 23:27:04 +0000 (+0100) Subject: Don't use hp-ams on Gen10 X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/3ba555a4d228b4a0531efb63aa992131f433af34 Don't use hp-ams on Gen10 --- 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]"