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
Affected Puppet, Ruby, OS and module versions/distributions
Puppet: 3.8.7
Ruby: 1.9.3p484
Distribution: Ubuntu 14.04
Module version: 5.2
How to reproduce (e.g Puppet code you use)
class { 'collectd::plugin::aggregation':
aggregators => {
cpu => {
plugin => 'cpu',
type => 'cpu',
groupby => ["Host", "TypeInstance"],
calculateaverage => true,
},
}
}
What are you seeing
Error: Invalid parameter type on Collectd::Plugin::Aggregation::Aggregator[cpu] at xxx/client.pp:45 on node xx.xx.com
Error: Invalid parameter type on Collectd::Plugin::Aggregation::Aggregator[cpu] at xxx/client.pp:45 on node xx.xx.com
What behaviour did you expect instead
It works fine on 5.1 and generates correct config
The text was updated successfully, but these errors were encountered:
@gytisgreitai Are you certain that you didn't do a typo and use aggregator rather than aggregators because that is what the error message seems to be indicating.
@juniorsysadmin yes. I have the exact same code as shown here, that works on 5.1, and fails on 5.2.
Since opening this issue I've upgraded to puppet 4.8.1 so the error has more details:
Error: Evaluation Error: Error while evaluating a Resource Statement, Collectd::Plugin::Aggregation::Aggregator[cpu]: has no parameter named 'type' at xxx/collectd/manifests/plugin/aggregation.pp:19 on node yyyyy
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
What behaviour did you expect instead
It works fine on 5.1 and generates correct config
The text was updated successfully, but these errors were encountered: