[chef] Re: When are environment default attributes available to nodes


Chronological Thread 
  • From: Tensibai Zhaoying < >
  • To:
  • Subject: [chef] Re: When are environment default attributes available to nodes
  • Date: Mon, 22 Jun 2015 20:23:33 +0200

They're available on the run, the node object is made from ohai, Env attributes, roles attributes and cookbooks files attributes just before compile time.

See http://docs.chef.io/chef_client.html#the-chef-client-title-run
For the chef run workshop

And here https://docs.chef.io/attributes.html#attribute-sources for the merge and precedence levels schema

Le 22 juin 2015 19:59, "Fouts, Chris" < > a écrit :

If I bootstrap a node with a –E <environment> option, are the attributes in the default_attributes block available for cookbooks to use immediately, or are they only part of the node “after” as successful bootstrap?

 

Chris




Archive powered by MHonArc 2.6.16.

§