Skip to content

pivotal-sprout/sprout-exemplar

Repository files navigation

sprout-exemplar cookbook

Build Status

Template repo for creating standalone cookbooks

Usage

Prerequisites

Quickstart

./sprout

Cookbook Usage

Attributes

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

  • path — The path to the file that exemplar touches; default is ~/exemplar

Recipes

  1. sprout-exemplar
  2. sprout-exemplar::path

Contributing

Before committing

./sprout exec rake

The default rake task includes rubocop, foodcritic, unit specs

./sprout exec rake rubocop
./sprout exec rake foodcritic

Unit specs

Unit specs use ChefSpec

./sprout 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.

./sprout exec rake spec:integration

About

Template repo for creating standalone cookbooks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published