summaryrefslogtreecommitdiffstats
path: root/lib/puppet/reports/log.rb
blob: 4df8329803ca0f2ae9905212d9ffa41194a81c10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
require 'puppet'

Puppet::Server::Report.newreport(:log) do
    desc "Send all received logs to the local log destinations."

    def process
        self.logs.each do |log|
            Puppet::Log.newmessage(log)
        end
    end
end

# $Id$