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

pivotal-sprout/sprout-postgresql

Repository files navigation

sprout-postgresql cookbook

Build Status

Chef Recipes to install and configure PostgreSQL on OS X

Usage

Prerequisites

Quickstart

bundle
bundle exec soloist

Cookbook Usage

Attributes

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

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

Recipes

  1. sprout-postgresql
  2. sprout-postgresql::install_postgres
  3. sprout-postgresql::add_launch_agent
  4. sprout-postgresql::create_current_user_db

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 testing is done with 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. It has a precondition that postgresql is not installed on the system.

bundle
bundle exec rake spec:integration

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages