Chef/Modernize/DependsOnChefVaultCookbook
The Cookstyle cops department: Chef/Modernize
| Enabled by default | Supports autocorrection | Target Chef Version |
|---|---|---|
| Enabled | Yes | 16.0+ |
Don’t depend on the chef-vault cookbook made obsolete by Chef Infra Client 16.0. The chef-vault gem and helpers are now included in Chef Infra Client itself.
Examples
# bad
depends 'chef-vault'
# good
# the chef-vault helpers ship in Chef Infra Client 16+, so use them without a depends
chef_vault_item('secrets', 'my_secret')
Configurable attributes
| Name | Default value | Configurable values |
|---|---|---|
| Version Added | 7.20.0 | String |
| Include |
| Array |