Hey!
I ran Cookstyle 6.6.9 against this repo and here are the results.
This repo was selected due to the topics of cookbook
Changes
Issues found and resolved with resources/backend.rb
28:45 refactor: ChefCorrectness/LazyEvalNodeAttributeDefaults - When setting a node attribute as a default value for a custom resource property, make sure to wrap the node attribute in lazy {} so that the node attribute is available when the resource executes.
Hey! I ran Cookstyle 6.6.9 against this repo and here are the results. This repo was selected due to the topics of cookbook
Changes
Issues found and resolved with resources/backend.rb
ChefCorrectness/LazyEvalNodeAttributeDefaults
- When setting a node attribute as a default value for a custom resource property, make sure to wrap the node attribute inlazy {}
so that the node attribute is available when the resource executes.