Sha256: 174e51baa9ddd141152d326e258045f310f469aa48ab4a55ea657e833d42f3ba
Contents?: true
Size: 865 Bytes
Versions: 20
Compression:
Stored size: 865 Bytes
Contents
module Actions module Katello module Host module Package class Install < Actions::EntryAction include Helpers::Presenter def plan(host, packages) Type! host, ::Host::Managed action_subject(host, :packages => packages) plan_action(Pulp::Consumer::ContentInstall, consumer_uuid: host.content_facet.uuid, type: 'rpm', args: packages) end def humanized_name _("Install package") end def humanized_input [input[:packages].join(", ")] + super end def presenter Helpers::Presenter::Delegated.new(self, planned_actions(Pulp::Consumer::ContentInstall)) end end end end end end
Version data entries
20 entries across 20 versions & 1 rubygems