# File lib/puppet/provider/package/yum.rb, line 77 77: def latest 78: upd = latest_info 79: unless upd.nil? 80: # FIXME: there could be more than one update for a package 81: # because of multiarch 82: return "#{upd[:version]}-#{upd[:release]}" 83: else 84: # Yum didn't find updates, pretend the current 85: # version is the latest 86: raise Puppet::DevError, "Tried to get latest on a missing package" if properties[:ensure] == :absent 87: return properties[:ensure] 88: end 89: end