Chef/Correctness/MetadataMissingName
The Cookstyle cops department: Chef/Correctness
| Enabled by default | Supports autocorrection | Target Chef Version |
|---|---|---|
| Enabled | Yes | All Versions |
metadata.rb needs to include the name method or it will fail on Chef Infra Client 12 and later.
Examples
### correct
```ruby
name 'foo'
Configurable attributes
| Name | Default value | Configurable values |
|---|---|---|
| Version Added | 5.2.0 | String |
| Include |
| Array |