class ChefCLI::Policyfile::DSL
def set_default_chef_server_source(source_uri, &block)
def set_default_chef_server_source(source_uri, &block) if source_uri.nil? @errors << "You must specify the server's URI when using a default_source :chef_server" else set_default_source(ChefServerCookbookSource.new(source_uri, chef_config: chef_config, &block)) end end