Redis: a fast, flexible datastore offering an extremely useful set of data structure primitives
Redis, a fast lightweight database
client
- Client support for Redis databasedefault
- Base configuration for redisinstall_from_package
- Install From Ubuntu Package -- easy but lags in versioninstall_from_release
- Install From Releaseserver
- Redis server with runit service
Supports platforms: debian and ubuntu
Cookbook dependencies:
- runit
- install_from
- metachef
[: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_dir]
- Redis log dir path (default: "/var/log/redis")- Path to the log directory when daemonized -- will be stored in [log_dir]/redis.log.
[: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][: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][:conf_dir]
- (default: "/etc/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")
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