cookbook 'riak-cluster', '= 0.2.0'
riak-cluster (2) Versions 0.2.0 Follow0
Installs/Configures riak-cluster
cookbook 'riak-cluster', '= 0.2.0', :supermarket
knife supermarket install riak-cluster
knife supermarket download riak-cluster
riak-cluster Chef cookbook
An MVP Chef cookbook for configuring a Riak cluster, using Chef Provisioning
Requirements
- ChefDK 0.6.0 or greater
- Follow the instructions to set ChefDK as your system Ruby and Gemset
- Vagrant and Virtualbox (for now)
Using it
Starting up a cluster:
bash
rake up
Connecting to your cluster nodes:
bash
cd vagrants ; vagrant ssh riak1.example.com
Destroying the cluster
bash
rake destroy
Perform a rolling rebuild of the cluster:
bash
rake rolling_rebuild
TODO
- AWS or other cloud support
Dependent cookbooks
riak >= 0.0.0 |
hostsfile >= 0.0.0 |
chef-provisioning-vagrant-helper >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Foodcritic Metric
0.2.0 failed this metric
FC003: Check whether you are running with chef server before using server-specific features: /tmp/cook/8f95d99e572cdb4caf82b34f/riak-cluster/recipes/default.rb:20
FC003: Check whether you are running with chef server before using server-specific features: /tmp/cook/8f95d99e572cdb4caf82b34f/riak-cluster/recipes/destroy_vagrant.rb:5
FC031: Cookbook without metadata file: /tmp/cook/8f95d99e572cdb4caf82b34f/riak-cluster/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/8f95d99e572cdb4caf82b34f/riak-cluster/metadata.rb:1
0.2.0 failed this metric
FC003: Check whether you are running with chef server before using server-specific features: /tmp/cook/8f95d99e572cdb4caf82b34f/riak-cluster/recipes/destroy_vagrant.rb:5
FC031: Cookbook without metadata file: /tmp/cook/8f95d99e572cdb4caf82b34f/riak-cluster/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/8f95d99e572cdb4caf82b34f/riak-cluster/metadata.rb:1