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: Class[Staging] with puppet/mysql mysqltuner #223

Closed
luckyraul opened this issue Feb 1, 2016 · 5 comments
Closed

Comments

@luckyraul
Copy link

No description provided.

@bflad
Copy link

bflad commented Feb 1, 2016

Hmmm, this module is using include staging which should not cause duplicate declaration:
https://github.com/solarkennedy/puppet-consul/blob/master/manifests/install.pp#L18

While mysql::server::mysqltuner uses a hard class declaration:
https://github.com/puppetlabs/puppetlabs-mysql/blob/master/manifests/server/mysqltuner.pp#L31-L35

They might be able to fix the mysql module to use include staging as well or use the top scope for the class resource class { '::staging': ... }

@luckyraul
Copy link
Author

created issue there.

@luckyraul
Copy link
Author

thanks

@solarkennedy
Copy link
Contributor

Yea, not a great situation. The only other option I would like to provide is that you could ensure that mysql is parsed before consul, but parse-dependent puppet code sucks.

@luckyraul
Copy link
Author

They accepted issue.

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

3 participants