Stove Chef Tool
Stove is a handy utility for packaging and releasing Chef cookbooks.
Install & Usage Instructions
Add Stove to your project's Gemfile:
bundlecommand to install:
$ bundle install --binstubs
Stove requires your username and private key to upload a cookbook. You can pass these to each command call, or you can set them Stove:
$ stove login --username sethvargo --key ~/.chef/sethvargo.pem
These values will be saved in Stove's configuration file and persisted across your workstation.
The default publishing endpoint is the Chef Supermarket, but this is configurable. If you want to publish to an internal community site, you can specify the
$ stove --endpoint https://internal-cookbook-store.example.com
There are two ways to use Stove. You can either use the
stove command directly or use the embedded rake task.
stove command from inside the root of a cookbook:
This will package (as a tarball) the cookbook in the current working directory, tag a new version, push to git, and publish to a cookbook share.
If you are familiar with the Bundler approach to publishing Ruby gems, this approach will feel very familiar. Simply add the following to your
require 'stove/rake_task' Stove::RakeTask.new
And then use rake to publish the cookbook:
$ bin/rake publish