[chef] Re: Re: Overriding conditional attributes in a wrapper cookbook?


Chronological Thread 
  • From: Mick Brooks < >
  • To:
  • Subject: [chef] Re: Re: Overriding conditional attributes in a wrapper cookbook?
  • Date: Sat, 8 Feb 2014 14:20:27 +0000

Hi Marco,

Thanks for your reply.

On Sat, Feb 8, 2014 at 9:04 AM, Marco Betti < " target="_blank"> > wrote:
as per our understanding this kind of scenario can be managed by overriding both attributes that and their "dependencies" in wrapper cookbook.
In your case you could do, for example:
<snip/>
 
Ah, yes. I can see how that could work, but I hesitate to start duplicating logic from another cookbook (even
when it's very simple). 

Anyway I'm interested to know if is it possibile to achieve the same result in a more elegant/efficient way too :-)

Let's hope someone knows a better way :-)

Cheers,

Mick

--



Archive powered by MHonArc 2.6.16.

§