Skip to main content

Chef/Deprecations/NodeDeepFetch

Cookstyle cops page

The Cookstyle cops department: Chef/Deprecations

Enabled by defaultSupports autocorrectionTarget Chef Version
EnabledYesAll Versions

The node.deep_fetch method has been removed from Chef-Sugar, and must be replaced by the node.read API.

Examples

# bad
node.deep_fetch("foo")

# good
node.read("foo")

# bad
node.deep_fetch!("foo")

# good
node.read!("foo")

Configurable attributes

NameDefault valueConfigurable values
Version Added5.12.0String
Include
    Array

    Thank you for your feedback!

    ×