Information Technology Reference
In-Depth Information
We're not sure if this rule will be fixed in future versions, if a new rule will be added to
check for the Chef Development Kit version, or something else. So for now, if you are using
the Chef Development Kit, change your metadata.rb file to match the Chef Client-generated
version, as shown in Example 16-10 .
Example 16-10. chefdk/apache-test/metadata.rb
name 'apache-test'
maintainer 'YOUR_COMPANY_NAME'
maintainer_email 'YOUR_EMAIL'
license ''
description 'Installs/Configures apache-test'
long_description 'Installs/Configures apache-test'
version
'0.1.0'
Figure 16-15. Foodcritic in action, telling us that some cookbook metadata needs updating
After this change, the Chef Development Kit result should match the Chef Client version.
Chef Development Kit:
Search WWH ::




Custom Search