Sha256: 524bf69158f6a54f4afae1162c9fa1cfe4f04a4a848d1b01a0470cfccdcb30db
Contents?: true
Size: 790 Bytes
Versions: 10
Compression:
Stored size: 790 Bytes
Contents
module Actions module Katello module ContentViewVersion class AutoCreateRepositories < Actions::Base def plan(import:) helper = ::Katello::Pulp3::ContentViewVersion::ImportableRepositories.new( organization: import.organization, metadata_repositories: import.metadata_map.repositories.select { |r| !r.redhat } ) helper.generate! sequence do helper.creatable.each do |root| plan_action(::Actions::Katello::Repository::CreateRoot, root[:repository]) end helper.updatable.each do |root| plan_action(::Actions::Katello::Repository::Update, root[:repository], root[:options]) end end end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems