Support yum cookbook 3+

Updated to work with newer versions of the yum cookbook.