You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Affected Puppet, Ruby, OS and module versions/distributions
Puppet: 7.26.0
Ruby: 2.7.8p225
Distribution: ubuntu
Module version: master
How to reproduce (e.g Puppet code you use)
we are running this on an established mongodb instance,
What are you seeing
running any /usr/bin/mongo command cli returns an extra json line, this is related to SERVER-78540 it would seem and was fixed in 4.x and 6.x but not yet in 5.x (running 5.0.21 atm)
/usr/bin/mongo is deprecated in favor of /usr/bin/mongosh .. And it is removed in version 6. Working on #677 which only supports mongosh, and version 4.4+ of mongodb.
But i need to finalize this PR. (like cleaning commits, get extra acceptance tests ...) Just need more hours in a day :)
This sounds like a better approach, .. I just whipped up this small fix in the mean time as it was causing the puppet run to fail. If there is anything that I could do please let me know.
I'm only testing my branch on Redhat flavours .. So in time someone testing it in Ubunto and aother flavours could help. And since version 7.0 is out .. thats also new ground to cover :)
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
we are running this on an established mongodb instance,
What are you seeing
running any
/usr/bin/mongo
command cli returns an extra json line, this is related to SERVER-78540 it would seem and was fixed in 4.x and 6.x but not yet in 5.x (running 5.0.21 atm)output of command will result in something like
Error will be something like
What behaviour did you expect instead
In my opinion this extra line should be removed in
lib/puppet/util/mongodb_output.rb
The text was updated successfully, but these errors were encountered: