Sha256: 4f9943540b4cb4f12aabe105c257b25a675ed6f1f1bf67d76f7462996b011efd

Contents?: true

Size: 461 Bytes

Versions: 35

Compression:

Stored size: 461 Bytes

Contents

module Actions
  module Pulp
    module OrphanCleanup
      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.unscoped.find(input[:smart_proxy_id]))
          smart_proxy_service.delete_orphaned_repos
        end
      end
    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
katello-4.7.6 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.7.5 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.7.4 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.7.3 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.7.2 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.7.1 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.6.2.1 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.6.2 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.7.0 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.6.1 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.7.0.rc2 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.7.0.rc1 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.4.2.2 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.4.2.1 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.4.2 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.5.1 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.6.0 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.6.0.rc2 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.6.0.rc1 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.5.0 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb