]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apache/recipes/default.rb
Replace easy_install_package with python_package
[chef.git] / cookbooks / apache / recipes / default.rb
index d9bcaba1b2c450d500842cdeeb53bc0482df2758..72af9140b9b64b6c8caa034ece4c0a69c1cbb23c 100644 (file)
@@ -17,6 +17,8 @@
 # limitations under the License.
 #
 
+include_recipe "ssl"
+
 package "apache2"
 package "libwww-perl"
 
@@ -43,7 +45,7 @@ template "/etc/apache2/ports.conf" do
   source "ports.conf.erb"
   owner "root"
   group "root"
-  mode 0644
+  mode 0o644
 end
 
 service "apache2" do
@@ -69,6 +71,12 @@ apache_module "reqtimeout" do
   action [:disable]
 end
 
+apache_module "ssl"
+
+apache_conf "ssl" do
+  template "ssl.erb"
+end
+
 munin_plugin "apache_accesses"
 munin_plugin "apache_processes"
 munin_plugin "apache_volume"