]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/web/recipes/frontend.rb
Add a request ID to connect frontend and backend logs
[chef.git] / cookbooks / web / recipes / frontend.rb
index f0508f8e88af88c282318db8a41e875e989a23e7..1be89358c4b874830ead201b4fca95c88ca12e77 100644 (file)
@@ -31,6 +31,7 @@ apache_module "proxy_balancer"
 apache_module "lbmethod_byrequests"
 apache_module "lbmethod_bybusyness"
 apache_module "rewrite"
+apache_module "unique_id"
 
 apache_site "default" do
   action [:disable]
@@ -41,25 +42,9 @@ apache_site "www.openstreetmap.org" do
   variables :secret_key_base => web_passwords["secret_key_base"]
 end
 
-gem_package "hpricot"
-gem_package "home_run"
-gem_package "apachelogregex"
-
 template "/etc/logrotate.d/apache2" do
   source "logrotate.apache.erb"
   owner "root"
   group "root"
   mode 0644
 end
-
-munin_plugin "api_calls_num" do
-  action :delete
-end
-
-munin_plugin "api_calls_#{node[:hostname]}" do
-  target "api_calls_"
-end
-
-munin_plugin "api_waits_#{node[:hostname]}" do
-  target "api_waits_"
-end