Awesome
rethinkdb Cookbook
This cookbook provides you with the ability to install RethinkDB from package / source
Requirements
- Tested on Ubuntu 12.04
packages
apt
Attributes
default['rethinkdb']['install_method'] = 'package'
default['rethinkdb']['version'] = '1.7.1'
default['rethinkdb']['make_threads'] = node['cpu'] ? node['cpu']['total'].to_i : 1
default['rethinkdb']['src_url'] = "http://download.rethinkdb.com/dist"
default['rethinkdb']['dir'] = "/usr/local"
default['rethinkdb']['instances'] = [
{
:name => 'rethinkdb.yb.com',
:user => 'rethinkdb',
:group => 'rethinkdb',
:address => "all",
:driverPort => 28015,
:clusterPort => 29015,
:portOffset => 0,
:httpPort => 8080,
:directory => "/opt/rethinkdb/rethinkdb.yb.com/data"
}
]
Usage
rethinkdb::default
name 'rethinkdb'
description 'Rethinkdb - master'
default_attributes({
})
run_list(
'recipe[rethinkdb]',
'recipe[rethinkdb::start]'
)
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write you change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License and Authors
Authors:
- Vitaly Aminev (v@aminev.me) http://avvs.co