]> git.openstreetmap.org Git - chef.git/commitdiff
Don't use hp-ams on Gen10
authorTom Hughes <tom@compton.nu>
Sun, 25 Sep 2022 23:27:04 +0000 (00:27 +0100)
committerTom Hughes <tom@compton.nu>
Sun, 25 Sep 2022 23:27:04 +0000 (00:27 +0100)
cookbooks/hardware/recipes/default.rb

index 5609bd34b4a67d413307dcb0c922fd0b02cd929e..95646aa4efd44165a49c2598851e2a46658d23b7 100644 (file)
@@ -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]"