puppet-mongodb icon indicating copy to clipboard operation
puppet-mongodb copied to clipboard

Full support for mongo 5.x on RedHat/CentOS

Open bimcas opened this issue 3 years ago • 1 comments

  • Puppet: 6.22.1
  • Ruby: 2.5.9
  • Distribution: CentOS 7.7
  • Module version: 3.1.0 commit 9e5c471c9ba2c2a4aace84862d151d6737af3de9 with name "added support for mongo 5.x"

It's possible to install MongoDB 5.x with the existing module, when I use commit 9e5c471c9ba2c2a4aace84862d151d6737af3de9 , but as you know "mongo" shell has been superseded by "mongosh" in 5.x versions. So, the old "mongo" shell has been deprecated and will be removed in an upcoming release and we should start use new "mongosh" shell.

After installation, I tried to use "mongosh", but I got: mongosh: command not found

So, it seems that commit 9e5c471c9ba2c2a4aace84862d151d6737af3de9 with name "added support for mongo 5.x" isn't fully supports 5.x versions and I should manually install new "mongosh" shell (installation instructions -> https://docs.mongodb.com/mongodb-shell/install/)

Could you fix this problem that the module by itself can fully support MongoDB 5.x versions? I mean prepare MongoDB 5.x without any additional manual work. Thanks in advance.

bimcas avatar Oct 27 '21 05:10 bimcas

Hello and thanks for brining this up! Are you able to provide a PR to fix this?

root-expert avatar Oct 28 '21 10:10 root-expert

Hello and thanks for brining this up! Are you able to provide a PR to fix this?

https://github.com/voxpupuli/puppet-mongodb/pull/677

witjoh avatar Jul 13 '23 09:07 witjoh

Should be fixed with https://github.com/voxpupuli/puppet-mongodb/pull/703 which is now merged into master.

stevenpost avatar Mar 29 '24 09:03 stevenpost

This can be closed.

witjoh avatar Mar 29 '24 09:03 witjoh