class Chef::ChefFS::FileSystem::ChefServer::DataBagEntry

/policies/NAME-REVISION.json Represents the actual data at /organizations/ORG/policies/NAME/revisions/REVISION

Public Instance Methods

display_path() click to toggle source
# File lib/chef/chef_fs/file_system/chef_server/data_bag_entry.rb, line 11
def display_path
  pth = "/data_bags/#{parent.name}/#{name}"
  File.extname(pth).empty? ? pth + ".json" : pth
end