Sha256: 2070cc1789aa799134885fe773bfc15506948beaaab1756d9456fa18b69ec011
Contents?: true
Size: 931 Bytes
Versions: 9
Compression:
Stored size: 931 Bytes
Contents
module Actions module Katello module System module Erratum class Install < Actions::EntryAction include Helpers::Presenter def plan(system, errata_ids) Type! system, ::Katello::System action_subject(system, :errata => errata_ids) plan_action(Pulp::Consumer::ContentInstall, consumer_uuid: system.uuid, type: 'erratum', args: errata_ids) end def humanized_name _("Install erratum") end def humanized_input [input[:errata].join(", ")] + super end def resource_locks :link end def presenter Helpers::Presenter::Delegated.new(self, planned_actions(Pulp::Consumer::ContentInstall)) end end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems