summaryrefslogtreecommitdiff
path: root/lib/chef/node/attribute_collections.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-09-26 10:04:35 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2016-10-25 09:29:29 -0700
commit16a08bcf2a78aa1353ec88f0a8e0282973434914 (patch)
treee23db3d83e6ed2c1f9f9baa339092fda76bb34a5 /lib/chef/node/attribute_collections.rb
parent69e92b100f4eccea6bf6f0953ffbc2e7f8b93b19 (diff)
downloadchef-16a08bcf2a78aa1353ec88f0a8e0282973434914.tar.gz
s/path_tracking/state_tracking and add __root state
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/node/attribute_collections.rb')
-rw-r--r--lib/chef/node/attribute_collections.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/chef/node/attribute_collections.rb b/lib/chef/node/attribute_collections.rb
index 2f146a9528..b8dde7121c 100644
--- a/lib/chef/node/attribute_collections.rb
+++ b/lib/chef/node/attribute_collections.rb
@@ -17,7 +17,7 @@
#
require "chef/node/common_api"
-require "chef/node/mixin/path_tracking"
+require "chef/node/mixin/state_tracking"
class Chef
class Node
@@ -105,12 +105,12 @@ class Chef
end
end
- # needed for PathTracking
+ # needed for __path
def convert_key(key)
key
end
- prepend Chef::Node::Mixin::PathTracking
+ prepend Chef::Node::Mixin::StateTracking
end
# == VividMash
@@ -224,7 +224,7 @@ class Chef
Mash.new(self)
end
- prepend Chef::Node::Mixin::PathTracking
+ prepend Chef::Node::Mixin::StateTracking
end
end
end