X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/98cc5f14caf136d786fea344a4742735ca192da2..069e33163e0b09a7d647a98c2fde284a16a43b99:/cookbooks/munin/providers/plugin.rb diff --git a/cookbooks/munin/providers/plugin.rb b/cookbooks/munin/providers/plugin.rb index 193983471..293719066 100644 --- a/cookbooks/munin/providers/plugin.rb +++ b/cookbooks/munin/providers/plugin.rb @@ -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)