From: Tom Hughes Date: Tue, 3 Jun 2014 07:57:30 +0000 (+0100) Subject: Use new apache conf fragment support for SSL config X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/cb58c5f3f68950d65ee72f169345fd2b743691b7 Use new apache conf fragment support for SSL config --- diff --git a/cookbooks/apache/recipes/ssl.rb b/cookbooks/apache/recipes/ssl.rb index 83280244a..700e10e4a 100644 --- a/cookbooks/apache/recipes/ssl.rb +++ b/cookbooks/apache/recipes/ssl.rb @@ -30,11 +30,8 @@ end apache_module "ssl" -template "/etc/apache2/conf.d/ssl" do - source "ssl.erb" - owner "root" - group "root" - mode 0644 +apache_conf "ssl" do + template "ssl.erb" variables :certificate => certificate notifies :reload, "service[apache2]" end