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

Use Mash to handle string and symbol keys #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Annih
Copy link

@Annih Annih commented Sep 25, 2020

Users may pass string instead of symbol in the permissions hashes, the resource should either fail or handle them properly.

This patch propose to handle them properly using Chef Mash.
Before this patch the resource was not idempotent as during the 2nd run, a diff was computed, something similar to:

  - 'user'
  + :user

Users may pass string instead of symbol in the permissions hashes, the
resource should either fail or handle them properly.

This patch propose to handle them properly using Chef Mash.
Before this patch the resource was not idempotent as during the 2nd run,
a diff was computed, something similar to:
  -'user'
  +:user
@Annih Annih force-pushed the indifferent_acl_hash_access branch from 649fd30 to 996baa9 Compare September 26, 2020 08:04
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.

1 participant