X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/3a4b1c2078cd515e93a5f1bf8967f380fbd1646f..3a4d52bd4c0f8e6ae7679145846b7bc7845d8ace:/cookbooks/apache/providers/module.rb diff --git a/cookbooks/apache/providers/module.rb b/cookbooks/apache/providers/module.rb index 166aa4a47..d8072bc6e 100644 --- a/cookbooks/apache/providers/module.rb +++ b/cookbooks/apache/providers/module.rb @@ -22,7 +22,7 @@ def whyrun_supported? end action :install do - if not installed? + if !installed? package package_name updated = true @@ -47,7 +47,7 @@ action :install do end action :enable do - if not enabled? + unless enabled? link enabled_name("load") do to available_name("load") owner "root"