class ChefCLI::Policyfile::ChefRepoCookbookSource

def cookbook_repo

Returns:
  • (Chef::CookbookLoader) - cookbook loader using on disk FileVendor
def cookbook_repo
  @cookbook_repo ||= begin
    Chef::Cookbook::FileVendor.fetch_from_disk(path)
    Chef::CookbookLoader.new(path)
  end
end