cookbook 'disco', '= 0.1.0', :supermarket
disco (3) Versions 0.1.0 Follow0
cookbook 'disco', '= 0.1.0'
knife supermarket install disco
knife supermarket download disco
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.
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
repositoryinto. Default: "/usr/src/disco"
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".
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 has two recipes:
default recipe clones and installs the Disco source. This recipe
should be used on Disco slave nodes.
Note: This recipe installs
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.
|simple_iptables >= 0.1.0|
|python >= 1.0.6|
There are no cookbooks that are contingent upon this one.