Sha256: 028681dfe731f3f350d9fbfe0a56cd143a8bb772aafb1b89c49f5962c8061a87
Contents?: true
Size: 636 Bytes
Versions: 42
Compression:
Stored size: 636 Bytes
Contents
module Actions module Katello module AlternateContentSource module AlternateContentSourceCommon def create_simplified_acs(acs, smart_proxy) acs.products.each do |product| product.repositories.has_url.library.with_type(acs.content_type).each do |repo| smart_proxy_acs = ::Katello::SmartProxyAlternateContentSource.create(alternate_content_source_id: acs.id, smart_proxy_id: smart_proxy.id, repository_id: repo.id) plan_action(Pulp3::Orchestration::AlternateContentSource::Create, smart_proxy_acs) end end end end end end end
Version data entries
42 entries across 42 versions & 1 rubygems