Sha256: 34ae79ab05b4befeaee00e9e0c91260a211f96e2dde6f1c2cfbc6fa5ce200147

Contents?: true

Size: 813 Bytes

Versions: 60

Compression:

Stored size: 813 Bytes

Contents

module Actions
  module Pulp3
    module Orchestration
      module OrphanCleanup
        class RemoveOrphans < Pulp::Abstract
          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::DeleteOrphanRemotes, proxy)
                end
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
katello-3.17.2 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.0.0.rc1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-3.18.1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-3.18.0 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-3.17.1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-3.16.2 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-3.18.0.rc2.1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-3.18.0.rc2 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-3.17.0 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-3.18.0.rc1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-3.17.0.rc2.2 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-3.17.0.rc2.1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-3.16.1.2 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-3.16.1.1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-3.17.0.rc2 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-3.16.1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-3.17.0.rc1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-3.16.0 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-3.16.0.rc5.1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-3.16.0.rc5 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb