Sha256: ee773bcc7abccb468e9e778a5b48dde85974c0cf1be653af5579099b8d1d6c56

Contents?: true

Size: 452 Bytes

Versions: 80

Compression:

Stored size: 452 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.find(input[:smart_proxy_id]))
          smart_proxy_service.delete_orphaned_repos
        end
      end
    end
  end
end

Version data entries

80 entries across 80 versions & 1 rubygems

Version Path
katello-4.2.2 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.2.1 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.2.0.1 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.1.4 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.0.3 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.2.0.1.rc3 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-3.18.5 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.2.0.1.rc2 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.2.0.rc2 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.1.3 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.2.0.rc1 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.0.2.1 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.1.2.1 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.0.2 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.1.2 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-3.18.4 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.1.1 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.1.0 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-4.0.1.2 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
katello-3.18.3.1 app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb