Giter Club home page Giter Club logo

chef-redis's Introduction

DESCRIPTION:

Installs Redis. Redis is an open source, advanced key-value store.

It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.

Details http://redis.io/

Build Status

REQUIREMENTS:

none

Currently tested on Ubuntu 10.04 ONLY.

ATTRIBUTES:

['redis']['bind']         # "127.0.0.1"
['redis']['port']         # "6379"
['redis']['config_path']  # "/etc/redis/redis.conf"
['redis']['daemonize']    # "yes"
['redis']['timeout']      # "300"
['redis']['loglevel']     # "notice"
['redis']['password']     # nil

['redis']['source']['version']          # "2.4.1"
['redis']['source']['prefix']           # "/usr/local"
['redis']['source']['tar_url']          # "http://redis.googlecode.com/files/redis-2.4.1.tar.gz"
['redis']['source']['tar_checksum']     # "38e02..."
['redis']['source']['create_service']   # true
['redis']['source']['user']             # "redis"
['redis']['source']['group']            # "redis"

USAGE:

  • Add cookbook redis to your runlist. This will install redis on your machine.
  • Add cookbook redis::source to your runlist. This will build redis on your machine from source.
  • Add cookbook redis::gem to your runlist. This will install the redis Rubygem.
  • Add cookbook redis::remove to your runlist if you want to remove redis on your machine.

chef-redis's People

Contributors

ctrabold avatar fnichol avatar tarnfeld avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

chef-redis's Issues

restarting redis hangs chef-solo

Not sure if anyone else is seeing this...

I'm using just the defaults (ie package installation) on Vagrant with chef-solo. The very first time redis is being installed, chef-solo hangs at the part where the redis.conf template is reloaded, and the redis service is restarted. If I kill the run and start it all over again, everything's fine.

PID file is not customisable

I notice in the default redis.conf file it tries to set /var/run/redis/redis_$PORT.pid as the pid file. However, this is never where the PID file ends up. I am using the standard "package" recipe and I'm on ubuntu, so I assume this is just stock standard for the /etc/init.d script that the OS package management puts in place, since it uses start-stop-daemon, it needs to know the location of the pid file.

In any case, I just found it quite confusing that the PID file is customisable in redis, but then never even used.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.