]> git.openstreetmap.org Git - chef.git/commitdiff
Merge remote-tracking branch 'github/pull/185'
authorTom Hughes <tom@compton.nu>
Wed, 5 Sep 2018 14:04:03 +0000 (15:04 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 5 Sep 2018 14:04:03 +0000 (15:04 +0100)
cookbooks/hardware/recipes/default.rb

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