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

RSS

disco (3) Versions 0.1.0

Installs/Configures Disco

Berkshelf/Librarian
Policyfile
Knife
cookbook 'disco', '= 0.1.0'
cookbook 'disco', '= 0.1.0', :supermarket
knife cookbook site install disco
knife cookbook site download disco
README
Dependencies
Quality

Description

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

Requirements

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

Platforms

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.

Attributes

  • disco
    • repository - URL to Git repository with Disco source code to clone and install. Default: "https://github.com/discoproject/disco.git"
    • 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"

Usage

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.

Note: This recipe installs

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.

Dependent cookbooks

simple_iptables >= 0.1.0
python >= 1.0.6

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found