]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nginx/recipes/default.rb
Revert "Temporary nginx cache purge after depth change"
[chef.git] / cookbooks / nginx / recipes / default.rb
index b61ba5d4679a34da237944bb5b036d27ab7a3475..ae6fb2362c71fd7ead8d3a85de1b9debec67fbbc 100644 (file)
@@ -1,8 +1,8 @@
 #
-# Cookbook Name:: nginx
+# Cookbook:: nginx
 # Recipe:: default
 #
-# Copyright 2013, OpenStreetMap Foundation
+# Copyright:: 2013, OpenStreetMap Foundation
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -50,3 +50,12 @@ service "nginx" do
   supports :status => true, :restart => true, :reload => true
   subscribes :restart, "template[/etc/nginx/nginx.conf]"
 end
+
+munin_plugin_conf "nginx" do
+  template "munin.erb"
+end
+
+package "libwww-perl"
+
+munin_plugin "nginx_request"
+munin_plugin "nginx_status"