Modifications to work with littlechef

This changes don't break our recipes when using chef-server, but they are necessary to build a cluster using littlechef only (which I tested and works pretty well).