This change is automatically generated by the Cookstyle Bot using the latest version of Cookstyle (7.31.1). Adopting changes suggested by Cookstyle improves cookbook readability, avoids common coding mistakes, and eases upgrades to newer versions of the Chef Infra Client.
This change is automatically generated by the Cookstyle Bot using the latest version of Cookstyle (7.31.1). Adopting changes suggested by Cookstyle improves cookbook readability, avoids common coding mistakes, and eases upgrades to newer versions of the Chef Infra Client.
Layout/LeadingCommentSpace
#
. (https://rubystyle.guide#hash-space)Style/StringLiterals
Style/HashSyntax
Layout/EmptyLinesAroundBlockBody
Style/TrailingCommaInHashLiteral
Chef/Style/CommentFormat
Layout/EmptyLinesAroundModuleBody
Layout/CommentIndentation
Chef/Modernize/DatabagHelpers
data_bag_item
helper instead ofChef::DataBagItem.load
orChef::EncryptedDataBagItem.load
. (https://docs.chef.io/workstation/cookstyle/chef_modernize_databaghelpers)Layout/EmptyLinesAroundMethodBody
Chef/Correctness/IncorrectLibraryInjection
Chef/RedundantCode/LongDescriptionMetadata
Layout/SpaceAroundOperators
=>
should be surrounded by a single space. (https://rubystyle.guide#spaces-operators)Chef/RedundantCode/UnnecessaryNameProperty
Layout/EmptyLines
Signed-off-by: Cookstyle cookbooks@chef.io