diff options
author | Luke Kanies <luke@madstop.com> | 2005-08-04 18:42:17 +0000 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2005-08-04 18:42:17 +0000 |
commit | 9c7c71ccd8631c0dce65e91380704338a9dab219 (patch) | |
tree | 00fd6cb881636838ac4c155e357b2a674795a8b9 /lib/puppet/statechange.rb | |
parent | afcb2ee529503207c7979f1397a5066b06e98198 (diff) | |
download | puppet-9c7c71ccd8631c0dce65e91380704338a9dab219.tar.gz puppet-9c7c71ccd8631c0dce65e91380704338a9dab219.tar.xz puppet-9c7c71ccd8631c0dce65e91380704338a9dab219.zip |
passing state, so more info can be extracted
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@498 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/statechange.rb')
-rw-r--r-- | lib/puppet/statechange.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/statechange.rb b/lib/puppet/statechange.rb index 71995b864..3aca38a39 100644 --- a/lib/puppet/statechange.rb +++ b/lib/puppet/statechange.rb @@ -60,7 +60,7 @@ module Puppet # should basically point to that, right? return Puppet::Event.new( :event => event, - :state => @state.name, + :state => @state, :object => @state.parent, :transaction => @transaction, :message => self.to_s @@ -76,7 +76,7 @@ module Puppet #end return Puppet::Event.new( :event => pname + "_failed", - :state => @state.name, + :state => @state, :object => @state.parent, :transaction => @transaction, :message => "Failed: " + self.to_s |