Class: ForemanLeapp::Engine

Inherits:
Rails::Engine
  • Object
show all
Defined in:
lib/foreman_leapp/engine.rb

Class Method Summary collapse

Class Method Details

.register_rex_featuresObject



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# File 'lib/foreman_leapp/engine.rb', line 78

def self.register_rex_features
  RemoteExecutionFeature.register(
    :leapp_preupgrade,
    N_('Preupgrade check with Leapp'),
    description: N_('Upgradeability check for RHEL host'),
    host_action_button: true
  )

  RemoteExecutionFeature.register(
    :leapp_upgrade,
    N_('Upgrade with Leapp'),
    description: N_('Run Leapp upgrade job for RHEL host'),
    host_action_button: true
  )

  RemoteExecutionFeature.register(
    :leapp_remediation_plan,
    N_('Remediation plan'),
    description: N_('Run Remediation plan with Leapp'),
    host_action_button: false
  )
end