module Katello

Constants

HOST_TASKS_QUEUE
VERSION

Public Class Methods

remote_execution_by_default?() click to toggle source
# File lib/katello/engine.rb, line 256
def self.remote_execution_by_default?
  self.with_katello_agent? ? Setting['remote_execution_by_default'] : true
end
with_ansible?() click to toggle source
# File lib/katello/engine.rb, line 260
def self.with_ansible?
  Foreman::Plugin.installed?("foreman_ansible")
end
with_katello_agent?() click to toggle source
# File lib/katello/engine.rb, line 252
def self.with_katello_agent?
  !!SETTINGS.dig(:katello, :agent, :enabled)
end
with_remote_execution?() click to toggle source

check whether foreman_remote_execution to integrate is available in the system

# File lib/katello/engine.rb, line 248
def self.with_remote_execution?
  Foreman::Plugin.installed?("foreman_remote_execution")
end