# File lib/puppet/configurer/downloader.rb, line 26 26: def evaluate 27: Puppet.info "Retrieving #{name}" 28: 29: files = [] 30: begin 31: Timeout.timeout(self.class.timeout) do 32: catalog.apply do |trans| 33: trans.changed?.find_all do |resource| 34: yield resource if block_given? 35: files << resource[:path] 36: end 37: end 38: end 39: rescue Puppet::Error, Timeout::Error => detail 40: puts detail.backtrace if Puppet[:debug] 41: Puppet.err "Could not retrieve #{name}: %s" % detail 42: end 43: 44: return files 45: end