Sha256: 6a1c5a5fb303fad36ead33c93dcfb98bc14c542049d5d23ad4f74ba92dce6516
Contents?: true
Size: 326 Bytes
Versions: 729
Compression:
Stored size: 326 Bytes
Contents
require '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
729 entries across 729 versions & 6 rubygems