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

Version Path
katello-4.4.2.2 app/lib/actions/katello/content_view_version/auto_create_redhat_repositories.rb
katello-4.4.2.1 app/lib/actions/katello/content_view_version/auto_create_redhat_repositories.rb
katello-4.4.2 app/lib/actions/katello/content_view_version/auto_create_redhat_repositories.rb
katello-4.4.1 app/lib/actions/katello/content_view_version/auto_create_redhat_repositories.rb
katello-4.4.0.2 app/lib/actions/katello/content_view_version/auto_create_redhat_repositories.rb
katello-4.4.0.1 app/lib/actions/katello/content_view_version/auto_create_redhat_repositories.rb
katello-4.3.1 app/lib/actions/katello/content_view_version/auto_create_redhat_repositories.rb
katello-4.4.0 app/lib/actions/katello/content_view_version/auto_create_redhat_repositories.rb
katello-4.4.0.rc2 app/lib/actions/katello/content_view_version/auto_create_redhat_repositories.rb
katello-4.4.0.rc1 app/lib/actions/katello/content_view_version/auto_create_redhat_repositories.rb
katello-4.2.2 app/lib/actions/katello/content_view_version/auto_create_redhat_repositories.rb
katello-4.3.0 app/lib/actions/katello/content_view_version/auto_create_redhat_repositories.rb
katello-4.3.0.rc4 app/lib/actions/katello/content_view_version/auto_create_redhat_repositories.rb
katello-4.3.0.rc3 app/lib/actions/katello/content_view_version/auto_create_redhat_repositories.rb
katello-4.3.0.rc2.1 app/lib/actions/katello/content_view_version/auto_create_redhat_repositories.rb
katello-4.3.0.rc2 app/lib/actions/katello/content_view_version/auto_create_redhat_repositories.rb
katello-4.3.0.rc1 app/lib/actions/katello/content_view_version/auto_create_redhat_repositories.rb
katello-4.2.1 app/lib/actions/katello/content_view_version/auto_create_redhat_repositories.rb
katello-4.2.0.1 app/lib/actions/katello/content_view_version/auto_create_redhat_repositories.rb
katello-4.1.4 app/lib/actions/katello/content_view_version/auto_create_redhat_repositories.rb