X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/60b1f7f088490d6904ce549956d33e2992963e79..c1f1e240baece8f3a3ee1d7139736e4a6a0f027e:/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] }