Chef/Sharing/InvalidLicenseString
The Cookstyle cops department: Chef/Sharing
| Enabled by default | Supports autocorrection | Target Chef Version |
|---|---|---|
| Enabled | Yes | All Versions |
metadata.rb license field should include a SPDX compliant string or “all rights reserved” (not case sensitive)
Examples
# bad
license 'Apache 2.0'
# good
license 'Apache-2.0'
license 'all rights reserved'
Configurable attributes
| Name | Default value | Configurable values |
|---|---|---|
| Version Added | 5.2.0 | String |
| Include |
| Array |