X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/b64649fc306d2f8e909ffe2afb1572111590fef4..e5dcd3ae4542c09c663e3648b474f2b227801e36:/cookbooks/apache/providers/module.rb diff --git a/cookbooks/apache/providers/module.rb b/cookbooks/apache/providers/module.rb index c5efdd2c5..d3f069b7f 100644 --- a/cookbooks/apache/providers/module.rb +++ b/cookbooks/apache/providers/module.rb @@ -24,16 +24,14 @@ end use_inline_resources action :install do - unless installed? - package package_name - end + package package_name unless installed? if new_resource.conf # ~FC023 template available_name("conf") do source new_resource.conf owner "root" group "root" - mode 0644 + mode 0o644 variables new_resource.variables end end