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

Remove deprecated examples using Array of Hashes #386

Merged
merged 2 commits into from
Sep 18, 2019

Conversation

alexpop
Copy link
Contributor

@alexpop alexpop commented Sep 18, 2019

Updating the README based on this PR from @jerryaldrichiii

#358

jerryaldrichiii and others added 2 commits September 18, 2019 16:20
Due to #328 we must update
the README.md to remove references to the Array of Hashes syntax.

```ruby
default['audit']['profiles'] = []
default['audit']['profiles'].push(
  name: 'example',
  compliance: 'admin/example'
)
```

becomes

```ruby
default['audit']['profiles'] = {}
default['audit']['profiles']['example'] = {
  compliance: 'admin/example'
}
```

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
Signed-off-by: Alex Pop <apop@chef.io>
@alexpop alexpop merged commit 5b5fdca into master Sep 18, 2019
@alexpop alexpop deleted the ap/update-profiles-readme branch September 18, 2019 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants