Sha256: 364be03510e381fafafc18d9e188e60941514df433776998c8d87dbf66bb4426
Contents?: true
Size: 1.11 KB
Versions: 5
Compression:
Stored size: 1.11 KB
Contents
require 'pulp_ansible_client' module Katello module Pulp3 class Repository class AnsibleCollection < ::Katello::Pulp3::Repository def remote_options if root.url.blank? super else common_remote_options.merge(url: root.url, requirements_file: root.ansible_collection_requirements.blank? ? nil : root.ansible_collection_requirements, auth_url: root.ansible_collection_auth_url, token: root.ansible_collection_auth_token, tls_validation: root.verify_ssl_on_sync) end end def distribution_options(path) { base_path: path, repository_version: repo.version_href, name: "#{generate_backend_object_name}" } end def partial_repo_path "/pulp_ansible/galaxy/#{repo.relative_path}/api/v2/collections" end def mirror_remote_options { } end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems