-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request removal of custom fact #39
Comments
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. |
regardless of whether it's installed or not. The result is that all nodes contain a fact that implies that the latest available redis version seems to be installed. This change switches from using yum to rpm to query the locally installed package database. It has the added benefit of not querying yum, which can be costly. Addresses fsalum#39 in part.
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. |
At the very least you could call yum with the '--cacheonly' flag. But I agree, this is really inefficient for a fact. |
It's now causing warnings because it uses |
I'm hitting this issue too. Is this module still being maintained? |
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 |
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?
The text was updated successfully, but these errors were encountered: