From: Tom Hughes Date: Wed, 5 Sep 2018 13:48:35 +0000 (+0100) Subject: Fix rubocop warning X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/7428cac616a46d189eaa30ce55d6c2978c07c34b?ds=sidebyside Fix rubocop warning --- 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]"