Fixing the inline resources issue

This PR is dependent on CHEF-5281! See
https://tickets.opscode.com/browse/CHEF-5281 for more info and details…