Sha256: e21c3ca2163f084c5d9c185c3abae025f69f9d8366c0e980151376e98c95de19
Contents?: true
Size: 361 Bytes
Versions: 20
Compression:
Stored size: 361 Bytes
Contents
# frozen_string_literal: true 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 logs.each do |log| log.source = "//#{host}/#{log.source}" Puppet::Util::Log.newmessage(log) end end end
Version data entries
20 entries across 20 versions & 1 rubygems