blob: 8dfeedb0717311d727852778f57f3d5c98422aad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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|
Puppet::Util::Log.newmessage(log)
end
end
end
|