Skip to content

Fix: database_user type being declared twice with mysql::db #151

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

Closed
wants to merge 1 commit into from
Closed

Fix: database_user type being declared twice with mysql::db #151

wants to merge 1 commit into from

Conversation

alexmingoia
Copy link

Fixes database_user type being declared twice when adding the same user to
different databases with mysql::db, by adding a :user parameter instead of using
:name in the type and provider definitions.

Fixes database_user type being declared twice when adding the same user to
different databases with mysql::db, by adding a :user parameter instead of using
:name in the type and provider definitions.
@paaloeye
Copy link
Contributor

@alexmingoia Take a look at #154. What do you think about my proposal?

@alexmingoia
Copy link
Author

Your patch is much better. I had to look up what ensure_resource() was and it seems messy that puppet has a stdlib for such basic things that should be part of Puppet's declarative language. I'll definitely familiarize myself with that module. After all, I came up with my approach by reading the puppetlabs docs (which encourage unique names to avoid duplicate declaration problems).

@apenney
Copy link
Contributor

apenney commented Jul 2, 2013

I'm going to close this one for now as it looks like #154 continued this work.

@apenney apenney closed this Jul 2, 2013
pmcmaw pushed a commit to pmcmaw/puppetlabs-mysql that referenced this pull request Mar 3, 2021
(maint) Add enable and disable actions for *nix
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

Successfully merging this pull request may close these issues.

3 participants