Cookbook Dependencies - mlafeldt/chef-runner GitHub Wiki

Before provisioning a system, chef-runner automatically resolves cookbook dependencies by following these rules:

  1. If the current folder is a cookbook and its dependencies have already been resolved, only sync changes to this cookbook.
  2. If a Berksfile is present, resolve dependencies with Berkshelf. *)
  3. If a Cheffile is present, resolve dependencies with Librarian-Chef. *)
  4. 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.