]> git.openstreetmap.org Git - chef.git/commitdiff
Fix rubocop warning
authorTom Hughes <tom@compton.nu>
Wed, 5 Sep 2018 13:48:35 +0000 (14:48 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 5 Sep 2018 13:48:35 +0000 (14:48 +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]"