[chef] Re: The order of library loading


Chronological Thread 
  • From: Daniel DeLeo < >
  • To:
  • Subject: [chef] Re: The order of library loading
  • Date: Mon, 12 Nov 2012 08:54:29 -0800


On Monday, November 12, 2012 at 8:16 AM, Tetsu Soh wrote:

Hello everyone,

According to the document, chef client will first load all the libraries from every cookbook at its compile time.
But in what order the libraries are loaded? Is it the order of cookbooks in the run list?

Thank you.

Tetsu
Right now, it's hash order, which is nondeterministic. I recently added run_list based ordering to attributes files for Chef 11[0], if there's some spare cycles before the Chef 11 beta release comes out I'll apply the same logic for other file types[1].

The logic is all there already, so it shouldn't be much work if someone wants to take this on.

-- 
Daniel DeLeo

0. http://tickets.opscode.com/browse/CHEF-2903
1. http://tickets.opscode.com/browse/CHEF-3376




Archive powered by MHonArc 2.6.16.

§