cookbook 'L7-memcached', '~> 1.0.4'
L7-memcached (3) Versions 1.0.4 Follow0
Installs/Configures memcached, multi instance support
cookbook 'L7-memcached', '~> 1.0.4', :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.
Collaborator Number Metric
1.0.4 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.4 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.0.4 failed this metric
FC066: Ensure chef_version is set in metadata: L7-memcached/metadata.rb:1
FC074: LWRP should use DSL to define resource's default action: L7-memcached/resources/pool.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: L7-memcached/providers/pool.rb:40
FC085: Resource using new_resource.updated_by_last_action to converge resource: L7-memcached/providers/pool.rb:61
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.4 passed this metric
Testing File Metric
1.0.4 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.4 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.4 failed this metric
1.0.4 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.0.4 failed this metric
FC066: Ensure chef_version is set in metadata: L7-memcached/metadata.rb:1
FC074: LWRP should use DSL to define resource's default action: L7-memcached/resources/pool.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: L7-memcached/providers/pool.rb:40
FC085: Resource using new_resource.updated_by_last_action to converge resource: L7-memcached/providers/pool.rb:61
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.4 passed this metric
Testing File Metric
1.0.4 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.4 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.4 failed this metric
FC074: LWRP should use DSL to define resource's default action: L7-memcached/resources/pool.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: L7-memcached/providers/pool.rb:40
FC085: Resource using new_resource.updated_by_last_action to converge resource: L7-memcached/providers/pool.rb:61
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.0.4 passed this metric
Testing File Metric
1.0.4 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.4 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.4 failed this metric
1.0.4 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number