This cookbook provides a basic memcached install and config.
- vagrant >= 1.2.0
- berkshelf >= 2.0.0
- vagrant-berkshelf plugin >= 1.3.3
In your Vagrantfile, customize these attributes with:
chef.json = {
memcached: {
memory: "64",
}
}
Add the recipe to your run_list:
chef.run_list = [
'recipe[memcached-cookbook]'
]
Attributes include service level parameters and OS-level config
default['memcached']['enabled'] = 'yes'
default['memcached']['logfile'] = '/var/log/memcached.log'
default['memcached']['memory'] = '128'
default['memcached']['port'] = '11211'
default['memcached']['listen_ip'] = '127.0.0.1'
default['memcached']['connection_limit'] = '1024'
default.rb
- Install Memcached.
- 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