fsalum / puppet-redis

Redis Server Module for Puppet
Apache License 2.0
21 stars 67 forks source link

Adding support for Redis Sentinel #44

Closed jwbixby closed 9 years ago

jwbixby commented 9 years ago

Reviving PR https://github.com/fsalum/puppet-redis/pull/36.

This is implemented in the similar way as redis-server, supporting
same feature as the other and also being able to configure Sentinel
with every parameter.

Since there is not a Sentinel package, this does not install Sentinel,
but expect to have the init scripts to manage the service.

Also, a special thing about this implementation is that the sentinel
config file is not overriden in puppet executions, this is due to
Sentinel rewrites this file everytime the is a failover process.

from victorgp

I have removed support for RHEL in redis::sentinel_params. It should now throw an error if used with RHEL.

fsalum commented 9 years ago

I merged #36 with some changes.