Sha256: 5e5a994737f87d19869ada4b2d9202ac46e47d143cdeeba3631ec47d2d67e28e
Contents?: true
Size: 594 Bytes
Versions: 78
Compression:
Stored size: 594 Bytes
Contents
module Actions module Pulp3 module Repository class UpdateRemote < Pulp3::AbstractAsyncTask def plan(repository, smart_proxy) if repository.root.url repository.backend_service(smart_proxy).create_test_remote if smart_proxy.pulp_primary? plan_self(:repository_id => repository.id, :smart_proxy_id => smart_proxy.id) end end def invoke_external_task repo = ::Katello::Repository.find(input[:repository_id]) repo.backend_service(smart_proxy).update_remote end end end end end
Version data entries
78 entries across 78 versions & 1 rubygems