Sha256: 1a2dc13032aad66e6d6334256c4483bf8d603a9bd3991b183e2b2fed451f4df2
Contents?: true
Size: 608 Bytes
Versions: 5
Compression:
Stored size: 608 Bytes
Contents
module Actions module Katello module OrphanCleanup class RemoveOrphans < Actions::Base input_format do param :capsule_id end def plan(proxy) sequence do if proxy.pulp_primary? ::Katello::RootRepository.orphaned.destroy_all plan_action(RemoveOrphanedContentUnits) end if proxy.pulp3_enabled? plan_action( Actions::Pulp3::Orchestration::OrphanCleanup::RemoveOrphans, proxy) end end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems