Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status


disco (3) Versions 0.1.1

Installs/Configures Disco

cookbook 'disco', '= 0.1.1', :supermarket
cookbook 'disco', '= 0.1.1'
knife supermarket install disco
knife supermarket download disco
Quality -%


Installs the Disco map-reduce framework using the default settings.


It is possible that earlier versions of these cookbooks will work as well.
These are the versions with which I've tested the cookbook.

  • python >= 1.0.6


The cookbook is tested and works on Debian 6.0 and later. It may also work
on other platforms, but the templates are set up for Debian SysV init-type
systems. Contributions to support other platforms are gladly welcomed.


  • disco
    • repository - URL to Git repository with Disco source code to clone and install. Default: ""
    • revision - Revision to check out from within the repository. Default: "0.4.2" (tag)
    • checkout - Directory to clone repository into. Default: "/usr/src/disco"
    • user, group: User and group to run Disco as. Cookbook assumes that the user and group already exist. Note: a default SSH configuration will be generated for the user, as Disco requires passwordless SSH key access between the master and slaves. Default: "disco" (for both)
    • slave_search: A Chef search query which will identify nodes that are configured to be Disco slaves. Default: "recipes:disco".
  • erlang
    • magic_cookie: Value to use as an Erlang magic cookie. This value must be the same on all Disco nodes (master and slaves). Default: "set_me_to_something_random"


The cookbook includes an SSH key pair -- note that since this is published
publicly, deploying this keypair to a running, world-accessible cluster is
insecure! You should overwrite files/default/id_rsa and
files/default/ with a matching, private keypair and take steps
to ensure that the private key is not publicly disclosed.

The cookbook has two recipes: default and master.

default Recipe

The default recipe clones and installs the Disco source. This recipe
should be used on Disco slave nodes.

master Recipe

The master recipe includes default, and configures and starts a Service
for running the Disco master node. This recipe additionally configures the
Disco master via "/usr/local/var/disco/disco_8989.config", a JSON
configuration file for the Disco cluster, based on a node search. It may
take several Chef runs for the search to stabilize, and the Disco master
will be restarted each time this templated file changes.


  • 0.1.1 (May 25, 2012)
    • Added warning about SSH keypair included in cookbook
    • Fixed foodcritic warnings
  • 0.1.0 (May 12, 2012)
    • Initial release

Dependent cookbooks

python >= 1.0.6
simple_iptables >= 0.1.0
build-essential >= 1.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found