Hello, everyone.
I am new to puppetlabs development process, but would like to assist in. We have a lot of internal puppet developments and some of them could be back ported to the trunk.
MongoDB module[1] doesn't have interface for creating databases and users.
I would like to propose my change[2] implementing this feature, like this was done for MySQL[3].
In short, code below will create 'testdb' database with 'user1' user and default role 'dbAdmin'.
Roles could be tuned by passing 'roles' param( i.e. roles => ['readWrite', 'dbAdmin'] ). Password passed to mongo server in the hashed state.
Could you please devote some time for comments and review?