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

lonelyplanet/puppet-memcached

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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}"

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Puppet 63.1%
  • Ruby 27.7%
  • Shell 9.2%