Sha256: bfc384a56da3f86f1ea1c178db2bc46a3fe4af6cfe16574371ef42a130ecb07f

Contents?: true

Size: 919 Bytes

Versions: 17

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)
                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
                plan_action(Actions::Pulp3::OrphanCleanup::RemoveOrphans, proxy)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
katello-4.12.1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.13.0.rc1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.12.0 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.12.0.rc3 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.12.0.rc2 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.12.0.rc1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.11.1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.11.0 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.11.0.rc2 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.11.0.rc1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.10.0 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.9.2 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.10.0.rc2 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.10.0.rc1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.9.1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.9.0 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.9.0.rc2 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb