How to access default attribute of one cookbook in another cookbook

#1

Hi,

While writing recepies for a particular cookbook is there a way to access the
default attribute of another cookbook in it?

Thanks
Animesh Mishra

0 Likes

#2

With an appropriate metadata entry and ‘include_attribute
"cookbook::attribute_file"’ in the attribute (node) or recipe dsl
(iirc)

Please report back if this doesn’t work.

Cheers,

–AJ

On 18 July 2012 21:25, Animesh Mishra mishra_animesh@network.lilly.com wrote:

Hi,

While writing recepies for a particular cookbook is there a way to access the
default attribute of another cookbook in it?

Thanks
Animesh Mishra

0 Likes