Redis Server Module for Puppet
Ruby Puppet Shell HTML Pascal
Switch branches/tags
Nothing to show
Pull request Compare This branch is 145 commits ahead, 85 commits behind fsalum:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
files
manifests
spec
templates
tests
.fixtures.yml
.gemfile
.gitignore
.travis.yml
CHANGES.md
LICENSE
README.md
Rakefile
metadata.json

README.md

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