X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/60b1f7f088490d6904ce549956d33e2992963e79..21958591555b0b80370e944e3128ac5d533c281d:/cookbooks/munin/recipes/server.rb diff --git a/cookbooks/munin/recipes/server.rb b/cookbooks/munin/recipes/server.rb index 983f92231..3e72ea160 100644 --- a/cookbooks/munin/recipes/server.rb +++ b/cookbooks/munin/recipes/server.rb @@ -36,10 +36,12 @@ directory "/var/lib/munin/rrdcached" do end service "rrdcached" do - action [ :enable, :start ] + action [:enable, :start] subscribes :restart, "template[/etc/default/rrdcached]" end +munin_plugin "rrdcached" + expiry_time = 14 * 86400 clients = search(:node, "recipes:munin").select { |n| n[:munin] }.sort_by { |n| n[:hostname] }