summaryrefslogtreecommitdiff
path: root/lib/chef/chef_fs/file_system/cookbook_file.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/chef_fs/file_system/cookbook_file.rb')
-rw-r--r--lib/chef/chef_fs/file_system/cookbook_file.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/chef/chef_fs/file_system/cookbook_file.rb b/lib/chef/chef_fs/file_system/cookbook_file.rb
index e05c4aa614..552f360173 100644
--- a/lib/chef/chef_fs/file_system/cookbook_file.rb
+++ b/lib/chef/chef_fs/file_system/cookbook_file.rb
@@ -59,6 +59,10 @@ class Chef
parent.rest
end
+ def rest_json
+ parent.rest_json
+ end
+
def compare_to(other)
other_value = nil
if other.respond_to?(:checksum)