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

Latest commit

 

History

History
70 lines (42 loc) · 1.27 KB

README.md

File metadata and controls

70 lines (42 loc) · 1.27 KB

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