Open brint opened 9 years ago
@jarosser06 . It seems dependencies are set on the stencil_set, it is possible to set them per stencil? Not sure what is the scope of a stencil_set, but I guess you don't have to use all the recipes from a stencil_set, therefore you only need to get the dependencies for the stencil you use, not the whole stencil_set.
It's not a problem yet as stencil_set are small, but the more people write them the more dependencies we will need.
@jujugrrr Yes dependencies can be set per stencil as well.
@jujugrrr Yes dependencies can be set per stencil as well.
Thanks for the update!
Referencing this code. Fastfood should merge dependencies when building the Berksfile.
Example: Template 1
Template 2
The Berksfile should only contain one entry for
rackspace_iptables
. If versions do not match, it should merge them:Example: Template 1
Template 2
This should add an entry to the Berksfile of
rackspace_iptables, '>= 2.0'
.Finally, if the constraints do not match, fastfood should error since cookbook dependencies cannot be resolved. Example:
Template 1
Template 2