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.”
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?