cookbook 'redis-omnibus', '= 2.0.0'
redis-omnibus (5) Versions 2.0.0 Follow0
Installs Redis with redisio
cookbook 'redis-omnibus', '= 2.0.0', :supermarket
knife supermarket install redis-omnibus
knife supermarket download redis-omnibus
Redis Omnibus
Installs redis 3.2.x using the cookbook https://github.com/brianbianco/redisio for CentOS and removes the default
package startups and configuration.
Note: This cookbook does not make use of redis sentinel
Usage
An example setup with 3x redis daemons, the standard redis-server, redis-sessions and redis-cache
"redis-omnibus": { "servers": { "server": { "port": 6379, "maxmemory": "512m" }, "sessions": { "port": 5000, "maxmemory": "256mb" }, "cache": { "port": 5001, "maxmemory": "1024mb", "maxmemorypolicy": "allkeys-lru" } } }
"run_list": [ "recipe[redis-omnibus]" ]
Requirements
It assumes you have the yum-ius package (this cookbook does not provide it)
You could use https://github.com/chef-cookbooks/yum-ius
Support
- CentOS 6.x
- CentOS 7.x (coming soon)
Chef Support (tested)
- Chef 12.7+
- Chef 13.x (see https://github.com/brianbianco/redisio/issues/353)
Dependent cookbooks
compat_resource >= 0.0.0 |
ulimit >= 0.1.2 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
License Metric
2.0.0 failed this metric
FC006: Mode should be quoted or fully specified when setting file permissions: redis-omnibus/recipes/default.rb:29
FC006: Mode should be quoted or fully specified when setting file permissions: redis-omnibus/recipes/default.rb:48
Run with Foodcritic Version 13.0.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
2.0.0 failed this metric
FC006: Mode should be quoted or fully specified when setting file permissions: redis-omnibus/recipes/default.rb:48
Run with Foodcritic Version 13.0.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any