Sha256: 0a1d818099ce347888c32281cecb98a070b9680504abadc405e2b542b9b7b7c9
Contents?: true
Size: 521 Bytes
Versions: 3
Compression:
Stored size: 521 Bytes
Contents
module Actions module Pulp3 module AlternateContentSource class UpdateRemote < Pulp3::AbstractAsyncTask def plan(acs, smart_proxy) acs.backend_service(smart_proxy).create_test_remote plan_self(:acs_id => acs.id, :smart_proxy_id => smart_proxy.id) end def invoke_external_task acs = ::Katello::AlternateContentSource.find(input[:acs_id]) output[:response] = acs.backend_service(smart_proxy).update_remote end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems