summaryrefslogtreecommitdiff
path: root/lib/chef/node.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-10-28 14:46:11 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2016-10-28 14:46:11 -0700
commite57e29b96b75ff7fc04abb7f9db73920b2a5894a (patch)
treebd54ab59d6c7606efdaf8fa8d07a8b79f594c0a4 /lib/chef/node.rb
parent95dd383a6059d896e5c587b6a6eb65195e144a28 (diff)
downloadchef-e57e29b96b75ff7fc04abb7f9db73920b2a5894a.tar.gz
add attribute_changed hook to event handlers
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/node.rb')
-rw-r--r--lib/chef/node.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/node.rb b/lib/chef/node.rb
index 34a92d325b..7351a7bfa5 100644
--- a/lib/chef/node.rb
+++ b/lib/chef/node.rb
@@ -78,7 +78,7 @@ class Chef
@policy_name = nil
@policy_group = nil
- @attributes = Chef::Node::Attribute.new({}, {}, {}, {})
+ @attributes = Chef::Node::Attribute.new({}, {}, {}, {}, self)
@run_state = {}
end