[chef] Re: Passing values from one Chef resource to another


Chronological Thread 
  • From: Kannan Manickam < >
  • To:
  • Subject: [chef] Re: Passing values from one Chef resource to another
  • Date: Thu, 30 May 2013 18:26:08 -0700

Cary,

Somebody else had the same problem and someone pointed out about the lazy attribute feature that is coming up in Chef 11.6 (which was formerly delayed_evaluator as a POC).



On May 30, 2013, at 5:49 PM, Cary Penniman < "> > wrote:

Ohai, Chefs!

I have a ruby_block that calculates a value which I then want to use in another, say 'mount', resource.  Is there a documented way or best practice on how to do this?

I could not find anything documented anywhere, so I wrote something up:


Thoughts? Suggestions? Criticisms?

Cheers!

-Cary P




Archive powered by MHonArc 2.6.16.

§