lib/deprec/recipes/web/apache.rb in deprec-2.1.5 vs lib/deprec/recipes/web/apache.rb in deprec-2.1.8

- old
+ new

@@ -7,11 +7,11 @@ set :apache_vhost_dir, '/etc/apache2/sites-available' set :apache_ssl_enabled, false set :apache_ssl_ip, nil set :apache_ssl_forward_all, apache_ssl_enabled set :apache_ssl_chainfile, false - set :apache_modules_enabled, %w(rewrite ssl proxy_balancer proxy_http deflate headers) + set :apache_modules_enabled, %w(rewrite ssl proxy_balancer proxy_http deflate expires headers) set :apache_log_dir, '/var/log/apache2' desc "Install apache" task :install do install_deps @@ -29,13 +29,13 @@ { :template => 'namevirtualhosts.conf', :path => '/etc/apache2/conf.d/namevirtualhosts.conf', :mode => 0644, :owner => 'root:root'}, - # { :template => 'ports.conf.erb', - # :path => '/etc/apache2/ports.conf', - # :mode => 0644, - # :owner => 'root:root'}, + { :template => 'ports.conf.erb', + :path => '/etc/apache2/ports.conf', + :mode => 0644, + :owner => 'root:root'}, { :template => 'status.conf.erb', :path => '/etc/apache2/mods-available/status.conf', :mode => 0644, :owner => 'root:root'}