Chef ‘cookbook’ in Berksfile vs ‘depends’ in metadata.rb
The Berksfile is Berkshelf specific, while the metadata file is built into Chef. Adding your dependencies to the metadata file allows other applications, like librarian-chef or the supermarket, to read your dependencies as well. Note that Berkshelf reads the dependencies from metadata as well, as long as you add the metadata line to the Berksfile. … Read more