app/lib/actions/katello/host/generate_applicability.rb in katello-3.13.0.rc1 vs app/lib/actions/katello/host/generate_applicability.rb in katello-3.13.0.rc2
- old
+ new
@@ -1,8 +1,12 @@
module Actions
module Katello
module Host
class GenerateApplicability < Actions::Base
+ def queue
+ ::Katello::HOST_TASKS_QUEUE
+ end
+
def plan(hosts, use_queue = true)
uuids = hosts.map { |host| host.content_facet.try(:uuid) }.compact
unless uuids.empty?
plan_action(Pulp::Consumer::GenerateApplicability, :uuids => uuids)
plan_self(:host_ids => hosts.map(&:id), :use_queue => use_queue)