Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

L7-redis (8) Versions 1.0.2

Installs/Configures redis, multi instace support

Policyfile
Berkshelf
Knife
cookbook 'L7-redis', '= 1.0.2', :supermarket
cookbook 'L7-redis', '= 1.0.2'
knife supermarket install L7-redis
knife supermarket download L7-redis
README
Dependencies
Quality 0%

L7-redis cookbook

Build Status
security
Cookbook Version

Description

Configures Redis via Opscode Chef

It can handle multiple instances with different configuratioins on the same machine.

Currently only one redis version is supported.

Supported Platforms

  • Ubuntu 12.04+
  • Debian 7.0+

Recipes

  • L7-redis - The default no-op recipe.

Providers

  • L7_redis_pool - Configures redis instance

Usage

Provider parameters:

  • port: listen port (default 6379)
  • bind: listen address (default "127.0.0.1")
  • unixsocketperm: Unix socket permission (default 755)
  • timeout: timeout interval (default 0, no timeout)
  • tcp_keepalive: tcp keepalive interval (default 0, no keepalive)
  • loglevel: log level (default "notice")
  • databases: number of databases (default 16)
  • datadir: directory for storing data (default /usr/lib/redis-poolname)
  • maxmemory: maximum memory to use (default "1gb")
  • maxmemory_policy: eviction policy (default "volatile-lru")
  • maxmemory_samples: memory samples (default 3)
  • slaveof: master server ip address (default no master)
  • slave_read_only: is slave read only (default "yes")
  • snapshotting: snapshotting (default true)
  • requirepass: authentication password (default nil)

A redis instance with default settings:

L7_redis_pool 'basic_example'

A redis instance with custom parameters:

L7_redis_pool 'extended_example' do
    port '6390'
    bind '0.0.0.0'
    databases 2
    datadir '/opt/custom_redis'
end

TODO

Implement multiversion support.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

  • Freely distributable and licensed under the MIT license.
  • Copyright (c) 2015 Gabor Szelcsanyi

image

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/32c8ec068cea32c4cd9f3dbd/L7-redis/providers/pool.rb:11