]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apache/recipes/default.rb
Enable mod_headers everywhere as we use it for HSTS support
[chef.git] / cookbooks / apache / recipes / default.rb
index 1a274e223b5e9605ea3fdca115a4a38884310029..559fc83b0a7ff7eaaa57cad36ea8b3c4f706a4e6 100644 (file)
 
 include_recipe "ssl"
 
-package "apache2"
-package "libwww-perl"
+package %w[
+  apache2
+  libwww-perl
+]
 
 %w[event itk prefork worker].each do |mpm|
   if mpm == node[:apache][:mpm]
@@ -77,6 +79,7 @@ else
   end
 end
 
+apache_module "headers"
 apache_module "ssl"
 
 apache_conf "ssl" do