Sha256: a5b037672019d88954dcb90cd988937c61b7d7558660291e887b67ae0ba9035e
Contents?: true
Size: 810 Bytes
Versions: 30
Compression:
Stored size: 810 Bytes
Contents
module Actions module Katello module ContentViewVersion class AutoCreateRedhatRepositories < Actions::Base def plan(organization:, metadata:) helper = ::Katello::Pulp3::ContentViewVersion::ImportableRepositories. new(organization: organization, metadata: metadata, redhat: true) helper.generate! sequence do helper.creatable.each do |root| plan_action(::Actions::Katello::RepositorySet::EnableRepository, root[:product], root[:content], root[:substitutions]) 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
30 entries across 30 versions & 1 rubygems