X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/98cc5f14caf136d786fea344a4742735ca192da2..069e33163e0b09a7d647a98c2fde284a16a43b99:/cookbooks/apache/providers/module.rb diff --git a/cookbooks/apache/providers/module.rb b/cookbooks/apache/providers/module.rb index d8072bc6e..0a85f7ee4 100644 --- a/cookbooks/apache/providers/module.rb +++ b/cookbooks/apache/providers/module.rb @@ -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)