Foodcritic / foodcritic

Lint tool for Chef cookbooks.
http://foodcritic.io
MIT License
407 stars 153 forks source link

Chef 13: Alert if a LWRP/Resource sets name_property and default on a property #580

Open tas50 opened 7 years ago

tas50 commented 7 years ago

From the deprecations page:

Current versions of Chef emit a warning if the property declaration has both default and name_property set. In Chef 13, that will become an error. For example:

property :my_property, [ String ], default: [], name_property: true

tas50 commented 7 years ago

Fixed by https://github.com/Foodcritic/foodcritic/pull/639