Update yum_repository resource to v3.0

This cookbook depends on yum cookbook without locking it to a
version. It also depends on the erlang cookbook which locks yum to >
v3.0. This change is therefore required to install riak on centos boxes.