summaryrefslogtreecommitdiffstats
path: root/lib/puppet/property.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2009-11-07 17:30:45 -0600
committertest branch <puppet-dev@googlegroups.com>2010-02-17 06:50:53 -0800
commit977595bd712bfa25c176abb3983bc81df665ea7b (patch)
tree1ae2ca7ed9c71ddbc8e7b378a6457282a8042ccd /lib/puppet/property.rb
parent5776fe4e33b5bb3399a2e72d76faeffb2bba1f4e (diff)
downloadpuppet-977595bd712bfa25c176abb3983bc81df665ea7b.tar.gz
puppet-977595bd712bfa25c176abb3983bc81df665ea7b.tar.xz
puppet-977595bd712bfa25c176abb3983bc81df665ea7b.zip
Refactoring the Change/Event/Property interface
This gives all logging responsibility to the event, which can now produce logs identical to those produced directly by the property. At this point, the events are entirely supersets of the logs.
Diffstat (limited to 'lib/puppet/property.rb')
-rw-r--r--lib/puppet/property.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/property.rb b/lib/puppet/property.rb
index 9d50dcf6a..ad8ea623f 100644
--- a/lib/puppet/property.rb
+++ b/lib/puppet/property.rb
@@ -157,7 +157,7 @@ class Puppet::Property < Puppet::Parameter
# Return a modified form of the resource event.
def event
- resource.event :name => event_name, :desired_value => should, :property => name
+ resource.event :name => event_name, :desired_value => should, :property => name, :source_description => path
end
attr_reader :shadow