cookbook 'redis', '= 3.0.3'
redis (3) Versions 3.0.3 Follow79
Redis: a fast, flexible datastore offering an extremely useful set of data structure primitives
cookbook 'redis', '= 3.0.3', :supermarket
knife supermarket install redis
knife supermarket download redis
redis chef cookbook
Installs and configures Redis server
Overview
Redis, a fast lightweight database
Attributes
-
[:redis][:home_dir]
- (default: "/usr/local/share/redis") -
[:redis][:pid_file]
- Redis PID file path (default: "/var/run/redis.pid")- Path to the PID file when daemonized.
-
[:redis][:log_file]
- Redis log file path (default: "/var/log/redis/redis.log")- Path to the log file when daemonized.
-
[:redis][:data_dir]
- Redis database directory (default: "/var/lib/redis")- Path to the directory for database files.
-
[:redis][:db_basename]
- Redis database filename (default: "dump.rdb")- Filename for the database storage.
-
[:redis][:release_url]
- URL for redis release package (default: "http://redis.googlecode.com/files/redis-:version:.tar.gz")- If using the install_from_release strategy, the URL for the release tarball
-
[:redis][:master_server]
- Redis replication master server name (default: "master-redis.domain")- The master server for this replication slave.
-
[:redis][:master_port]
- Redis replication master server port (default: "6379")- The master server port for this replication slave.
-
[:redis][:glueoutputbuf]
- Redis output buffer coalescing (default: "yes")- Glue small output buffers together into larger TCP packets.
-
[:redis][:saves]
- Redis disk persistence policies- An array of arrays of time, changed objects policies for persisting data to disk.
-
[:redis][:slave]
- Redis replication slave (default: "no")- Act as a replication slave to a master redis database.
-
[:redis][:shareobjects]
- Redis shared object compression (default: "no") (default: "no")- Attempt to reduce memory use by sharing storage for substrings.
-
[:redis][:shareobjectspoolsize]
- Redis shared object pool size (default: "1024")- The size of the pool for object sharing.
-
[:redis][:conf_dir]
- (default: "/etc/redis") -
[:redis][:log_dir]
- (default: "/var/log/redis") -
[:redis][:user]
- (default: "redis") -
[:redis][:version]
- (default: "2.0.2") -
[:redis][:server][:addr]
- IP address to bind. (default: "0.0.0.0") -
[:redis][:server][:port]
- Redis server port (default: "6379")- TCP port to bind.
-
[:redis][:server][:timeout]
- Redis server timeout (default: "300")- Timeout, in seconds, for disconnection of idle clients.
-
[:users][:redis][:uid]
- (default: "335") -
[:groups][:redis][:gid]
- (default: "335")
Recipes
-
client
- Client support for Redis database -
default
- Base configuration for redis -
install_from_package
- Install From Ubuntu Package -- easy but lags in version -
install_from_release
- Install From Release -
server
- Redis server with runit service ## Integration
Supports platforms: debian and ubuntu
Cookbook dependencies:
* runit
* install_from
* metachef
License and Author
Author:: Benjamin Black (b@b3k.us)
Copyright:: 2011, Benjamin Black
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
readme generated by cluster_chef's cookbook_munger