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

Latest commit

 

History

History
36 lines (23 loc) · 851 Bytes

README.md

File metadata and controls

36 lines (23 loc) · 851 Bytes

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