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
Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Service[collectd] is already declared at (file: /srv/maverick/software/maverick/manifests/puppet-modules/collectd/manifests/service.pp, line: 7); cannot redeclare (file: /srv/maverick/software/maverick/manifests/init.pp, line: 232) (file: /srv/maverick/software/maverick/manifests/init.pp, line: 232, column: 13) (file: /srv/maverick/software/maverick/manifests/maverick-modules/maverick_analysis/manifests/collect.pp, line: 122) on node maverick-ubuntuvm.lan
What behaviour did you expect instead
Not to have conflicting resource
Any additional information you'd like to impart
As per #688 and #771 , $collectd::service_name should be used instead of Service['collectd']. service.pp controls the service with a static name: service { 'collectd':
This should be: service { $collectd::service_name:
PR to follow
The text was updated successfully, but these errors were encountered:
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
Not to have conflicting resource
Any additional information you'd like to impart
As per #688 and #771 , $collectd::service_name should be used instead of Service['collectd']. service.pp controls the service with a static name:
service { 'collectd':
This should be:
service { $collectd::service_name:
PR to follow
The text was updated successfully, but these errors were encountered: