projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5a1981
)
Fix rubocop warning
author
Tom Hughes
<tom@compton.nu>
Wed, 5 Sep 2018 13:48:35 +0000
(14:48 +0100)
committer
Tom Hughes
<tom@compton.nu>
Wed, 5 Sep 2018 13:48:35 +0000
(14:48 +0100)
cookbooks/hardware/recipes/default.rb
patch
|
blob
|
history
diff --git
a/cookbooks/hardware/recipes/default.rb
b/cookbooks/hardware/recipes/default.rb
index fdcdf6161cd2493e34e816e65fd170a4ebccde11..f2af6c9863af0365a1ec0081777f1c670da4ba7c 100644
(file)
--- 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]"