Sha256: 2f68202ee3fd6cc8f8dc08fc322816bb22ef3b173375180dc270fb2a75ebd8f1

Contents?: true

Size: 1006 Bytes

Versions: 17

Compression:

Stored size: 1006 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)
                plan_action(Actions::Pulp3::OrphanCleanup::PurgeCompletedTasks, proxy)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
katello-4.16.0 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.15.1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.16.0.rc2 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.16.0.rc1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.14.3 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.14.2 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.15.0 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.15.0.rc2 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.15.0.rc1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.14.1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.14.0 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.14.0.rc3 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.14.0.rc2 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.14.0.rc1.1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.14.0.rc1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.13.1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.13.0 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb