- From: Dominique Poulain <
>
- To:
- Subject: [chef] Automatic Run of a Dependency Cookbook's Default Recipe
- Date: Fri, 27 Jan 2012 03:42:32 -0800 (PST)
Hi,
The Chef Wiki states that:
"listing a cookbook as a dependency in metadata.rb will automatically run that
cookbook's default recipe (if it exists), even if this is the only place the
cookbook is referenced."
(<
http://wiki.opscode.com/display/chef/Metadata#Metadata-depends>)
Yet, this wasn't the behaviour I observed in tests I ran: if I only referenced
a cookbook as a dependency in metadata.rb, no recipe from it would ever run.
Does that mean the Chef wiki description is obsolete? IMHO, things are saner
that way (with no default recipe being run), but I'd like to make sure they're
going to stay that way :-)
Would someone please be able to confirm this?
Cheers,
d.
- [chef] Automatic Run of a Dependency Cookbook's Default Recipe, Dominique Poulain, 01/27/2012
Archive powered by MHonArc 2.6.16.