No description or website provided.
Ruby Puppet HTML Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
data
files/brews
manifests
script
spec
templates
.gitignore
.travis.yml
CONTRIBUTING.md
Gemfile
Gemfile.lock
LICENSE
README.md

README.md

Redis Puppet Module for Boxen

Build Status

Usage

include redis

Required Puppet Modules

  • boxen
  • homebrew
  • stdlib

Environment

Once installed, you can access the following variables in your environment, projects, etc:

  • BOXEN_REDIS_PORT: the configured redis port
  • BOXEN_REDIS_URL: the URL for redis, including localhost & port

Hubot

For hubot development, particularly using the redis-brain, you'll need the following:

export REDISTOGO_URL=$BOXEN_REDIS_URL

Ruby

$redis = Redis.new(:host => '127.0.0.1', :port => ENV['BOXEN_REDIS_PORT'] || '6379')