Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Latest commit

 

History

History
34 lines (21 loc) · 823 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 823 Bytes

Memcached Puppet Module for Boxen

Build Status

Usage

include memcached

The libmemcached library is also available:

include memcached::lib

Required Puppet Modules

  • boxen
  • homebrew
  • stdlib

Environment

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

  • BOXEN_MEMCACHED_PORT: the configured memcached port
  • BOXEN_MEMCACHED_URL: the URL for memcached, including host & port

Rails with Dalli

For Rails development with the dalli client, add to config/environments/development.rb:

config.cache_store = :dalli_store, "127.0.0.1:#{ENV['BOXEN_MEMCACHED_PORT'] || 11211}"