change cookbook to work with yum 3.0+

see NOTES at https://github.com/opscode-cookbooks/yum for details on changes as of v3.0+