Sha256: b3873474b8867ba538d29fab329385aab10fa1bcd8843ccb506b8f45fc02d4aa
Contents?: true
Size: 876 Bytes
Versions: 20
Compression:
Stored size: 876 Bytes
Contents
module Actions module Katello module Host module PackageGroup class Install < Actions::EntryAction include Helpers::Presenter def plan(host, groups) Type! host, ::Host::Managed action_subject(host, :groups => groups) plan_action(Pulp::Consumer::ContentInstall, consumer_uuid: host.content_facet.uuid, type: 'package_group', args: groups) end def humanized_name _("Install package group") end def humanized_input [input[:groups].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