module ForemanRemoteExecutionCore
rubocop:enable Lint/HandleExceptions:
Constants
- VERSION
Public Class Methods
runner_class()
click to toggle source
# File lib/foreman_remote_execution_core.rb, line 16 def self.runner_class @runner_class ||= simulate? ? FakeScriptRunner : ScriptRunner end
simulate?()
click to toggle source
# File lib/foreman_remote_execution_core.rb, line 12 def self.simulate? %w(yes true 1).include? ENV.fetch('REX_SIMULATE', '').downcase end