Chef/Deprecations/NodeDeepFetch
The Cookstyle cops department: Chef/Deprecations
Enabled by default | Supports autocorrection | Target Chef Version |
---|---|---|
Enabled | Yes | All Versions |
The node.deep_fetch method has been removed from Chef-Sugar, and must be replaced by the node.read API.
Examples
incorrect
node.deep_fetch("foo")
correct
node.read("foo")
### incorrect
```ruby
node.deep_fetch!("foo")
correct
node.read!("foo")
Configurable attributes
Name | Default value | Configurable values |
---|---|---|
Version Added | 5.12.0 | String |
Include | Array |