Skip to content
No description or website provided.
Ruby Puppet HTML Shell
Find file
Latest commit 9b12e30 @lucasmazza lucasmazza Merge pull request #33 from SalesLoft/master
El Capitan support
Failed to load latest commit information.
files/brews Brew formula tweaks
manifests
script cardboardize
spec
templates removed plist, template does the same thing
.gitignore
.travis.yml Fixed CI
CONTRIBUTING.md
Gemfile
Gemfile.lock boom, rewrite
LICENSE Add LICENSE file
README.md

README.md

MongoDB Puppet Module for Boxen

Build Status

Usage

include mongodb

Required Puppet Modules

  • boxen
  • homebrew
  • stdlib

Environment

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

  • BOXEN_MONGODB_PORT: the configured mongodb port
  • BOXEN_MONGODB_URL: the URL for mongodb, including localhost & port

Ruby

For the ruby client:

@client = Mongo::MongoClient.new('localhost', ENV['BOXEN_MONGODB_PORT'] || 27017)

For mongomapper's config/mongo.yml:

development:
  uri: <%= ENV['BOXEN_MONGODB_URL'] || 'mongodb://localhost:27017/' %>
Something went wrong with that request. Please try again.