attribute :cookbook, :kind_of => String
attribute :template, :kind_of => String, :required => true
attribute :variables, :kind_of => Hash, :default => {}
+
+def initialize(*args)
+ super
+ begin
+ resources(:service => "munin-node").subscrbes(:restart, self)
+ rescue Chef::Exceptions::ResourceNotFound
+ # Ignore
+ end
+end