Skip to content
Henrik edited this page Sep 1, 2012 · 16 revisions

Welcome to the Puppet-Riak Wiki! This wiki contains the information you need to get started with using puppet-riak, as well as pages that describe how you can customize your riak installation with config only a master ninja could conjure.

Welcome ninja.

This will install Riak using all of the defaults (you can use either of the lines):

class { 'riak': }
include riak

You can modify the configuration by passing a hash to either cfg (feeds into App.config) or to vmargs_cfg, which feeds vm.args. Here's an example of adding a https binding with a custom certfile and keyfile.

class { 'riak':
  cfg => {
    riak_core => {
      https => {
        "__string_${$::ipaddress}" => 8443
      },
      ssl => {
        certfile => "${etc_dir}/cert.pem",
        keyfile  => "${etc_dir}/key.pem"
      }
    }
  }
}

[[Class[riak] parameters|RiakClass]]

Requirements

Requires a 64-bit operating system, tested on Puppet 2.7.17 and 3.0-rc5. Requires a basic configuration of Hiera (only the most basic YAML config).

Adding the module

First clone the module,

$ git clone git://github.com/haf/puppet-riak.git /etc/puppet/modules/riak

Make sure you are shipping the custom functions in this module to your i nodes, by setting pluginsync=true;

[main]
    pluginsync = true

What's Next?

Look at the sidebar for further documentation.

Swoosh through the links to become skilled at ninja arts in distributed systems provisioning.

Clone this wiki locally