]> git.openstreetmap.org Git - chef.git/commitdiff
hardware: Also install hp-ams on Gen9 servers
authorGrant Slater <git@firefishy.com>
Tue, 4 Sep 2018 17:26:37 +0000 (18:26 +0100)
committerGrant Slater <git@firefishy.com>
Tue, 4 Sep 2018 17:26:37 +0000 (18:26 +0100)
cookbooks/hardware/recipes/default.rb

index 564e530187d3e25c9e3034c779916ef71d89864c..fdcdf6161cd2493e34e816e65fd170a4ebccde11 100644 (file)
@@ -65,7 +65,7 @@ when "HP"
     supports :status => true, :restart => true
   end
 
-  if product.end_with?("Gen8")
+  if product.end_with?("Gen8") || product.end_with?("Gen9")
     package "hp-ams" do
       action :install
       notifies :restart, "service[hp-ams]"