Sha256: 6b4fa52c85c80dd5b4d98188dea0517f0d075f48f51d92fb69c143085f737bf8

Contents?: true

Size: 707 Bytes

Versions: 77

Compression:

Stored size: 707 Bytes

Contents

module Actions
  module Pulp3
    module Orchestration
      module Repository
        class Create < Pulp3::Abstract
          def plan(repository, smart_proxy, force = false)
            sequence do
              create_action = plan_action(Actions::Pulp3::Repository::Create, repository, smart_proxy, force)
              plan_action(Actions::Pulp3::Repository::SaveVersion, repository, repository_details: create_action.output[:response])

              if repository.content_view.default? || !smart_proxy.pulp_primary?
                plan_action(Actions::Pulp3::Repository::CreateRemote, repository, smart_proxy)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

77 entries across 77 versions & 1 rubygems

Version Path
katello-4.14.2 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-4.14.1 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-4.14.0 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-4.14.0.rc3 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-4.14.0.rc2 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-4.14.0.rc1.1 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-4.14.0.rc1 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-4.13.1 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-4.13.0 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-4.12.1 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-4.13.0.rc1 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-4.12.0 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-4.12.0.rc3 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-4.12.0.rc2 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-4.12.0.rc1 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-4.11.1 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-4.11.0 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-4.11.0.rc2 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-4.11.0.rc1 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-4.10.0 app/lib/actions/pulp3/orchestration/repository/create.rb