initial refactoring review
Merge pull request #51 from cloudedge/pull-req-master-05affc5047396c514209afe13a4f0835098ecf02

https://github.com/crowbar/barclamp-chef/pull/51

Merged by devtool for VictorLowther