Skip to main content

Chef/Effortless/ChefVaultUsed

Cookstyle cops page

The Cookstyle cops department: Chef/Effortless

Enabled by defaultSupports autocorrectionTarget Chef Version
Not EnabledNoAll Versions

Chef Vault is not supported in the Effortless pattern, so usage of Chef Vault must be shifted to another secrets management solution before leveraging the Effortless pattern.

Examples

incorrect

require 'chef-vault'

### incorrect

```ruby
ChefVault::Item

### incorrect

```ruby
include_recipe 'chef-vault'

### incorrect

```ruby
chef_gem 'chef-vault'

### incorrect

```ruby
chef_vault_item_for_environment(arg, arg1)

### incorrect

```ruby
chef_vault_item(arg, arg1)

Configurable attributes

NameDefault valueConfigurable values
Version Added6.19String
Include
    Array

    Thank you for your feedback!

    ×