Im using the munin::plugin define for config some gunicorn plugins but the config of the munin plugin when i use content_config or source_config attribute, it uploads the file or content on a file to root (/). My puppet code is very simple:
munin::plugin { 'gunicorn_status':
source => 'services/munin-contrib/plugins/gunicorn/gunicorn_status',
source_config => 'xxxxxxxx/munin/gunicorn/gunicorn-config',
linkplugins => true,
}
This puts a file on a root (/gunicorn_status), the code that works is this:
munin::plugin { '/etc/munin/plugin-conf.d/gunicorn':
source_config => 'adserver/munin/gunicorn/gunicorn-config',
}
munin::plugin { 'gunicorn_status':
source => 'services/munin-contrib/plugins/gunicorn/gunicorn_status',
linkplugins => true,
}
I dont know if its a bug or what i see the code of the plugins and i think its correct, because the munin script is uploaded correctly. I dont know what is happening.
Cheers