class ChefCLI::Policyfile::CachedCookbook

def cookbook_path

def cookbook_path
  if cache_key.nil?
    raise MissingCookbookLockData, "Cannot locate cached cookbook `#{name}' because the `cache_key' attribute is not set"
  end
  File.join(cache_path, cache_key)
end