Chef on Debian/390

Linux on a S/390 or z/Machine is pretty similar to Linux running on any other architecture, but installing Chef on one is an interesting thought experiment. One major issue, though, is that binary packages are (not surprisingly) not built for s390 by Opscode, so you’ll have to do the more manual installation. First, unless you have a mainframe laying around, set up a Linux/390 VM running under Hercules. I found these instructions to be useful, but since I’m on a Mac I had to make a few changes: