Handle potentially missing attributes for (currently) un-supported platforms
I'm using this cookbook with an application cookbook that I've been using with computers running Ubuntu. But I'm working on another wrapper cookbook for setting-up development instances of my application and I'd like to support Mac OS and Windows as well as Linux (Ubuntu). I'm interested in working on adding Mac OS and Windows support to this cookbook but in the meantime I'd like to be able to implement 'hard-coded' support for those platforms and use this cookbook for Linux. Unfortunately, this cookbook can't be compiled by Chef on non-Linux platforms because of unguarded attribute access for attributes that only exist for Linux nodes. These changes should fix the compilation errors on currently un-supported platforms; they do on a Mac OS X computer I have.