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

make users data bag optional #50

Merged
merged 4 commits into from Oct 14, 2014
Merged

Conversation

bkw
Copy link
Contributor

@bkw bkw commented Oct 14, 2014

This has been bugging me for some time (see comments in #37 and #16 ): The cookbook raises an error if there is no data bag users on the server - which is a perfectly valid scenario: I only want to harden my servers, not install users.

This pr fixes that. A non-existing users data bag is treated like an empty one.

As a side effect, this makes a lot of the server tests more concise, since we can avoid stubbing the unused bag.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling e5bedea on bkw:databagOptional into e288bc4 on TelekomLabs:master.

@chris-rock
Copy link
Member

that looks very good. It improves the overall usability of the cookbook. +1 @bkw

chris-rock added a commit that referenced this pull request Oct 14, 2014
make users data bag optional
@chris-rock chris-rock merged commit 7bccda5 into dev-sec:master Oct 14, 2014
@bkw
Copy link
Contributor Author

bkw commented Oct 14, 2014

thanks. I'll have to rebase #49 now, give me a minute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants