Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

stove

> 编程语言
Open source

DEPRECATED: A utility for packaging and releasing Chef cookbooks

167 stars0 likes3 views
WebsiteGitHub

About

DEPRECATED: A utility for packaging and releasing Chef cookbooks

Stove

A utility for releasing and managing Chef Infra Cookbooks. Stove will:

  • Tag and push a new release to git
  • Upload the cookbook to a private or public Supermarket

DEPRECATED

Stove is no longer maintained. It may continue to work for users, but we recommend using knife supermarket share as that now respects the chefignore to build minimal build artifacts for Supermarket upload.

Why?

Existing tools to package cookbooks (such as Knife Community and knife supermarket share) require a dependency on Chef Infra Client. Because of their dependency on Chef Infra Client, they enforce the use of a "cookbook repo". Especially with the evolution of Berkshelf, cookbooks are individualized artifacts and are often contained in their own repositories. stove is cookbook-centric, rather than Chef-centric.

Installation

  1. Add Stove to your project's Gemfile:
gem 'stove'
  1. Run the bundle command to install:
$ bundle install --binstubs

Configuration

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:

bash
$ stove login --username sethvargo --key ~/.chef/sethvargo.pem

These values will be saved in Stove's configuration file (~/.stove) 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 Supermarket, you can specify the --endpoint value:

bash
$ stove --endpoint https://internal-supermarket.example.com/api/v1

Please note: depending on which version of Chef and which version of Supermarket you are running, you may support the new "extended" metadata fields. By default, Stove writes these new fields when uploading cookbooks, which require Chef 12 or later. If you would like to retain compatibility with Chef 11 you can disable extended metadata with --no-extended-metadata:

bash
$ stove --no-extended-metadata

Usage

There are two ways to use Stove. You can either use the stove command directly or use the embedded rake task.

Command

Execute the stove command from inside the root of a cookbook:

bash
$ bin/stove

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.

Rake task

If you are familiar with the Bundler approach to publishing Ruby gems, this approach will feel very familiar. Simply add the following to your Rakefile:

ruby
require 'stove/rake_task'
Stove::RakeTask.new

And then use rake to publish the cookbook:

bash
$ bin/rake publish

Artifactory Support

In addition to uploading to a standard Supermarket server, Stove can upload to an Artifactory repository configured to be in Chef mode.

You specify the URL to upload to via --artifactory, which you can find the URL Artifactory repository configuration. Your API key can be specified either in the $ARTIFACTORY_API_KEY environment variable or via --artifactory-key:

bash
# API key in $ARTIFACTORY_API_KEY
$ stove --artifactory https://artifactory.example.com/api/chef/nameofrepo
# API key in a file
$ stove --artifactory https://artifactory.example.com/api/chef/nameofrepo --artifactory-key=@path/to/key/file
# API key on the command line
$ stove --artifactory https://artifactory.example.com/api/chef/nameofrepo --artifactory-key=XZg6tefUZYfiglmSbQ1s1e6habk

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

See Also

  • Knife Community
  • Emeril

License & Authors

  • Author: Seth Vargo ([email protected])
…

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Ruby

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言