- From: Jeffrey Hulten <
>
- To:
- Subject: [chef] Should name be in the boilerplate for me tadata.rb… WAS: Re: Re: How to get test-kitchen to wo rk when cookbook is named "cookbook-x"
- Date: Tue, 13 Nov 2012 14:47:04 -0800
I have run across a couple of cases where this bit me or others. Should the
name attribute be added to the boilerplate metadata.rb?
--
Jeffrey Hulten
Principal Consultant at Automated Labs, LLC
206-853-5216
Skype: jeffhulten
On Nov 13, 2012, at 2:40 PM, Jay Pipes wrote:
>
On 11/13/2012 05:36 PM, Mike wrote:
>
> Jay,
>
>
>
> A quick fix might be to declare the "name:" attribute in your
>
> cookbook's metadata.rb.
>
>
>
> it's not a required field, and I've found that being explicit solves a
>
> lot of the foodcritic-related rules on this.
>
>
Thanks Mike! That indeed got rid of the FC007 errors.
>
>
I will continue to plod through the test-kitchen tutorials :)
>
>
>
Again, thanks!
>
-jay
Attachment:
signature.asc
Description: Message signed with OpenPGP using GPGMail
Archive powered by MHonArc 2.6.16.