-
-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User management actions in users array #91
User management actions in users array #91
Conversation
In the user_management recipe, use the action from the user object if one exists, or :add if there isn't. This allows us to specify in the collection that we want to, for example, delete users if they exist.
Looks good to me 👍 but we need to check #13 before … |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rebase on master
@@ -16,6 +16,6 @@ | |||
roles user['roles'] | |||
database user['database'] | |||
connection node['mongodb'] | |||
action :add | |||
action user['action'] or :add |
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
Code pulled from [@jrstarke](https://github.com/jrstarke) #91
Pulled into #140 |
* Update user_management recipe testing * Add support for mongo gem 2.x for user add * Cleanup resource cloning * Suppress chef_gem compile_time warnings * Remove Makefile * Remove python dep since it is no longer used * Add support for mongo gem 2.x for user delete * Add actions as option in users array [@jrstarke](https://github.com/jrstarke) #91 * Restrict user kitchen testing to one OS
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Added optional actions for the users in user management, so that they might be specified as
add
,modify
ordelete
.