Sha256: 05fbd4b2a7506dfe02dd70026e87f886feab2e1d6033dcd381d86603c63b36a0

Contents?: true

Size: 501 Bytes

Versions: 14

Compression:

Stored size: 501 Bytes

Contents

module Actions
  module Katello
    module CapsuleContent
      class RemoveOrphans < Pulp::Abstract
        input_format do
          param :capsule_id
        end
        def plan(proxy)
          sequence do
            plan_action(Actions::Katello::CapsuleContent::RemoveUnneededRepos, proxy) unless proxy.pulp_master?
            plan_self(:capsule_id => proxy.id)
          end
        end

        def run
          pulp_resources.content.remove_orphans
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
katello-3.13.4 app/lib/actions/katello/capsule_content/remove_orphans.rb
katello-3.13.3 app/lib/actions/katello/capsule_content/remove_orphans.rb
katello-3.13.2 app/lib/actions/katello/capsule_content/remove_orphans.rb
katello-3.13.1 app/lib/actions/katello/capsule_content/remove_orphans.rb
katello-3.13.0 app/lib/actions/katello/capsule_content/remove_orphans.rb
katello-3.13.0.rc2.1 app/lib/actions/katello/capsule_content/remove_orphans.rb
katello-3.13.0.rc2 app/lib/actions/katello/capsule_content/remove_orphans.rb
katello-3.12.3 app/lib/actions/katello/capsule_content/remove_orphans.rb
katello-3.12.2 app/lib/actions/katello/capsule_content/remove_orphans.rb
katello-3.13.0.rc1 app/lib/actions/katello/capsule_content/remove_orphans.rb
katello-3.12.1 app/lib/actions/katello/capsule_content/remove_orphans.rb
katello-3.12.0 app/lib/actions/katello/capsule_content/remove_orphans.rb
katello-3.12.0.rc2 app/lib/actions/katello/capsule_content/remove_orphans.rb
katello-3.12.0.rc1 app/lib/actions/katello/capsule_content/remove_orphans.rb