Sha256: 6a86495a9adaa3674c2b1b125d786416f612772d9f249214648cf021c677a9e5

Contents?: true

Size: 535 Bytes

Versions: 4

Compression:

Stored size: 535 Bytes

Contents

module Actions
  module Pulp3
    module Orchestration
      module Repository
        class Create < Pulp3::Abstract
          def plan(repository, smart_proxy)
            sequence do
              plan_action(Actions::Pulp3::Repository::Create, repository, smart_proxy)
              if repository.content_view.default? || !smart_proxy.pulp_master?
                plan_action(Actions::Pulp3::Repository::CreateRemote, repository, smart_proxy)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
katello-3.14.1 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-3.14.0 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-3.14.0.rc2 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-3.14.0.rc1 app/lib/actions/pulp3/orchestration/repository/create.rb