Cookbook Dependencies - mlafeldt/chef-runner GitHub Wiki
Before provisioning a system, chef-runner automatically resolves cookbook dependencies by following these rules:
- If the current folder is a cookbook and its dependencies have already been resolved, only sync changes to this cookbook.
- If a
Berksfile
is present, resolve dependencies with Berkshelf. *) - If a
Cheffile
is present, resolve dependencies with Librarian-Chef. *) - Use/sync cookbook in current folder.
*) If a Gemfile
exists and Bundler is installed, these tools will be executed using bundle exec
.
In case you want to run a specific dependency resolver, use the --resolver
option. Available resolvers are: berkshelf
, librarian
, and dir
.