From 7428cac616a46d189eaa30ce55d6c2978c07c34b Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 5 Sep 2018 14:48:35 +0100 Subject: [PATCH] Fix rubocop warning --- cookbooks/hardware/recipes/default.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index fdcdf6161..f2af6c986 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -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]" -- 2.43.2