Sha256: 6c10e9c66e39f814cef8e32a39cda886c9316e879489b3984cdace8913f2ec06
Contents?: true
Size: 679 Bytes
Versions: 57
Compression:
Stored size: 679 Bytes
Contents
module Actions module Katello module AlternateContentSource class Refresh < Actions::EntryAction def plan(acs) action_subject(acs) concurrence do acs.smart_proxy_alternate_content_sources.each do |smart_proxy_acs| plan_action(Pulp3::Orchestration::AlternateContentSource::Refresh, smart_proxy_acs) end end plan_self(acs_id: acs.id) end def finalize ::Katello::AlternateContentSource.find_by(id: input[:acs_id])&.audit_refresh end def humanized_name _("Refresh Alternate Content Source") end end end end end
Version data entries
57 entries across 57 versions & 1 rubygems