Adding recipes... in a site-cookbook?


#1

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


#2

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