Chef Recipes to install and configure PostgreSQL on OS X
bundle
bundle exec soloist
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'
sprout-postgresql
sprout-postgresql::install_postgres
sprout-postgresql::add_launch_agent
sprout-postgresql::create_current_user_db
bundle
bundle exec rake
The default rake task includes rubocop, foodcritic, unit specs
bundle
bundle exec rake rubocop
bundle
bundle exec rake foodcritic
unit testing is done with ServerSpec
bundle
bundle exec rake spec:unit
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