[chef] Re: adding recipes... in a site-cookbook?


Chronological Thread 
  • From: Joshua Miller < >
  • To:
  • Subject: [chef] Re: adding recipes... in a site-cookbook?
  • Date: Mon, 29 Nov 2010 15:43:05 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=er8tOo29SrV6SzrznG8EMWSIPRMvVLv4Jf92xq5DnItD4GnT+0pPi9hm9wtANKpgC+ 7smvLiE7up7AMah1765owOsce5Bc2LsI/7QV0YoGe31n3AQQZ7kDhli66dBGn5NQ4EdP Zfyzf/YaRcGoeTIUWrVxprKh85RoEtX84ijQY=

Just do everything in the main cookbook, and you can use knife to merge with the upstream when needed.


Joshua



Jesse Callaway wrote:
I want to add to the functionality of a cookbook by writing a recipe, along with a new template for a config file. Do site-cookbooks allow one to do this? Or is this best done using a local branch of the main cookbook?

I'm guessing this needs to be a cookbook "proper" since I'm also guessing that the metadata only comes from the main cookbook, and not from site-cookbooks.


-jesse



Archive powered by MHonArc 2.6.16.

§