Skip to content

Repository files navigation

sprout-Mongo cookbook

Build Status

Chef Recipes to install and configure Mongo DB on OS X

Usage

Prerequisites

Quickstart

bundle
bundle exec soloist

Cookbook Usage

Attributes

NOTE: All preferences are namespaced under sprout => mongo they include:

  • plist_filename — The name of the LaunchAgent plist file in the homebrew package to load; default is 'homebrew.mxcl.mongodb.plist'

Recipes

  1. sprout-mongo
  2. sprout-mongo::install_mongo
  3. sprout-mongo::add_launch_agent

Contributing

Before committing

bundle
bundle exec rake

The default rake task includes rubocop, foodcritic, unit specs

bundle
bundle exec rake rubocop
bundle
bundle exec rake foodcritic

Unit specs

Unit specs use ServerSpec

bundle
bundle exec rake spec:unit

Integration specs

Integrations specs will run the default recipe on the host system (destructive) and make assertions on the system after install.

Note: It has a precondition that exemplar is not already installed on the system.

bundle
bundle exec rake spec:integration

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages