The department is:
The full name of the cop is:
|Enabled by default||Supports autocorrection||Target Chef Version|
node.set method has been removed in Chef Infra Client 13 and usage must be replaced with
This cop will autocorrect code to use node.normal, which is functionally identical to node.set, but we also discourage the use of that method as normal level attributes persist on the node even if the code setting the attribute is later removed.
node.set['foo'] = true
node.normal['foo'] = true
|Name||Default value||Configurable values|
Was this page helpful?