Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

duplicate declaration issue #8

Closed
gitkent opened this issue Dec 10, 2013 · 2 comments
Closed

duplicate declaration issue #8

gitkent opened this issue Dec 10, 2013 · 2 comments

Comments

@gitkent
Copy link

gitkent commented Dec 10, 2013

I've had duplicate declaration issue error:

Could not retrieve catalog from remote server: Error 400 on SERVER: Duplicate declaration: Class[Ganglia::Gmond] is already declared; cannot redeclare on node example.com

I then have to use "include" instead of "inherits" and comment out the class dependency to get rid of the error, for e.g.
class ganglia::gmond ( ... , ...) {
...
include ganglia::params
...

class{ 'ganglia::gmond::install': } ->

class{ 'ganglia::gmond::config': } ->

class{ 'ganglia::gmond::service': } ->

Class['ganglia::gmond']

}

@jhoblitt
Copy link
Owner

That issue should have already been fixed by fc74fe2 , which was committed after the last forge release. I pushed out a 1.0.2 release to the forge a few minutes ago. Please give it a try and let me know.

@jhoblitt
Copy link
Owner

I'm going to assume that this issue is well resolved. Thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants