chef mongodb user_management (create admin and other users) -
i'm relatively new chef , in process of using edelight mongodb cookbook. i've got process of creating standalong mongodb instance working fine. it's understanding how use subsequent user_management recipe create initial admin user , regular users.
when add "default['mongodb']['config']['auth'] = true" attributes/default.rb file, , run mongodb::default recipe, db created , authentication on.
however when run mongodb::user_management recipe error every time. i'm doing wrong, being new editing chef/ruby files can't determine what's failing. looks might need work within users.rb attribute file?
===================================================
error executing action add on resource 'mongodb_user[admin]'
nameerror
uninitialized constant mongo::mongoclient
the edelight cookbook has been unmaintained quite time now. chef-brigade attempting take on maintenance on cookbook until new owner can found.
https://github.com/chef-brigade/mongodb-cookbook
there work being implemented fix of user_management issues. not 100% sure current state of user_management fixes better off starting cookbook , reporting issues team there can work resolve. there active development taking place.
i glad debug issue if persists on chef-brigade flavor of cookbook can actively make changes resolve issues.
Comments
Post a Comment