[chef] Re: The order of library loading


Chronological Thread 
  • From: Tetsu Soh < >
  • To:
  • Subject: [chef] Re: The order of library loading
  • Date: Tue, 13 Nov 2012 06:31:12 +0900

Hello Daniel,

Thank you for the info.

Tetsu

On Nov 13, 2012, at 1:54 AM, Daniel DeLeo < "> > wrote:


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






Archive powered by MHonArc 2.6.16.

§