I am trying to write a recipe that installs munin-node, and
subsequently syncs the plugins (files) and plugin-conf.d
directories based on an attribute value.
package ‘munin-node’ do
action [:enable, :start]
notifies 'sync plugins’
ruby_block ‘sync plugins’ do
# how do a call the munin_plugin here?
define :munin_plugin do
It seems quite complicated so if I missed an easier route to
running post-install ruby code that makes use use of Chef
 Yes, I am aware of the existing munin plugin. It does not
have this feature, and requires a chef server while I am using
Life Integrity, LLC