Open rmalenko opened 5 years ago
Hi,
Any update on this ? Will it be implemented ?
Thanks,
There is a lot more options/etc in redis than this module provides. I have worked around this in my local work by:
Exec['cp -p /etc/redis/redis.conf.puppet /etc/redis/redis.conf']
and Service['redis']
where above file is appended to redis.confexample of the insertion logic (however you add to the redis.conf is up to reader):
notify => Service['redis'],
refreshonly => true,
subscribe => Exec['cp -p /etc/redis/redis.conf.puppet /etc/redis/redis.conf'],
paths might be different for your configs, and above could use vars defining those of course.
your exec could even be a cli command removing/replacing a config entry: sed -i 's/^save.*/save ""/g' /etc/redis/redis.conf
for this specific case - don't even need your own .conf to add on. :)
I'll use my own template. But seriously, this issue is open for nearly 4 years now. Can't something as trivial as this be implemented?!
(someone who cares enough should probably open a PR though ;))
I'll use my own template. But seriously, this issue is open for nearly 4 years now. Can't something as trivial as this be implemented?!
Not if nobody creates a pull request.
I have changed for Redis 5.5 this template redis.conf.erb to have uncommented this string
save ""