# File lib/chef/provider/package/yum.rb, line 1069 def action_upgrade # Ensure the candidate is newer if RPMVersion.parse(candidate_version) > RPMVersion.parse(@current_resource.version) super # Candidate is older else Chef::Log.debug("#{@new_resource} is at the latest version - nothing to do") end end