Sha256: 5ae13cac4c2da5ceb3ce778f22a5ab39d0ec477c4f2d92ae173c941b34c4bd77

Contents?: true

Size: 300 Bytes

Versions: 16

Compression:

Stored size: 300 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|
            Puppet::Util::Log.newmessage(log)
        end
    end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
puppet-0.25.5 lib/puppet/reports/log.rb
puppet-0.25.4 lib/puppet/reports/log.rb
puppet-0.25.3 lib/puppet/reports/log.rb
puppet-0.24.9 lib/puppet/reports/log.rb
puppet-0.25.2 lib/puppet/reports/log.rb
puppet-0.25.1 lib/puppet/reports/log.rb
puppet-0.25.0 lib/puppet/reports/log.rb
puppet-0.24.0 lib/puppet/reports/log.rb
puppet-0.24.2 lib/puppet/reports/log.rb
puppet-0.24.4 lib/puppet/reports/log.rb
puppet-0.24.3 lib/puppet/reports/log.rb
puppet-0.24.1 lib/puppet/reports/log.rb
puppet-0.24.6 lib/puppet/reports/log.rb
puppet-0.24.7 lib/puppet/reports/log.rb
puppet-0.24.5 lib/puppet/reports/log.rb
puppet-0.24.8 lib/puppet/reports/log.rb