This cookbook provides a basic Redis install and config.
- vagrant >= 1.2.0
- berkshelf >= 2.0.0
- vagrant-berkshelf plugin >= 1.3.3
Include the recipe in your run_list
:
'recipe[redis-cookbook]'
default['redis']['daemonize'] = 'yes'
default['redis']['pid'] = '/var/run/redis.pid'
default['redis']['port'] = '6379'
default['redis']['bind'] = '0.0.0.0'
default['redis']['timeout'] = '300'
default['redis']['loglevel'] = 'notice'
default['redis']['logfile'] = '/var/log/redis/redis-server.log'
default['redis']['databases'] = '16'
default['redis']['rdbcompression'] = 'yes'
default['redis']['dbfilename'] = 'dump.rdb'
default['redis']['dir'] = '/var/lib/redis'
default.rb - Install the Redis Server.
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License: See LICENSE Authors: gregpalmier