/bills-kitchen

All you need for cooking with Chef and Vagrant on Windows you will find in Bill's Kitchen

Primary LanguageJavaScript

Bill's Kitchen

All you need for cooking with Chef and Vagrant on Windows, shrink-wrapped in a portable package:

  • pre-configured Chef Repo with Vagrantfile to bring up a ready-to-use Chef Server
  • devkit enhanced Ruby 1.9.3 with lots of useful gems pre-installed:
    • basic gems:
      • vagrant (patched to make vagrant ssh work on windows)
      • chef (yeah you know what Chef is...)
      • librarian (dependency management for cookbooks)
    • testing-related:
    • other:
      • veewee (for building vagrant baseboxes)
      • sahara (lets you take and restore virtualbox snapshots)
      • knife-solo (if you prefer to work in chef-solo mode)
    • mccloud (like vagrant but for the cloud not local vms)
    • knife-server (for bootstrap/backup/restore of chef servers)
    • vagrant-vbguest (keeps your vbox guestadditions in sync)
  • supporting tools such as:
    • Console2 (with ansicon)
    • SublimeText2 (with additional packages for Chef and Cucumber)
    • PortableGit (preconfigured with kdiff3 as diff/merge tool)
    • putty
  • walkthrough tutorial and example cookbooks

The only requirement for using the devpack is a recent version of VirtualBox (couldn't make that one portable).

Screenshot

Bill's Kitchen Screenshot

Installation

As a prerequisite for building bill's kitchen you need 7zip installed in C:\Program Files\7-Zip\7z.exe.

Build the kitchen:

gem install bundler
bundle install
rake build

This might take a while (you can go fetch a coffee). It will download the external dependencies and assemble the kitchen in the target/build directory, which is then packaged as target/bills-kitchen-<version>.7z

Usage

Make sure you have VirtualBox installed, then:

  1. unzip the target/bills-kitchen-<version>.7z somewhere
  2. mount the kitchen to the W:\ drive by double-clicking the mount-w-drive.bat file
  3. click W:\Launch Console.lnk to open a command prompt
  4. in the command prompt run W:\set-env.bat to set up the PATH etc
  5. walk through the GETTING_STARTED tutorial to get familiar with Vagrant, Chef & Co
  6. continue with the COOKBOOK_DEVELOPMENT guide and start cooking your own recipes!