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

RSS

disco (3) Versions 0.1.2

Installs/Configures Disco

Policyfile
Berkshelf
Knife
cookbook 'disco', '~> 0.1.2', :supermarket
cookbook 'disco', '~> 0.1.2'
knife supermarket install disco
knife supermarket download disco
README
Dependencies
Quality 17%

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
  • simple_iptables >= 0.1.0
  • build-essential >= 1.0.0

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 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/id_rsa.pub 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.

Changes

  • 0.1.2 (May 25, 2012)
    • Corrected an invalid not_if
  • 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.

Collaborator Number Metric
            

0.1.2 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.1.2 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.1.2 failed this metric

FC064: Ensure issues_url is set in metadata: disco/metadata.rb:1
FC065: Ensure source_url is set in metadata: disco/metadata.rb:1
FC066: Ensure chef_version is set in metadata: disco/metadata.rb:1
FC069: Ensure standardized license defined in metadata: disco/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: disco/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: disco/recipes/default.rb:31
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.1.2 passed this metric

Testing File Metric
            

0.1.2 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.1.2 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number