Skip to content
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

Conversation

jrstarke
Copy link
Contributor

@jrstarke jrstarke commented Sep 9, 2015

Added optional actions for the users in user management, so that they might be specified as add, modify or delete.

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.
@luishdez
Copy link
Contributor

Looks good to me 👍 but we need to check #13 before …

Copy link
Contributor

@shortdudey123 shortdudey123 left a 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.

@shortdudey123
Copy link
Contributor

Pulled into #140

damacus pushed a commit that referenced this pull request Apr 12, 2017
* 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
@lock
Copy link

lock bot commented Jul 24, 2018

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.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants