6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# File 'app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb', line 6
def plan(proxy)
if proxy.pulp3_enabled?
sequence do
plan_action(Actions::Pulp3::OrphanCleanup::DeleteOrphanRepositoryVersions, proxy)
plan_action(Actions::Pulp3::OrphanCleanup::RemoveOrphans, proxy)
if proxy.pulp_mirror?
plan_action(Actions::Pulp3::OrphanCleanup::RemoveUnneededRepos, proxy)
plan_action(Actions::Pulp3::OrphanCleanup::DeleteOrphanDistributions, proxy)
plan_action(Actions::Pulp3::OrphanCleanup::DeleteOrphanAlternateContentSources, proxy)
plan_action(Actions::Pulp3::OrphanCleanup::DeleteOrphanRemotes, proxy)
end
end
end
end
|