[chef] Recipe subset-ing


Chronological Thread 
  • From: Joaquin Casares < >
  • To:
  • Subject: [chef] Recipe subset-ing
  • Date: Wed, 10 Aug 2011 20:15:05 -0500

Hello, 

I have cookbook X that calls many functions off of cookbook Y. But my attributes for cookbook X are a superset of cookbook Y's attributes and of the values that intersect some are different in cookbook X.

How would I go about doing this correctly?

Right now I call include_recipe "Y::recipe1" from "X::default", but it seems to overwrite all my X configs that intersect.

Should I just change cookbook X to use override instead of default settings?

Thanks for the help!

Joaquin




Archive powered by MHonArc 2.6.16.

§