module ForemanRemoteExecution

Constants

DYNFLOW_QUEUE
VERSION

Public Class Methods

job_invocation_report_templates_select() click to toggle source
# File lib/foreman_remote_execution/engine.rb, line 363
def self.job_invocation_report_templates_select
  Hash[ReportTemplate.unscoped.joins(:template_inputs).where(template_inputs: TemplateInput.where(name: 'job_id')).map { |template| [template.name, template.name] }]
end
register_rex_feature() click to toggle source
# File lib/foreman_remote_execution/engine.rb, line 367
def self.register_rex_feature
  RemoteExecutionFeature.register(
    :puppet_run_host,
    N_('Run Puppet Once'),
    :description => N_('Perform a single Puppet run'),
    :host_action_button => true
  )
  RemoteExecutionFeature.register(
    :run_script,
    N_('Run Script'),
    :description => N_('Run a script')
  )
end