Sha256: ffe13a7385b5e33350251bc888be502ba17231b4a8cca5433f386beb33760faf
Contents?: true
Size: 635 Bytes
Versions: 10
Compression:
Stored size: 635 Bytes
Contents
module Actions module Katello module AlternateContentSource module AlternateContentSourceCommon def create_simplified_acs(acs, smart_proxy) acs.products.each do |product| product.acs_compatible_repositories.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
10 entries across 10 versions & 1 rubygems