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
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.