updated for Chef 11 compatibility