Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

boxen/puppet-redis

Repository files navigation

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')