X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/b20599b6503be65674c3e420be6cca91b507ac0a..069e33163e0b09a7d647a98c2fde284a16a43b99:/cookbooks/apache/providers/conf.rb diff --git a/cookbooks/apache/providers/conf.rb b/cookbooks/apache/providers/conf.rb index 806a7076a..da339b955 100644 --- a/cookbooks/apache/providers/conf.rb +++ b/cookbooks/apache/providers/conf.rb @@ -57,7 +57,7 @@ def create_conf group "root" mode 0644 variables new_resource.variables - notifies :reload, "service[apache2]" if enabled? or available_name == enabled_name + notifies :reload, "service[apache2]" if enabled? || available_name == enabled_name end new_resource.updated_by_last_action(t.updated_by_last_action?)