Updating for cookbook yum ~> 3.0. Fixing style or rubocop. Updating test bits.