Berkshelf Chef Tool
A Chef Cookbook manager
Install & Usage Instructions
Berkshelf
Manage a Cookbook or an Application's Cookbook dependencies
Installation
Berkshelf is now included as part of the Chef-DK. This is fastest, easiest, and the recommended installation method for getting up and running with Berkshelf.
note: You may need to uninstall the Berkshelf gem especially if you are using a Ruby version manager you may need to uninstall all Berkshelf gems from each Ruby installation.
From Rubygems
If you are a developer or you prefer to install from Rubygems, we've got you covered.
Add Berkshelf to your repository's Gemfile
:
gem 'berkshelf'
Or run it as a standalone:
$ gem install berkshelf
Usage
See berkshelf.com for up-to-date usage instructions.
Supported Platforms
Berkshelf is tested on Ruby 1.9.3, 2.0, and 2.1.
Ruby 1.9 mode is required on all interpreters.
Ruby 1.9.1 and 1.9.2 are not officially supported. If you encounter problems, please upgrade to Ruby 2.0 or 1.9.3.
Configuration
Berkshelf will search in specific locations for a configuration file. In order:
$PWD/.berkshelf/config.json
$PWD/berkshelf/config.json
$PWD/berkshelf-config.json
$PWD/config.json
~/.berkshelf/config.json
You are encouraged to keep project-specific configuration in the $PWD/.berkshelf
directory. A default configuration file is generated for you, but you can update the values to suit your needs.
Shell Completion
Plugins
Please see Plugins page for more information.
Getting Help
- If you have an issue: report it on the issue tracker
- If you have a question: visit the #general or #berkshelf channel in the Chef Community Slack
Authors
Thank you to all of our Contributors, testers, and users.
If you'd like to contribute, please see our contribution guidelines first.