]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/munin/recipes/server.rb
Convert ohai_plugin to an LWRP
[chef.git] / cookbooks / munin / recipes / server.rb
index 983f92231adbb52672068dbd60b7374ba9b31664..3e72ea160194a10cacbf5dea978fa837dd3aa502 100644 (file)
@@ -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] }