Sha256: 87d3a3e7dccb9def7ec5284f2d62d782ac6adfe715842d9b20df4d62d3eed392

Contents?: true

Size: 814 Bytes

Versions: 43

Compression:

Stored size: 814 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::DeleteOrphanRemotes, proxy)
                end
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
katello-4.6.2.1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.6.2 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.6.1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.7.0.rc1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.4.2.2 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.4.2.1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.4.2 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.5.1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.6.0 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.6.0.rc2 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.6.0.rc1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.5.0 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.5.0.rc2 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.4.1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.5.0.rc1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.4.0.2 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.4.0.1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.3.1 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.4.0 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
katello-4.4.0.rc2 app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb