[chef] Overriding computed attributes


Chronological Thread 
  • From: Jeppe Nejsum Madsen < >
  • To: " " < >
  • Subject: [chef] Overriding computed attributes
  • Date: Mon, 19 May 2014 19:42:32 +0200

Ohai,

Assume we have an attribute file in cookbook A:

default[:foo][:ver] = '1.0'
default[:foo][:url] = "http://....#{node[:foo][:ver]}"

Then in cookbook B:

override[:foo][:ver] = '2.0'

Will node[:foo][:url] be the expected value?

I'm not seeing this, so was wondering if there's a way to achieve it....

/Jeppe






Archive powered by MHonArc 2.6.16.

§