thomasvandoren / puppet-redis

Not actively developed - redis puppet module

Home Page:https://forge.puppetlabs.com/thomasvandoren/redis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Not actively developed - redis puppet module

https://forge.puppetlabs.com/thomasvandoren/redis

License:BSD 2-Clause "Simplified" License


Languages

Language:Ruby 59.2%Language:Puppet 40.8%