summaryrefslogtreecommitdiffstats
path: root/lib/puppet/event.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2005-07-20 06:16:29 +0000
committerLuke Kanies <luke@madstop.com>2005-07-20 06:16:29 +0000
commit8f718da399cd3e87864d5ca1b2e0011786523a16 (patch)
tree6db2b1448d284c6731f24c7eb219c5bc532aa711 /lib/puppet/event.rb
parentaa594735c4924b49d5a2a47d1307f59d4206c23b (diff)
downloadpuppet-8f718da399cd3e87864d5ca1b2e0011786523a16.tar.gz
puppet-8f718da399cd3e87864d5ca1b2e0011786523a16.tar.xz
puppet-8f718da399cd3e87864d5ca1b2e0011786523a16.zip
recursive file copying now works even with some limited number of errors
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@426 980ebf18-57e1-0310-9a29-db15c13687c0
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