Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Watch Chef Roles, Cookbooks, and Databags and Upload Automatically!
branch: master

This branch is 1 commit ahead of dreamr:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.bundle
lib updated version and fixed guard init chef
pkg updated version and fixed guard init chef
spec
Gemfile
Gemfile.lock initial commit, total coverage, all specs green
Guardfile
LICENSE
README.rdoc
Rakefile initial commit, total coverage, all specs green
guard-chef.gemspec updated version and fixed guard init chef

README.rdoc

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 chef

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

Something went wrong with that request. Please try again.