Using chef resources in library

Hi Guys,