redis puppet module

Build Status

Install and configure redis.

Usage

Installs redis server and client with reasonable defaults (version 2.4.13 is included in the module).

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',
}

Authors

Thomas Van Doren

License

BSD