# File lib/puppet/provider/package/rpm.rb, line 123 123: def self.nevra_to_hash(line) 124: line.chomp! 125: hash = {} 126: NEVRA_FIELDS.zip(line.split) { |f, v| hash[f] = v } 127: hash[:provider] = self.name 128: hash[:ensure] = "#{hash[:version]}-#{hash[:release]}" 129: hash 130: end