Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 687 Bytes

README.md

File metadata and controls

35 lines (26 loc) · 687 Bytes

puppet-redis

Dependency

  • This node requires a sysctl class to tuning some sysct parameters

Usage

If you want to install just a master instance:

class { 'redis::server':
   work_dir    => '/redis/',
   client_pwd  => 'changemeMaster',
   config_bind => '10.13.0.0',
   maxmemory   => '3221225472',
 }
 

Once you have created your master node, then you can create a replication node used as a backup and Read Only queries:

class { 'redis::server':
   work_dir    => '/home/redis/',
   client_pwd  => 'changemeClient',
   config_bind => '10.13.0.0',
   master_ip   => '10.13.0.230',
   master_auth => 'changemeMaster',
 }