rethinkdb

Install and configure rethinkdb from official package sources.

Zivtech

zivtech

8,503 downloads

6,389 latest version

3.4 quality score

Version information

  • 0.2.0 (latest)
  • 0.1.2
  • 0.1.1
  • 0.1.0
released Jan 21st 2016

Start using this module

Documentation

zivtech/rethinkdb — version 0.2.0 Jan 21st 2016

Puppet RethinkDB

Install rethinkdb from the official package repo. Currently only support debian based installs, patches welcome. Allows you to configure multiple instances.

Basic Useage

Install rethink from official package repositories, configure the service to start by default, and configure a default instance called rethinkdb.

include rethinkdb

Advanced Useage

You can pass ini file configurations directly through the instance configuration by hassing a hash to the conf parameter.

Below we install rethink without setting up an instance and then define two separate instances. Please note that we are setting port offset in the configuration so that the default ports will not collide.

class { 'rethinkdb':
  default_instance => false,
}

rethinkdb::instance { 'foo':
  conf => {
    'port-offset' => 1,
  }
}

rethinkdb::instance { 'bar':
  conf => {
    'port-offset' => 2,
    'cache-size'  => 2048,
  }
}