]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/munin/providers/plugin.rb
More rubocop cleanup
[chef.git] / cookbooks / munin / providers / plugin.rb
index 193983471f7a9e0d60f4b3e419a0bdab3a2cc48b..2937190665a63025bbebe5ce350e34df90f6048d 100644 (file)
@@ -42,7 +42,7 @@ action :create do
       variables new_resource.conf_variables
     end
 
-    updated = updated || c.updated_by_last_action?
+    updated ||= c.updated_by_last_action?
   end
 
   new_resource.updated_by_last_action(updated)
@@ -61,7 +61,7 @@ action :delete do
       action :delete
     end
 
-    updated = updated || c.updated_by_last_action?
+    updated ||= c.updated_by_last_action?
   end
 
   new_resource.updated_by_last_action(updated)