Skip to content

dreamr/guard-chef

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# Brought to you from the people behind www.rubycasts.io

Check out these awesome [ruby and rails screencasts](www.rubycasts.io)! There is 1 15 minute cast released every week as well as either a 2 Minute Ruby or a 2 Minute Rails screencast!

Guard::Chef

Chef guard allows to automatically & intelligently update roles, cookbooks, and databags for chef.

  • Compatible with Bundler 1.0.x

  • Tested on Ruby 1.8.6, 1.8.7 & 1.9.2.

Install

Please be sure to have Guard installed before continue.

Install the gem:

gem install guard-chef

Add it to your Gemfile (inside test group):

gem 'guard-chef'

Add guard definition to your Guardfile by running this command:

guard init bundler

Usage

Please read Guard usage doc

Guardfile

Bundler guard can be really be adapted to all kind of projects. Advice: place Bundler guard before other is recommended.

Standard

group 'backend' do

  guard 'chef' do
    watch(%r{^cookbooks/(.+)/})
    watch(%r{^roles/(.+).rb})
    watch(%r{^data_bags/(.+)/})
  end
end

Options

Nothing yet!

Please read Guard doc for more info about Guardfile DSL.

Development

Pull requests are very welcome! Make sure your patches are well tested. Please create a topic branch for every separate change you make.

Authors

Dreamr OKelly

About

Watch Chef Roles, Cookbooks, and Databags and Upload Automatically!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages