Attributes in the metadata.rb file


#1

https://docs.chef.io/config_rb_metadata.html

Can anyone shed light on how to use the attributes defined in a metadata.rb file please? How are they used?

Chris


#2

hi chris,
afaict, this has no impact on the recipe/role/node evaluation. its only for
documentation purpose. except the depends,name and version directive
in metadata.rb, rest of the directives (like recipes, resources) are for
documentation.

On Fri, Mar 6, 2015 at 12:40 PM, Fouts, Chris Chris.Fouts@sensus.com
wrote:

https://docs.chef.io/config_rb_metadata.html

Can anyone shed light on how to use the attributes defined in a
metadata.rb file please? How are they used?

Chris


#3

Ok, I thought so, that is, the attributes section is only for documentation. Thanks!

Chris

From: Ranjib Dey [mailto:dey.ranjib@gmail.com]
Sent: Friday, March 06, 2015 3:55 PM
To: chef@lists.opscode.com
Subject: [chef] Re: attributes in the metadata.rb file

hi chris,
afaict, this has no impact on the recipe/role/node evaluation. its only for documentation purpose. except the depends,name and version directive in metadata.rb, rest of the directives (like recipes, resources) are for documentation.

On Fri, Mar 6, 2015 at 12:40 PM, Fouts, Chris <Chris.Fouts@sensus.commailto:Chris.Fouts@sensus.com> wrote:
https://docs.chef.io/config_rb_metadata.html

Can anyone shed light on how to use the attributes defined in a metadata.rb file please? How are they used?

Chris