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