Chef server within vagrant automatically set up
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
configs
shutit-library @ f10af0d
.gitignore
.gitmodules
README.md
chef-server-core-12.17.3-1.el7.x86_64.rpm.xaa
chef-server-core-12.17.3-1.el7.x86_64.rpm.xab
chef-server-core-12.17.3-1.el7.x86_64.rpm.xac
chef-server-core-12.17.33-1.el7.x86_64.rpm.xaa
chef-server-core-12.17.33-1.el7.x86_64.rpm.xab
chef-server-core-12.17.33-1.el7.x86_64.rpm.xac
chef-server-core-12.17.33-1.el7.x86_64.rpm.xad
chef-server-core_12.16.14-1_amd64.deb.xaa
chef-server-core_12.16.14-1_amd64.deb.xab
demo.json
destroy_vms.sh
run.sh
shutit-chef-env-1.png
shutit_chef_env.py

README.md

shutit-chef-env

A complete Chef environment in Vagrant.

ShutIt Chef Env

Includes:

  • Chef server
  • Chef workstation
  • Chef node
  • Certificate setup
  • Client setup (knife, chef-client etc)

Why?

This can be used for a number of reasons:

  • to demonstrate how a Chef infrastructure works
  • to work on chef recipes while offline
  • as a training tool for Chef newbies
  • to test Chef code that depends on a Chef server being available

When I started Chef I tried in vain to find good docs on how to set up my own Chef environment. I could have used something like this.

Pre-requisites

Works and tested on:

  • Mac OSx
  • Linux

Requires:

Run

git clone --recursive https://github.com/ianmiell/shutit-chef-env
cd shutit-chef-env
./run.sh

Video

asciicast