Sha256: 13f01558a9616bbbff97a4e51091f28c0e7bf54359f4951e2498756acfa78009
Contents?: true
Size: 341 Bytes
Versions: 120
Compression:
Stored size: 341 Bytes
Contents
require_relative '../../puppet/reports' Puppet::Reports.register_report(:log) do desc "Send all received logs to the local log destinations. Usually the log destination is syslog." def process self.logs.each do |log| log.source = "//#{self.host}/#{log.source}" Puppet::Util::Log.newmessage(log) end end end
Version data entries
120 entries across 120 versions & 1 rubygems