Issue #6623 has been updated by Mike Pountney.
Ok, code up on 6623_plugin_config branch of:
git://github.com/mikepea/marionette-collective.git
I've named the directory 'plugin.d', and treated the files as having precedence
over server.cfg for the plugin that they manage..
Settings in plugin.d/{plugin_name}.cfg are not prefixed with
'plugin.{plugin_name}' (eg plugin.stomp.base.hostname becomes 'base.hostname'
in stomp.cfg). This is primarily to prevent *any* setting from being set in the
plugin.d/*.cfg files.
----------------------------------------
Feature #6623: Plugin config should be readable from
{configdir}/plugin_conf.d/{plugin_name}.cfg
https://projects.puppetlabs.com/issues/6623
Author: Mike Pountney
Status: Accepted
Priority: Normal
Assignee: Mike Pountney
Category: Core
Target version: 1.1.4
Keywords: plugin config
Branch:
Affected mCollective version:
It's quite limiting at the moment having plugin configuration within the single
/etc/mcollective/server.cfg file.
Proposing a patch that would extend Config to have an include dir for just
plugins, with a file-per-plugin, eg:
/etc/mcollective/plugin_conf.d/nrpe.cfg
conf_dir = /etc/nagios/nrpe.conf.d
... would set @pluginconf[nrpe.conf_dir]
... overriding plugin.nrpe.conf_dir set in the server.cfg.
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.