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

Don't manage the admin database with puppet #746

Open
h-haaks opened this issue Apr 17, 2024 · 3 comments
Open

Don't manage the admin database with puppet #746

h-haaks opened this issue Apr 17, 2024 · 3 comments

Comments

@h-haaks
Copy link
Contributor

h-haaks commented Apr 17, 2024

What are you seeing

When working on integration tests with mongodb::server::create_admin=true I noticed prefetch of databases failed.
The error was fixed in the provider, but it bot me thinking 'why do we manage the admin database end not just the admin user?'

I have tried to bring up mogodb 4.4 trough 7.0 without auth, and it seems the admin database is always there.
Given this there should be no reason to manage the database with puppet.

@stevenpost
Copy link
Contributor

I noticed that creating the admin user fails when auth is disabled, on one hand, I wanted to fix this. On the other, does it even make sense to create an admin user when auth is disabled?

@h-haaks
Copy link
Contributor Author

h-haaks commented Apr 20, 2024

My tought is that if mongodb allows it, this module should too.

@stevenpost
Copy link
Contributor

Yeah, I agree with that, I just wasn't going to put the effort in at that point :) But willing to at it starting Monday 29th of April.

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