cookbook 'L7-memcached', '= 1.0.2'
L7-memcached (3) Versions 1.0.2 Follow0
Installs/Configures memcached, multi instance support
cookbook 'L7-memcached', '= 1.0.2', :supermarket
knife supermarket install L7-memcached
knife supermarket download L7-memcached
L7-memcached cookbook
Description
Configures Memcached via Opscode Chef
It can handle multiple instances with different configuratioins on the same machine.
Currently only one memcached version is supported.
Supported Platforms
- Ubuntu 12.04+
- Debian 7.0+
Recipes
-
L7-memcached
- The default no-op recipe.
Providers
-
L7_memcached_pool
- Configures memcached instance
Usage
Provider parameters:
-
tcp_port
: tcp listen port (default 11211) -
udp_port
: udp listen port (default 0, disable) -
listen
: listen address (default "127.0.0.1") -
connection_limit
: client connection limit (default 1024) -
size
: database size in megabytes (defaul 16) -
repcache_port
: repcache port (default not set) -
repcache_listen
: repcache listen address (default not set) -
verbose
: verbose logging (default not set, [-v or -vv])
A memcached instance with default settings:
L7_memcached_pool 'basic_example'
A memcached instance with custom parameters:
L7_memcached_pool 'extended_example' do port '11212' bind '0.0.0.0' size 64 end
TODO
Implement multiversion support.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
License
- Freely distributable and licensed under the MIT license.
- Copyright (c) 2015 Gabor Szelcsanyi
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Foodcritic Metric
1.0.2 failed this metric
FC017: LWRP does not notify when updated: /tmp/cook/bd40d880f336cf7b4aca7c5f/L7-memcached/providers/pool.rb:11
1.0.2 failed this metric