summaryrefslogtreecommitdiff
path: root/lib/chef/chef_fs/data_handler/node_data_handler.rb
diff options
context:
space:
mode:
authorjkeiser <jkeiser@opscode.com>2013-01-19 14:12:26 -0800
committerJohn Keiser <jkeiser@opscode.com>2013-06-07 13:12:23 -0700
commit7792c55964ae27261940a01abba5fccf69fb3c1e (patch)
tree45726e2975fb3820362188ee0cbef183b47addc6 /lib/chef/chef_fs/data_handler/node_data_handler.rb
parent35fa7b8c09d97bf4bb141beca7e3ae537e79e08d (diff)
downloadchef-7792c55964ae27261940a01abba5fccf69fb3c1e.tar.gz
Don't minimize out the name/id of the container, for easy reading
Diffstat (limited to 'lib/chef/chef_fs/data_handler/node_data_handler.rb')
-rw-r--r--lib/chef/chef_fs/data_handler/node_data_handler.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/chef/chef_fs/data_handler/node_data_handler.rb b/lib/chef/chef_fs/data_handler/node_data_handler.rb
index aed404d300..88e62677de 100644
--- a/lib/chef/chef_fs/data_handler/node_data_handler.rb
+++ b/lib/chef/chef_fs/data_handler/node_data_handler.rb
@@ -21,6 +21,10 @@ class Chef
result
end
+ def preserve_key(key)
+ return key == 'name'
+ end
+
def chef_class
Chef::Node
end