Sha256: a5ffd8482823ba525a352af4aeec4c5b9c426dc0e4c32828cb063c18e25246a7
Contents?: true
Size: 685 Bytes
Versions: 40
Compression:
Stored size: 685 Bytes
Contents
module Actions module Pulp3 module Orchestration module Repository class Create < Pulp3::Abstract def plan(repository, smart_proxy) sequence do create_action = plan_action(Actions::Pulp3::Repository::Create, repository, smart_proxy) 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
40 entries across 40 versions & 1 rubygems