puppetlabs/puppetlabs-mongodb — pull request #138 by jiuka (2014-09-23 12:44:07+00:00)
Title: Workaround to enable mongodb_user/database to work with authentication.

To manage mongodb users the mongo utility needs to authenticate to the db, as soon as the first user has been created. As the `.mongorc.js` is not run in case of non-interactive use of the mongo utility, i had to use a workaround.

Further this changes allow to list users/databases with `puppet resource mongodb_user`