summaryrefslogtreecommitdiffstats
path: root/lib/puppet/event.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/event.rb')
-rw-r--r--lib/puppet/event.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/puppet/event.rb b/lib/puppet/event.rb
index 74804e6df..5bdd67c40 100644
--- a/lib/puppet/event.rb
+++ b/lib/puppet/event.rb
@@ -107,12 +107,13 @@ module Puppet
raise "Event.new called incorrectly"
end
+ @state = args[:state]
@event = args[:event]
@object = args[:object]
@transaction = args[:transaction]
- info "%s: %s" %
- [@object,@event]
+ Puppet.info "%s: %s(%s)" %
+ [@object,@state,@event]
# initially, just stuff all instances into a central bucket
# to be handled as a batch