class ChefCLI::Policyfile::ChefRepoCookbookSource

def path=(path)

Parameters:
  • path (String) -- path to a chef-repo or the cookbook path under it
def path=(path)
  cookbooks_path = "#{path}/cookbooks"
  if Dir.exist?(cookbooks_path)
    @path = cookbooks_path
  else
    @path = path
  end
end