Forge Home

redis

Install and configure redis.

144,792 downloads

103,126 latest version

3.8 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.

Version information

  • 0.10.0 (latest)
  • 0.0.9
  • 0.0.8
  • 0.0.7
  • 0.0.6
  • 0.0.4
  • 0.0.3
  • 0.0.2
  • 0.0.1 (deleted)
released Jul 13th 2014

Start using this module

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

Add this module to your Puppetfile:

mod 'thomasvandoren-redis', '0.10.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

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

Manually install this module globally with Puppet module tool:

puppet module install thomasvandoren-redis --version 0.10.0

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

thomasvandoren/redis — version 0.10.0 Jul 13th 2014

redis puppet module

Build Status

Install and configure redis.

Usage

Installs redis server and client with reasonable defaults.

include redis

Installs redis server and client with version 2.6.5.

class { 'redis':
  version => '2.6.5',
}

Installs version 2.4.17, listens on default port 6379 with default settings. Sets up 2nd instance on port 6900, binds to address 10.1.2.3 (instead of all available interfaces), sets max memory to 1 gigabyte, and sets a password from hiera.

class { 'redis':
  version            => '2.4.17',
}
redis::instance { 'redis-6900':
  redis_port         => '6900',
  redis_bind_address => '10.1.2.3',
  redis_password     => hiera('redis_password'),
  redis_max_memory   => '1gb',
}

Development

To run the linter and spec tests locally:

bundle install --gemfile .gemfile
rake lint
rake spec

Authors

Thomas Van Doren

License

BSD