Brad's Blog

Published: 2012-04-16

Easy Custom Vagrant Packages

chef linux vagrant virtualbox

I've been using Vagrant quite a bit lately, and one of the nice things you can do with it is to define your own package. This makes it easy to share your VMs with others. It's also nice to have the same stuff installed on every VM that you create! So, here's how you create a package. To do this, you'll need to Install VirtualBox and Vagrant. (At the time of writing, I'm using VirtualBox ...

Published: 2012-02-05

Net::HTTPServerException: 412 "Precondition Failed"


So, I've been working with Chef quite a bit, lately. Every once in a while, I'll bootstrap a new node and it fails with this: Net::HTTPServerException: 412 "Precondition Failed" Every single time this has happened to me, I've had stop and scratch my head. Why can't I remember what causes this!? Well, in my case it's usually a misspelled cookbook or recipe name. For example, I might have a role that looks something like ...