puppet-redis icon indicating copy to clipboard operation
puppet-redis copied to clipboard

Request removal of custom fact

Open dansajner opened this issue 10 years ago • 6 comments

Hi. I really like this module except for the lookup of the redis version. This fact gets executed on every server regardless of its redis intentions and the yum command can be very inefficient. Anyway I can convince you to remove it and just require a version be provided?

dansajner avatar Sep 16 '14 20:09 dansajner

Hi @dansajner, I understand your concerns. We opted for that so the module will be very straightforward to use, without requiring the user to know in advance what version of redis they will be installing since that changes a lot between the different versions of the same OS.

fsalum avatar Nov 25 '14 19:11 fsalum

I also find this fact to be frustrating. We have redis on a handful of nodes, yet this fact executes on hundreds of systems with every run -- it's extremely inefficient.

danieldreier avatar Oct 14 '15 20:10 danieldreier

At the very least you could call yum with the '--cacheonly' flag. But I agree, this is really inefficient for a fact.

ikryten avatar Oct 19 '15 15:10 ikryten

It's now causing warnings because it uses :timeout, which is not supported in Puppet 4.

danielparks avatar Jan 15 '16 09:01 danielparks

I'm hitting this issue too. Is this module still being maintained?

alex-harvey-z3q avatar Feb 22 '16 04:02 alex-harvey-z3q

This is also a problem if you have a Redis 3.x deployment as redis_version.rb has a case statement with a default value of nil. Subsequent puppet runs will completely nuke your redis.conf file, like cat /dev/null > /etc/redis.conf kind of behavior because the template redis.conf.erb doesn't contain a block for Redis 3.x.

grantholly avatar May 23 '17 23:05 grantholly