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