]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/munin/recipes/server.rb
Add munin backup script
[chef.git] / cookbooks / munin / recipes / server.rb
index 4729f4321edc6c5981dec81989a332065dd932b5..6d628bb8cd0fd5adf1c5d70f69bd25377ae7d8f1 100644 (file)
@@ -81,6 +81,13 @@ apache_site "munin.openstreetmap.org" do
   template "apache.erb"
 end
 
+template "/etc/cron.daily/munin-backup" do
+  source "backup.cron.erb"
+  owner "root"
+  group "root"
+  mode 0750
+end
+
 munin_plugin "munin_stats"
 munin_plugin "munin_update"
 munin_plugin "munin_rrdcached"