You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Collectd expects to have a single value per each key when it is not another Config object instance included within the module configuration. So the result from array of params is supposed to be like.
Key "Value1"
Key "Value 2"
Key 22
Key false
Change of module configuration parsing array values to per single value fixes the issue.
Closesvoxpupuli#964
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
Create python plugin module configuration eg.
Using the https://github.com/mleinart/collectd-haproxy as a module for python plugin.
What are you seeing
The generated configuration (more values assigned to the key on a single line separated by space) eg.
is not compatible with collectd register_config function using the Config object where it is written.
So the array for values of module
key
cannot be formed like that as it is not propagated to the module by collectd itself.What behaviour did you expect instead
The single value per module configuration key is expected, so the result is supposed to be like.
Any additional information you'd like to impart
The affected part of the code is https://github.com/voxpupuli/puppet-collectd/blob/master/templates/plugin/python/module.conf_config.epp#L11-L21
The text was updated successfully, but these errors were encountered: