X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/18d192a0b455a06baa03b76f87f4e97cad6c1a3f..7155c00477d8ea2919730489c4bd354df0751bf1:/cookbooks/munin/recipes/server.rb?ds=sidebyside diff --git a/cookbooks/munin/recipes/server.rb b/cookbooks/munin/recipes/server.rb index 84c739e49..6d628bb8c 100644 --- a/cookbooks/munin/recipes/server.rb +++ b/cookbooks/munin/recipes/server.rb @@ -66,9 +66,28 @@ 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 +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"