Sha256: c161252da4697cd4efb3610b5c172fe258f08deb69a8a7e590d68a3e2ac22802
Contents?: true
Size: 636 Bytes
Versions: 134
Compression:
Stored size: 636 Bytes
Contents
module Actions module Katello module Applicability module Host class Generate < Actions::EntryAction # This should be run through Katello::Events::GenerateHostApplicability input_format do param :host_id, Integer end def run content_facet = ::Host.find(input[:host_id]).content_facet content_facet.calculate_and_import_applicability end def resource_locks :link end def humanized_name _("Generate host applicability") end end end end end end
Version data entries
134 entries across 134 versions & 1 rubygems