support both versions of yum cookbook 2 and 3
update metadata.rb
Merge pull request #11 from yshh/support_yum_cookbook_2_and_3

Support yum cookbook 2 and 3