Sha256: c9e9a08a47aff0b009344dbc1b6412989463c47e72802f876ae1582f2afdc9f3
Contents?: true
Size: 750 Bytes
Versions: 34
Compression:
Stored size: 750 Bytes
Contents
module Actions module Katello module ContentViewVersion class AutoCreateRepositories < Actions::Base def plan(organization:, metadata:) helper = ::Katello::Pulp3::ContentViewVersion::ImportableRepositories. new(organization: organization, metadata: metadata) 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
34 entries across 34 versions & 1 rubygems