- From: Noorul Islam K M <
>
- To: Joshua Timberman <
>
- Cc: "
" <
>
- Subject: [chef] Re: Re: Significance of attributes in metadata.rb file
- Date: Thu, 07 Nov 2013 13:40:28 +0530
Joshua Timberman
<
>
writes:
>
Hello,
>
>
The attributes in metadata are documentation and not actually used by the
>
cookbook for purposes of recipes and the like. The metadata gets converted
>
to JSON and is stored and used on the chef server primarily. Because this
>
metadata is JSON and machine parseable, it can be used by user interfaces
>
such as the community site to automatically display information about the
>
cookbook.
>
>
Unfortunately as documentation it often gets overlooked or neglected as
>
part of maintaining a cookbook.
>
Is there a way to figure out the list of valid attributes of a cookbook,
recipe wise?
Regards,
Noorul
>
On Tuesday, November 5, 2013, wrote:
>
>
> I read http://docs.opscode.com/essentials_cookbook_metadata.html, but
>
> it's not
>
> clear.
>
>
>
> I see mysql cookbook's metadata.rb doesn't include all attributes used by
>
> that
>
> cookbook (ex: grants_path is not there).
>
>
>
> So my question is - when and where is the attribute list included in
>
> metadata.rb used? Can I rely on that list for any purpose?
>
>
>
> Thanks Rags
>
>
Archive powered by MHonArc 2.6.16.