Sha256: 143a45a1cc91259ed770a7911fc35dd94768377b9e9ee24d77045a42661bc911

Contents?: true

Size: 919 Bytes

Versions: 16

Compression:

Stored size: 919 Bytes

Contents

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

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
katello-4.8.4 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.8.3 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.7.6 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.8.2 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.9.0.rc1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.8.1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.7.5 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.8.0 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.8.0.rc2 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.7.4 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.8.0.rc1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.7.3 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.7.2 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.7.1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.7.0 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.7.0.rc2 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb