X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/3a4d52bd4c0f8e6ae7679145846b7bc7845d8ace..0d881c7262ed69a06591d7b29f4f9e370e100a8d:/cookbooks/apache/recipes/default.rb diff --git a/cookbooks/apache/recipes/default.rb b/cookbooks/apache/recipes/default.rb index 30f77340d..2b412eefc 100644 --- a/cookbooks/apache/recipes/default.rb +++ b/cookbooks/apache/recipes/default.rb @@ -28,11 +28,11 @@ else %w(event itk prefork worker).each do |mpm| if mpm == node[:apache][:mpm] apache_module "mpm_#{mpm}" do - action [ :enable ] + action [:enable] end else apache_module "mpm_#{mpm}" do - action [ :disable ] + action [:disable] end end end @@ -63,7 +63,7 @@ template "/etc/apache2/ports.conf" do end service "apache2" do - action [ :enable, :start ] + action [:enable, :start] supports :status => true, :restart => true, :reload => true end @@ -77,8 +77,12 @@ apache_module "status" do variables :hosts => admins["hosts"] end +apache_module "deflate" do + conf "deflate.conf.erb" +end + apache_module "reqtimeout" do - action [ :disable ] + action [:disable] end munin_plugin "apache_accesses"