Sha256: 58286f4c18215536629cdd27c7b91cdad87af3521002dd3285df92f0eb376b0d
Contents?: true
Size: 952 Bytes
Versions: 42
Compression:
Stored size: 952 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 def rescue_strategy Dynflow::Action::Rescue::Skip end end end end end end
Version data entries
42 entries across 42 versions & 1 rubygems