updated to work with chef11, and a bit cleaner
Merge pull request #34 from aabes/pull-req-master-91845182b2eb3a3185714d92aac3ba2279c8323a

Merged by devtool for VictorLowther