Porting to use cookbook yum ~> 3.0, cleaning up style, fixing up tests