app/lib/actions/katello/host/upload_profiles.rb in katello-3.13.0.rc1 vs app/lib/actions/katello/host/upload_profiles.rb in katello-3.13.0.rc2
- old
+ new
@@ -2,9 +2,13 @@
module Katello
module Host
class UploadProfiles < Actions::EntryAction
middleware.use Actions::Middleware::KeepCurrentUser
+ def queue
+ ::Katello::HOST_TASKS_QUEUE
+ end
+
def plan(host, profile_string)
action_subject host
sequence do
plan_self(:host_id => host.id, :hostname => host.name, :profile_string => profile_string)