Sha256: b98c265ac5bd1d6280b9a4d22828390070b3f053e9faf2548887563130525846
Contents?: true
Size: 1.03 KB
Versions: 25
Compression:
Stored size: 1.03 KB
Contents
module Actions module Pulp module Repository class UpdateImporter < Pulp::Abstract input_format do param :repo_id param :id param :config param :capsule_id end def run # Update ssl options by themselves workaround for https://pulp.plan.io/issues/2727 ssl_ca_cert = input[:config].delete('ssl_ca_cert') ssl_client_cert = input[:config].delete('ssl_client_cert') ssl_client_key = input[:config].delete('ssl_client_key') output[:response] = pulp_resources.repository. update_importer(input[:repo_id], input[:id], :ssl_client_cert => ssl_client_cert, :ssl_client_key => ssl_client_key, :ssl_ca_cert => ssl_ca_cert) output[:response] = pulp_resources.repository. update_importer(*input.values_at(:repo_id, :id, :config)) end def run_progress_weight 0.01 end end end end end
Version data entries
25 entries across 25 versions & 1 rubygems