]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apache/recipes/ssl.rb
Use new apache conf fragment support for SSL config
[chef.git] / cookbooks / apache / recipes / ssl.rb
index 83280244a8f1a66228835fe63ddf761d528f57ab..700e10e4af5afcf379514d5ec020cb632bd61944 100644 (file)
@@ -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