Brad's Blog

Easy Custom Vagrant Packages 2012-04-16

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 ...

Net::HTTPServerException: 412 "Precondition Failed" 2012-02-05

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 ...