An opinionated, test driven, "broiler platter" for developing your chef infrastructure.
Ruby Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.chef
config
cookbooks/motd
shared
test
.gitignore
.gitmodules
.ruby-gemset
.ruby-version
.travis.yml
Berksfile
Berksfile.lock
CHANGELOG.md
Gemfile
Gemfile.lock
README.md
Rakefile
Vagrantfile
environment.sh

README.md

#Chef Broiler Plate (1.0.1)

image

An opinionated, test driven, "broiler platter" for developing your chef infrastructure.

Master branch: Build Status

Develop branch: Build Status

####The goals of this project are:

  • Learn how to develop Chef cookbooks.
  • Develop cookbooks in a sound, test driven way.
  • Help others new to the game.

##Can you party? There are a number of dependencies to use this, at a bare minimum:

  • Ruby 1.9.3
  • Rake
  • Bundler
  • Virtual Box
  • Vagrant

Run this command to check the rest of your dependencies:

rake check

Use the file located in environment.sh to set the needed environment variables. You can source this file or add the variables to your .bash_profile. These can be over ridden in forked projects by specifying them in the included knife.rb file. In general the file has been set up to allow multiple users to access the project repository. The fastest way is to just set your variables and run:

source environment.sh

##It is this simple:

Clone this repository:

git clone git@github.com:jrobertfox/chef-broiler-platter.git

Go into the directory:

cd chef-broiler-platter

Install the submodules:

git submodule init
git submodule update

Install your dependencies:

bundle install

Check to make sure everything is ok:

rake check

Start your box:

vagrant up

or

rake start

##Testing This is supposed to be super simple. To run the suite of tests against your project:

rake build

##Contribution Guidelines This project conforms to the neverstopbuilding/craftsmanship guidlines. Please see that repository for details on project administration.