module Katello
Constants
- HOST_TASKS_QUEUE
- VERSION
Public Class Methods
pulp_server()
click to toggle source
# File lib/katello.rb, line 30 def self.pulp_server Katello::Pulp::Server.config(::SmartProxy.pulp_primary.url + '/pulp/api/v2/', User.remote_user) end
remote_execution_by_default?()
click to toggle source
# File lib/katello/engine.rb, line 255 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 259 def self.with_ansible? Foreman::Plugin.installed?("foreman_ansible") end
with_katello_agent?()
click to toggle source
# File lib/katello/engine.rb, line 251 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 247 def self.with_remote_execution? Foreman::Plugin.installed?("foreman_remote_execution") end