Sha256: 05153714264389d9cf8d3e5e107074e214572a225893b2f7b6d02449435f401c
Contents?: true
Size: 933 Bytes
Versions: 28
Compression:
Stored size: 933 Bytes
Contents
module Actions module Katello module Host module Erratum class Install < Actions::EntryAction include Helpers::Presenter def plan(host, errata_ids) Type! host, ::Host::Managed action_subject(host, :errata => errata_ids) plan_action(Pulp::Consumer::ContentInstall, consumer_uuid: host.content_facet.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
28 entries across 28 versions & 1 rubygems