ChefRewind
The department is: Chef/Deprecations
The full name of the cop is: Chef/Deprecations/ChefRewind
Enabled by default | Supports autocorrection | Target Chef Version |
---|---|---|
Enabled | Yes | 12.10+ |
Use delete_resource / edit_resource introduced in Chef Infra Client 12.10 instead of functionality in the deprecated chef-rewind gem
Examples
chef_gem ‘chef-rewind’
require ‘chef/rewind’
rewind “user[postgres]” do home ‘/var/lib/pgsql/9.2’ cookbook ‘my-postgresql’ end
unwind “user[postgres]”
Configurable attributes
Name | Default value | Configurable values |
---|---|---|
Version Added | 5.14.0 | String | Exclude |
| Array |
Was this page helpful?