Class: ForemanKernelCare::Engine

Inherits:
Rails::Engine
  • Object
show all
Defined in:
lib/foreman_kernel_care/remote_execution.rb,
lib/foreman_kernel_care/engine.rb

Overview

Dependencies related with the remote execution plugin

Class Method Summary collapse

Class Method Details

.register_rex_featureObject



12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'lib/foreman_kernel_care/remote_execution.rb', line 12

def self.register_rex_feature
  RemoteExecutionFeature.register(
    :update_kernel,
    N_('Run Update kernel'),
    :description => N_('Runs Update kernel')
  )

  RemoteExecutionFeature.register(
    :kernel_version,
    N_('Get patched kernel version'),
    :description => N_('Get patched kernel version')
  )
end