summaryrefslogtreecommitdiffstats
path: root/lib/puppet/reports/log.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/reports/log.rb')
-rw-r--r--lib/puppet/reports/log.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/puppet/reports/log.rb b/lib/puppet/reports/log.rb
index 827572c2c..1fc6876a6 100644
--- a/lib/puppet/reports/log.rb
+++ b/lib/puppet/reports/log.rb
@@ -1,14 +1,14 @@
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."
+ 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
+ def process
+ self.logs.each do |log|
+ log.source = "//#{self.host}/#{log.source}"
+ Puppet::Util::Log.newmessage(log)
end
+ end
end