Skip to main content


The department is: ChefRewind

The full name of the cop is: Chef/Deprecations/ChefRewind

Enabled by defaultSupports autocorrectionTarget Chef Version

Use delete_resource or edit_resource helpers introduced in Chef Infra Client 12.10 instead of functionality in the deprecated chef-rewind gem


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

<th>Default value</th>
<th>Configurable values</th>
<td style="text-align:center">Version Added</td>
<td style="text-align:center">5.14.0</td>
<td style="text-align:center">String</td>
<tr><td style="text-align:center">Include</td>
<td style="text-align:center"><ul>
<td style="text-align:center">Array</td>

Was this page helpful?


Search Results