Sha256: 9967be58da361920fc5202079376d304ea5732361dbc2d06de70fc7532dbea71

Contents?: true

Size: 456 Bytes

Versions: 14

Compression:

Stored size: 456 Bytes

Contents

module Actions
  module Katello
    module CapsuleContent
      class RemoveUnneededRepos < Pulp::AbstractAsyncTask
        def plan(smart_proxy)
          plan_self(:smart_proxy_id => smart_proxy.id)
        end

        def invoke_external_task
          smart_proxy_service = ::Katello::Pulp::SmartProxyRepository.new(::SmartProxy.find(input[:smart_proxy_id]))
          smart_proxy_service.delete_orphaned_repos
        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_unneeded_repos.rb
katello-3.13.3 app/lib/actions/katello/capsule_content/remove_unneeded_repos.rb
katello-3.13.2 app/lib/actions/katello/capsule_content/remove_unneeded_repos.rb
katello-3.13.1 app/lib/actions/katello/capsule_content/remove_unneeded_repos.rb
katello-3.13.0 app/lib/actions/katello/capsule_content/remove_unneeded_repos.rb
katello-3.13.0.rc2.1 app/lib/actions/katello/capsule_content/remove_unneeded_repos.rb
katello-3.13.0.rc2 app/lib/actions/katello/capsule_content/remove_unneeded_repos.rb
katello-3.12.3 app/lib/actions/katello/capsule_content/remove_unneeded_repos.rb
katello-3.12.2 app/lib/actions/katello/capsule_content/remove_unneeded_repos.rb
katello-3.13.0.rc1 app/lib/actions/katello/capsule_content/remove_unneeded_repos.rb
katello-3.12.1 app/lib/actions/katello/capsule_content/remove_unneeded_repos.rb
katello-3.12.0 app/lib/actions/katello/capsule_content/remove_unneeded_repos.rb
katello-3.12.0.rc2 app/lib/actions/katello/capsule_content/remove_unneeded_repos.rb
katello-3.12.0.rc1 app/lib/actions/katello/capsule_content/remove_unneeded_repos.rb