summaryrefslogtreecommitdiff
path: root/lib/chef/chef_fs/data_handler/node_data_handler.rb
diff options
context:
space:
mode:
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