-
Notifications
You must be signed in to change notification settings - Fork 36
Home
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.
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"
}
}
}
}
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).
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
Look at the sidebar for further documentation.