Open h-haaks opened 7 months ago
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?
My tought is that if mongodb allows it, this module should too.
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.
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.