]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apache/providers/module.rb
Fix rubocop warnings
[chef.git] / cookbooks / apache / providers / module.rb
index 252b5e8165f2377757cc40eb71e5a0b4b686a89c..d3f069b7fb77a4550a5ed18a2e51d73331a5f8b9 100644 (file)
@@ -24,9 +24,7 @@ end
 use_inline_resources
 
 action :install do
-  unless installed?
-    package package_name
-  end
+  package package_name unless installed?
 
   if new_resource.conf # ~FC023
     template available_name("conf") do