0.0
No commit activity in last 3 years
No release in over 3 years
Watch for changes in your chef-repo or cookbook and automatically run Strainer
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.3

Runtime

>= 1.8.0
>= 3.2.1
 Project Readme

Guard::Strainer

Build Status Gem Version

guard-strainer will automatically execute a Strainerfile for a watched chef-repo or cookbook when it detects changes

Requirements

Installation

Add to your chef-repo or cookbook's Gemfile:

gem 'guard-strainer'

Or install the gem (make sure you also have Guard:

$ gem install guard-strainer

Finally add the guard-strainer definition to your Guardfile:

guard init strainer

Usage

Please read the Guard usage doc

Options

:standalone => true                         # set to true for cookbook operation. Default false.
:all_on_pass => false                       # set to true to run all Strainerfiles on pass. Default true.
:all_on_start => false                      # set to true to run all Strainerfiles on start. Default true.
:fail_fast => false                         # set to true to fail immediately upon any non-zero exit code. Default true.
:except => ['foodcritic']                   # labels to ignore in the Strainerfiles
:only => ['foodcritic']                     # labels to include in the Strainerfiles
:cookbooks_path => '/path/to/cookbooks'     # path to the cookbook store
:config => "/path/to/client.rb"             # path to the knife.rb/client.rb config
:debug => true                              # set to true to enable debugging log output. Default false.
:color => false                             # set to false to disable colored output. Default is true

Development

Pull requests are welcome! Please try to follow these rules for contributions:

  • Please create a topic branch for every unique change
  • Please make sure you create tests for your new features
  • Please update the README as applicable
  • Please do not change the version number

Author

Stafford Brunk

Bitdeli Badge