Version information
released Mar 24th 2015
This version is compatible with:
- ,
Start using this module
Add this module to your Puppetfile:
mod 'redbeebv-redis', '0.1.3'
Learn more about managing modules with a PuppetfileDocumentation
redbeebv/redis — version 0.1.3 Mar 24th 2015
Redis
Table of Contents
- Overview
- Module Description - What the module does and why it is useful
- Usage - Configuration options and additional functionality
- Limitations - OS compatibility, etc.
Overview
Easy deployment of multiple redis or instances for systems that work with systemd.
Module Description
This module can configure multiple redis or sentinel instances on one server for systems that work with systemd.
Usage
redis::instance { 'one':
ip_address = '0.0.0.0',
port = '6379',
slaveof = false,
ensure = running,
enable = true
}
redis::sentinel { 'cluster':
dir = '/tmp',
port = '26379',
ensure = running,
enable = true,
monitors => {
'master' => {
master_host => '127.0.0.1',
master_port => 6378,
quorum => 2,
down_after_milliseconds => 30000,
parallel-syncs => 1,
failover_timeout => 180000
},
'cluster' => {
master_host => '10.20.30.1',
master_port => 6379,
quorum => 2,
down_after_milliseconds => 30000,
parallel-syncs => 5,
failover_timeout => 180000,
auth-pass => 'password',
notification-script => '/tmp/notify.sh',
client-reconfig-script => '/tmp/reconfig.sh'
}
}
Limitations
The systems need to be able to use systemd unit files. If not, this module will not work for you.
The MIT License (MIT) Copyright (c) 2015 Dany Henriquez Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.