]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apache/providers/module.rb
More rubocop cleanup
[chef.git] / cookbooks / apache / providers / module.rb
index d8072bc6ef84b1e28caaa75f1d80c7af389183aa..0a85f7ee4ce1c004642a0d7837dae00f7043ce85 100644 (file)
@@ -40,7 +40,7 @@ action :install do
       notifies :reload, "service[apache2]" if enabled?
     end
 
-    updated = updated || t.updated_by_last_action?
+    updated ||= t.updated_by_last_action?
   end
 
   new_resource.updated_by_last_action(updated)