modified to work with 3.0 and newer Yum cookbooks