X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/b20599b6503be65674c3e420be6cca91b507ac0a..f4d9298947b4e2f3740236d9fe51aec7e63ce31e:/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"