]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/munin/recipes/server.rb
Tidy up munin www config
[chef.git] / cookbooks / munin / recipes / server.rb
index 84c739e49caa6f4eaec49fdb484f8c2ced74d78e..4729f4321edc6c5981dec81989a332065dd932b5 100644 (file)
@@ -66,9 +66,21 @@ end
 apache_module "fcgid"
 apache_module "rewrite"
 
+remote_directory "/srv/munin.openstreetmap.org" do
+  source "www"
+  owner "root"
+  group "root"
+  mode 0755
+  files_owner "root"
+  files_group "root"
+  files_mode 0755
+  purge true
+end
+
 apache_site "munin.openstreetmap.org" do
   template "apache.erb"
 end
 
 munin_plugin "munin_stats"
 munin_plugin "munin_update"
+munin_plugin "munin_rrdcached"