class RuboCop::Cop::Chef::Correctness::LazyEvalNodeAttributeDefaults

When setting a node attribute as the default value for a custom resource property, wrap the node attribute in ‘lazy {}` so that its value is available when the resource executes.

@example

### incorrect
property :Something, String, default: node['hostname']

### correct
property :Something, String, default: lazy { node['hostname'] }