You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading to Redis 3.2, puppet runs are now deleting the entire contents of Redis.conf. The heart of the issue if the redis.conf.erb template does not contain a block for Redis 3.x versions.
When you go through the case statement in redis_version.rb, and you get the default of nil because 3.x versions have no matching case, and the value of $::redis_version of nil causes the problem with your redis.conf getting nuked.
The text was updated successfully, but these errors were encountered:
I am also plagued by this issue as well, but with Redis version 4, @grantholly did you fix it manually in the two files or did you move to another package?
`bind` now takes an array (of IP addresses).
To bind to all interfaces, use `bind => []`.
Due to the new parameter validation, if you were previously using a
single string to specify multiple IP addresses, you will need to change
this to an array.
Fixes #257
Fixesfsalum#60
After upgrading to Redis 3.2, puppet runs are now deleting the entire contents of Redis.conf. The heart of the issue if the redis.conf.erb template does not contain a block for Redis 3.x versions.
Here is the relevant bit of code in init.pp:
https://github.com/fsalum/puppet-redis/blob/master/manifests/init.pp#L118
And here in redis_version.rb:
https://github.com/fsalum/puppet-redis/blob/master/lib/facter/redis_version.rb#L18
When you go through the case statement in redis_version.rb, and you get the default of
nil
because 3.x versions have no matching case, and the value of$::redis_version
ofnil
causes the problem with your redis.conf getting nuked.The text was updated successfully, but these errors were encountered: