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

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