Forge Home

redis

Puppet module for Redis Server

240,398 downloads

177,867 latest version

2.1 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 1.0.3 (latest)
  • 1.0.2
  • 1.0.1
  • 1.0.0
  • 0.0.12
  • 0.0.11
  • 0.0.10
  • 0.0.9
  • 0.0.8
  • 0.0.7
  • 0.0.6
  • 0.0.5
  • 0.0.4 (deleted)
  • 0.0.3
  • 0.0.2
  • 0.0.1
released Nov 25th 2014
This version is compatible with:
  • Puppet Enterprise 3.x
  • Puppet 3.x
  • , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'fsalum-redis', '1.0.3'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add fsalum-redis
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install fsalum-redis --version 1.0.3

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

fsalum/redis — version 1.0.3 Nov 25th 2014

#Redis Module for Puppet Build Status

This module installs and manages a Redis server. All redis.conf options are accepted in the parameterized class.

##Important

If you are upgrading this module from 0.x to 1.0+, please test it carefully outside production as it is not fully backwards compatible.

Some class parameters were added, removed or had their default values changed.

The redis.conf template has been completely rewritten to support Redis 2.2+ to 2.8+.

##Operating System

Tested on CentOS 6.5, Ubuntu Saucy/Trusty/Precise, Debian 7.4
redis.conf options compatible with Redis 2.2, 2.4, 2.6, 2.8

##Quick Start

Use the default parameters:

class { 'redis': }

To change the port and listening network interface:

class { 'redis':
  conf_port => '6379',
  conf_bind => '0.0.0.0',
}

##Parameters

Check the init.pp file for a complete list of parameters accepted.

  • custom sysctl

To enable and set important Linux kernel sysctl parameters as described in the Redis Admin Guide - use the following configuration option:

class { 'redis':
  system_sysctl => true
}

By default, this sysctl parameter will not be enabled. Furthermore, you will need the sysctl module defined in the Modulefile file.

  • service restart

If you need to execute a controlled restart of redis after changes due master/slave relationships to avoid that both are restarted at the same time use the parameter below.

class { 'redis':
  service_restart => false
}

By default service restart is true.

##Copyright and License

Copyright (C) 2014 Felipe Salum

Felipe Salum can be contacted at: fsalum@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.