foreman_leapp 0.1.11 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/foreman_leapp/engine.rb +2 -7
- data/lib/foreman_leapp/version.rb +1 -1
- data/locale/de/LC_MESSAGES/foreman_leapp.mo +0 -0
- data/locale/de/foreman_leapp.po +141 -0
- data/locale/en/LC_MESSAGES/foreman_leapp.mo +0 -0
- data/locale/en/foreman_leapp.po +1 -1
- data/locale/foreman_leapp.pot +6 -6
- data/locale/ka/LC_MESSAGES/foreman_leapp.mo +0 -0
- data/locale/ka/foreman_leapp.po +137 -0
- data/package.json +6 -6
- data/webpack/components/PreupgradeReports/index.js +3 -10
- metadata +10 -6
- data/app/helpers/concerns/foreman_leapp/remote_execution_helper_extension.rb +0 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3173a33316597f24d209c062497bd965c93106c19edf76f1291425194cc79336
|
4
|
+
data.tar.gz: e446b3499164d5f8c23ec0eff250fac06944ee69c52f8f09c495364e63eb21f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3f32e6f6a49e3fc2c844bdb0ec68a7ddd48836122af5daa535cc5ad82f2535fd81999b9eb712ba9e0d2b77bef0a811bb92210103773a3735845379f34371d62
|
7
|
+
data.tar.gz: 004dd1b8eaa7ef27dff3d14986fe133a04511caf7af49eeac825dfa0a29dfa97690e1f136de5e03ca93adcb3152b75439bbdacbc9bcc20b5d19d01cb0264093c
|
data/lib/foreman_leapp/engine.rb
CHANGED
@@ -78,11 +78,6 @@ module ForemanLeapp
|
|
78
78
|
ForemanTasks.dynflow.config.eager_load_paths << File.join(ForemanLeapp::Engine.root, 'app/lib/actions')
|
79
79
|
end
|
80
80
|
|
81
|
-
initializer('foreman_leapp.extend_remote_execution',
|
82
|
-
after: 'foreman_leapp.require_foreman_remote_execution') do |_app|
|
83
|
-
RemoteExecutionHelper.prepend ForemanLeapp::RemoteExecutionHelperExtension
|
84
|
-
end
|
85
|
-
|
86
81
|
initializer 'foreman_leapp.apipie' do
|
87
82
|
Apipie.configuration.checksum_path += ['/api/']
|
88
83
|
end
|
@@ -92,14 +87,14 @@ module ForemanLeapp
|
|
92
87
|
:leapp_preupgrade,
|
93
88
|
N_('Preupgrade check with Leapp'),
|
94
89
|
description: N_('Upgradeability check for RHEL host'),
|
95
|
-
host_action_button:
|
90
|
+
host_action_button: true
|
96
91
|
)
|
97
92
|
|
98
93
|
RemoteExecutionFeature.register(
|
99
94
|
:leapp_upgrade,
|
100
95
|
N_('Upgrade with Leapp'),
|
101
96
|
description: N_('Run Leapp upgrade job for RHEL host'),
|
102
|
-
host_action_button:
|
97
|
+
host_action_button: true
|
103
98
|
)
|
104
99
|
|
105
100
|
RemoteExecutionFeature.register(
|
Binary file
|
@@ -0,0 +1,141 @@
|
|
1
|
+
# SOME DESCRIPTIVE TITLE.
|
2
|
+
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
3
|
+
# This file is distributed under the same license as the foreman_leapp package.
|
4
|
+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5
|
+
#
|
6
|
+
# Translators:
|
7
|
+
# Martin Zimmermann <martin.zimmermann@gmx.com>, 2022
|
8
|
+
# Ettore Atalan <atalanttore@googlemail.com>, 2022
|
9
|
+
# Wiederoder <stefanwiederoder@googlemail.com>, 2022
|
10
|
+
# Bryan Kearney <bryan.kearney@gmail.com>, 2022
|
11
|
+
# Lukas Kallies <github.com@luke-web.de>, 2022
|
12
|
+
#
|
13
|
+
msgid ""
|
14
|
+
msgstr ""
|
15
|
+
"Project-Id-Version: foreman_leapp 1.0.0\n"
|
16
|
+
"Report-Msgid-Bugs-To: \n"
|
17
|
+
"PO-Revision-Date: 2022-10-12 12:00+0000\n"
|
18
|
+
"Last-Translator: Lukas Kallies <github.com@luke-web.de>, 2022\n"
|
19
|
+
"Language-Team: German (https://www.transifex.com/foreman/teams/114/de/)\n"
|
20
|
+
"MIME-Version: 1.0\n"
|
21
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
22
|
+
"Content-Transfer-Encoding: 8bit\n"
|
23
|
+
"Language: de\n"
|
24
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
25
|
+
|
26
|
+
msgid "A Foreman plugin to support inplace RHEL upgrades with Leapp utility."
|
27
|
+
msgstr ""
|
28
|
+
|
29
|
+
msgid "Action with sub plans"
|
30
|
+
msgstr ""
|
31
|
+
|
32
|
+
msgid "All"
|
33
|
+
msgstr "Alle"
|
34
|
+
|
35
|
+
msgid "Command"
|
36
|
+
msgstr "Befehl"
|
37
|
+
|
38
|
+
msgid "Fix Selected"
|
39
|
+
msgstr "Behebe Auswahl"
|
40
|
+
|
41
|
+
msgid "Fix Type"
|
42
|
+
msgstr ""
|
43
|
+
|
44
|
+
msgid "Has Remediation?"
|
45
|
+
msgstr "Hat Sanierungsplan?"
|
46
|
+
|
47
|
+
msgid "High"
|
48
|
+
msgstr "Hoch"
|
49
|
+
|
50
|
+
msgid "Hint"
|
51
|
+
msgstr "Hinweis"
|
52
|
+
|
53
|
+
msgid "Host"
|
54
|
+
msgstr "Host"
|
55
|
+
|
56
|
+
msgid "Import Puppet classes"
|
57
|
+
msgstr ""
|
58
|
+
|
59
|
+
msgid "Import facts"
|
60
|
+
msgstr ""
|
61
|
+
|
62
|
+
msgid "Info"
|
63
|
+
msgstr "Info"
|
64
|
+
|
65
|
+
msgid "Inhibitor"
|
66
|
+
msgstr ""
|
67
|
+
|
68
|
+
msgid "Inhibitor?"
|
69
|
+
msgstr ""
|
70
|
+
|
71
|
+
msgid "Leapp preupgrade report"
|
72
|
+
msgstr ""
|
73
|
+
|
74
|
+
msgid "List Preupgrade reports"
|
75
|
+
msgstr ""
|
76
|
+
|
77
|
+
msgid "List Preupgrade reports for Job invocation"
|
78
|
+
msgstr ""
|
79
|
+
|
80
|
+
msgid "Low"
|
81
|
+
msgstr "Niedrig"
|
82
|
+
|
83
|
+
msgid "Medium"
|
84
|
+
msgstr "Medium"
|
85
|
+
|
86
|
+
msgid "Missing one of the required permissions: view_hosts"
|
87
|
+
msgstr "Eine der erforderlichen Berechtigungen fehlt: %s"
|
88
|
+
|
89
|
+
msgid "No"
|
90
|
+
msgstr "Nein"
|
91
|
+
|
92
|
+
msgid "No Preupgrade Report Available"
|
93
|
+
msgstr ""
|
94
|
+
|
95
|
+
msgid "Preupgrade check with Leapp"
|
96
|
+
msgstr ""
|
97
|
+
|
98
|
+
msgid "Preupgrade job"
|
99
|
+
msgstr ""
|
100
|
+
|
101
|
+
msgid "Remediation plan"
|
102
|
+
msgstr "Sanierungsplan"
|
103
|
+
|
104
|
+
msgid "Remote action:"
|
105
|
+
msgstr ""
|
106
|
+
|
107
|
+
msgid "Risk Factor"
|
108
|
+
msgstr "Risikofaktor"
|
109
|
+
|
110
|
+
msgid "Run Leapp upgrade job for RHEL host"
|
111
|
+
msgstr ""
|
112
|
+
|
113
|
+
msgid "Run Remediation plan with Leapp"
|
114
|
+
msgstr "Sanierungsplan mit Leapp ausführen"
|
115
|
+
|
116
|
+
msgid "Run Upgrade"
|
117
|
+
msgstr "Aktualisierung ausführen"
|
118
|
+
|
119
|
+
msgid "Show Preupgrade report"
|
120
|
+
msgstr ""
|
121
|
+
|
122
|
+
msgid "The preupgrade report could not be generated, check the job details for the reason"
|
123
|
+
msgstr ""
|
124
|
+
|
125
|
+
msgid "The preupgrade report will be available after the job finishes"
|
126
|
+
msgstr ""
|
127
|
+
|
128
|
+
msgid "This issue inhibits the upgrade."
|
129
|
+
msgstr ""
|
130
|
+
|
131
|
+
msgid "Title"
|
132
|
+
msgstr "Titel"
|
133
|
+
|
134
|
+
msgid "Upgrade with Leapp"
|
135
|
+
msgstr "Aktualisiere mit Leapp"
|
136
|
+
|
137
|
+
msgid "Upgradeability check for RHEL host"
|
138
|
+
msgstr ""
|
139
|
+
|
140
|
+
msgid "Yes"
|
141
|
+
msgstr "Ja"
|
Binary file
|
data/locale/en/foreman_leapp.po
CHANGED
data/locale/foreman_leapp.pot
CHANGED
@@ -8,8 +8,8 @@ msgid ""
|
|
8
8
|
msgstr ""
|
9
9
|
"Project-Id-Version: foreman_leapp 1.0.0\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date: 2022-
|
12
|
-
"PO-Revision-Date: 2022-
|
11
|
+
"POT-Creation-Date: 2022-11-24 18:59+0100\n"
|
12
|
+
"PO-Revision-Date: 2022-11-24 18:59+0100\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
@@ -166,19 +166,19 @@ msgid "Inhibitor?"
|
|
166
166
|
msgstr ""
|
167
167
|
|
168
168
|
#: action_names.rb:2
|
169
|
-
msgid "
|
169
|
+
msgid "Action with sub plans"
|
170
170
|
msgstr ""
|
171
171
|
|
172
172
|
#: action_names.rb:3
|
173
|
-
msgid "Import
|
173
|
+
msgid "Import facts"
|
174
174
|
msgstr ""
|
175
175
|
|
176
176
|
#: action_names.rb:4
|
177
|
-
msgid "Import
|
177
|
+
msgid "Import Puppet classes"
|
178
178
|
msgstr ""
|
179
179
|
|
180
180
|
#: action_names.rb:5
|
181
|
-
msgid "
|
181
|
+
msgid "Remote action:"
|
182
182
|
msgstr ""
|
183
183
|
|
184
184
|
#: action_names.rb:6
|
Binary file
|
@@ -0,0 +1,137 @@
|
|
1
|
+
# SOME DESCRIPTIVE TITLE.
|
2
|
+
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
3
|
+
# This file is distributed under the same license as the foreman_leapp package.
|
4
|
+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5
|
+
#
|
6
|
+
# Translators:
|
7
|
+
# NorwayFun <temuri.doghonadze@gmail.com>, 2022
|
8
|
+
#
|
9
|
+
msgid ""
|
10
|
+
msgstr ""
|
11
|
+
"Project-Id-Version: foreman_leapp 1.0.0\n"
|
12
|
+
"Report-Msgid-Bugs-To: \n"
|
13
|
+
"PO-Revision-Date: 2022-10-12 12:00+0000\n"
|
14
|
+
"Last-Translator: NorwayFun <temuri.doghonadze@gmail.com>, 2022\n"
|
15
|
+
"Language-Team: Georgian (https://www.transifex.com/foreman/teams/114/ka/)\n"
|
16
|
+
"MIME-Version: 1.0\n"
|
17
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
18
|
+
"Content-Transfer-Encoding: 8bit\n"
|
19
|
+
"Language: ka\n"
|
20
|
+
"Plural-Forms: nplurals=2; plural=(n!=1);\n"
|
21
|
+
|
22
|
+
msgid "A Foreman plugin to support inplace RHEL upgrades with Leapp utility."
|
23
|
+
msgstr ""
|
24
|
+
|
25
|
+
msgid "Action with sub plans"
|
26
|
+
msgstr ""
|
27
|
+
|
28
|
+
msgid "All"
|
29
|
+
msgstr "ყველა"
|
30
|
+
|
31
|
+
msgid "Command"
|
32
|
+
msgstr "ბრძანება"
|
33
|
+
|
34
|
+
msgid "Fix Selected"
|
35
|
+
msgstr "არჩეული გასწორება"
|
36
|
+
|
37
|
+
msgid "Fix Type"
|
38
|
+
msgstr "გასწორების ტიპი"
|
39
|
+
|
40
|
+
msgid "Has Remediation?"
|
41
|
+
msgstr "აქვს გაუქმება?"
|
42
|
+
|
43
|
+
msgid "High"
|
44
|
+
msgstr "მაღალი"
|
45
|
+
|
46
|
+
msgid "Hint"
|
47
|
+
msgstr "მინიშნება"
|
48
|
+
|
49
|
+
msgid "Host"
|
50
|
+
msgstr "ჰოსტი"
|
51
|
+
|
52
|
+
msgid "Import Puppet classes"
|
53
|
+
msgstr ""
|
54
|
+
|
55
|
+
msgid "Import facts"
|
56
|
+
msgstr ""
|
57
|
+
|
58
|
+
msgid "Info"
|
59
|
+
msgstr "ინფორმაცია"
|
60
|
+
|
61
|
+
msgid "Inhibitor"
|
62
|
+
msgstr "ინჰიბიტორი"
|
63
|
+
|
64
|
+
msgid "Inhibitor?"
|
65
|
+
msgstr "ინჰიბიტორი?"
|
66
|
+
|
67
|
+
msgid "Leapp preupgrade report"
|
68
|
+
msgstr "Leapp-ის განახლებისწინა ანგარიში"
|
69
|
+
|
70
|
+
msgid "List Preupgrade reports"
|
71
|
+
msgstr "განახლებისწინა ანგარიშების სია"
|
72
|
+
|
73
|
+
msgid "List Preupgrade reports for Job invocation"
|
74
|
+
msgstr "განახლებისწინა ანგარიშების სია დავალების ჩასაწოდებლად"
|
75
|
+
|
76
|
+
msgid "Low"
|
77
|
+
msgstr "დაბალი"
|
78
|
+
|
79
|
+
msgid "Medium"
|
80
|
+
msgstr "საშუალო"
|
81
|
+
|
82
|
+
msgid "Missing one of the required permissions: view_hosts"
|
83
|
+
msgstr "აკლია ერთ-ერთი საჭირო ნებართვა: view_hosts"
|
84
|
+
|
85
|
+
msgid "No"
|
86
|
+
msgstr "არა"
|
87
|
+
|
88
|
+
msgid "No Preupgrade Report Available"
|
89
|
+
msgstr "განახლებისწინა ანგარიში ხელმისაწვდომი არაა"
|
90
|
+
|
91
|
+
msgid "Preupgrade check with Leapp"
|
92
|
+
msgstr "განახლებისწინა შემოწმება Leapp-ით"
|
93
|
+
|
94
|
+
msgid "Preupgrade job"
|
95
|
+
msgstr ""
|
96
|
+
|
97
|
+
msgid "Remediation plan"
|
98
|
+
msgstr "გაუქმების გეგმა"
|
99
|
+
|
100
|
+
msgid "Remote action:"
|
101
|
+
msgstr ""
|
102
|
+
|
103
|
+
msgid "Risk Factor"
|
104
|
+
msgstr "რისკის ფაქტორი"
|
105
|
+
|
106
|
+
msgid "Run Leapp upgrade job for RHEL host"
|
107
|
+
msgstr ""
|
108
|
+
|
109
|
+
msgid "Run Remediation plan with Leapp"
|
110
|
+
msgstr "გაუქმების გეგმის Leapp-ით გაშვება"
|
111
|
+
|
112
|
+
msgid "Run Upgrade"
|
113
|
+
msgstr "განახლების გაშვება"
|
114
|
+
|
115
|
+
msgid "Show Preupgrade report"
|
116
|
+
msgstr "განახლებისწინა ანგარიშის ჩვენება"
|
117
|
+
|
118
|
+
msgid "The preupgrade report could not be generated, check the job details for the reason"
|
119
|
+
msgstr ""
|
120
|
+
|
121
|
+
msgid "The preupgrade report will be available after the job finishes"
|
122
|
+
msgstr "განახლებისწინა ანგარიში დავალების დასრულების შემდეგ იქნება ხელმისაწვდომი"
|
123
|
+
|
124
|
+
msgid "This issue inhibits the upgrade."
|
125
|
+
msgstr "ეს პრობლემა აჩერებს განახლებას."
|
126
|
+
|
127
|
+
msgid "Title"
|
128
|
+
msgstr "სათაური"
|
129
|
+
|
130
|
+
msgid "Upgrade with Leapp"
|
131
|
+
msgstr "Leapp-ით განახლება"
|
132
|
+
|
133
|
+
msgid "Upgradeability check for RHEL host"
|
134
|
+
msgstr ""
|
135
|
+
|
136
|
+
msgid "Yes"
|
137
|
+
msgstr "დიახ"
|
data/package.json
CHANGED
@@ -25,15 +25,15 @@
|
|
25
25
|
},
|
26
26
|
"homepage": "https://github.com/oamg/foreman_leapp",
|
27
27
|
"peerDependencies": {
|
28
|
-
"@theforeman/vendor": ">= 8.
|
28
|
+
"@theforeman/vendor": ">= 8.16.0"
|
29
29
|
},
|
30
30
|
"devDependencies": {
|
31
31
|
"@babel/core": "^7.7.0",
|
32
|
-
"@theforeman/builder": "^
|
33
|
-
"@theforeman/eslint-plugin-foreman": "
|
34
|
-
"@theforeman/stories": "^
|
35
|
-
"@theforeman/test": "^
|
36
|
-
"@theforeman/vendor-dev": "^
|
32
|
+
"@theforeman/builder": "^10.0",
|
33
|
+
"@theforeman/eslint-plugin-foreman": "^10.0",
|
34
|
+
"@theforeman/stories": "^10.0",
|
35
|
+
"@theforeman/test": "^10.0",
|
36
|
+
"@theforeman/vendor-dev": "^10.0",
|
37
37
|
"babel-eslint": "^10.0.0",
|
38
38
|
"eslint": "^6.8.0",
|
39
39
|
"jest-svg-transformer": "^1.0.0",
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import React, { useEffect
|
1
|
+
import React, { useEffect } from 'react';
|
2
2
|
import { useDispatch, useSelector } from 'react-redux';
|
3
3
|
import PropTypes from 'prop-types';
|
4
4
|
|
@@ -29,20 +29,13 @@ const WrappedPreupgradeReports = ({ url, newJobInvocationUrl }) => {
|
|
29
29
|
|
30
30
|
const reportsExpected = useSelector(state => selectReportsExpected(state));
|
31
31
|
|
32
|
-
const previousInvocationRef = useRef();
|
33
|
-
useEffect(() => {
|
34
|
-
previousInvocationRef.current = invocationPending;
|
35
|
-
});
|
36
|
-
|
37
|
-
const previousInvocationPending = previousInvocationRef.current;
|
38
|
-
|
39
32
|
const dispatch = useDispatch();
|
40
33
|
|
41
34
|
useEffect(() => {
|
42
|
-
if (
|
35
|
+
if (!invocationPending) {
|
43
36
|
dispatch(getPreupgradeReportsAction(url));
|
44
37
|
}
|
45
|
-
}, [dispatch, url, invocationPending
|
38
|
+
}, [dispatch, url, invocationPending]);
|
46
39
|
|
47
40
|
return (
|
48
41
|
<PreupgradeReports
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_leapp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Foreman Leapp team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: foreman_remote_execution
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 8.1.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 8.1.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: foreman_ansible
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -65,7 +65,6 @@ files:
|
|
65
65
|
- app/controllers/api/v2/concerns/api_authorizer.rb
|
66
66
|
- app/controllers/api/v2/preupgrade_reports_controller.rb
|
67
67
|
- app/controllers/preupgrade_reports_controller.rb
|
68
|
-
- app/helpers/concerns/foreman_leapp/remote_execution_helper_extension.rb
|
69
68
|
- app/helpers/foreman_leapp/hosts_helper.rb
|
70
69
|
- app/helpers/foreman_leapp/template_helper.rb
|
71
70
|
- app/lib/actions/preupgrade_job.rb
|
@@ -98,11 +97,16 @@ files:
|
|
98
97
|
- lib/tasks/foreman_leapp_tasks.rake
|
99
98
|
- locale/Makefile
|
100
99
|
- locale/action_names.rb
|
100
|
+
- locale/de/LC_MESSAGES/foreman_leapp.mo
|
101
|
+
- locale/de/foreman_leapp.po
|
102
|
+
- locale/en/LC_MESSAGES/foreman_leapp.mo
|
101
103
|
- locale/en/foreman_leapp.edit.po
|
102
104
|
- locale/en/foreman_leapp.po
|
103
105
|
- locale/en/foreman_leapp.po.time_stamp
|
104
106
|
- locale/foreman_leapp.pot
|
105
107
|
- locale/gemspec.rb
|
108
|
+
- locale/ka/LC_MESSAGES/foreman_leapp.mo
|
109
|
+
- locale/ka/foreman_leapp.po
|
106
110
|
- package.json
|
107
111
|
- test/factories/foreman_leapp_factories.rb
|
108
112
|
- test/functional/api/v2/preupgrade_reports_controller_test.rb
|
@@ -199,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
199
203
|
- !ruby/object:Gem::Version
|
200
204
|
version: '0'
|
201
205
|
requirements: []
|
202
|
-
rubygems_version: 3.
|
206
|
+
rubygems_version: 3.3.26
|
203
207
|
signing_key:
|
204
208
|
specification_version: 4
|
205
209
|
summary: A Foreman plugin for Leapp utility.
|
@@ -1,12 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module ForemanLeapp
|
4
|
-
module RemoteExecutionHelperExtension
|
5
|
-
def rex_host_features(*args)
|
6
|
-
super + [link_to(_('Preupgrade check with Leapp'),
|
7
|
-
new_job_invocation_path(host_ids: [args.first.id], feature: 'leapp_preupgrade')),
|
8
|
-
link_to(_('Upgrade with Leapp'),
|
9
|
-
new_job_invocation_path(host_ids: [args.first.id], feature: 'leapp_upgrade'))]
|
10
|
-
end
|
11
|
-
end
|
12
|
-
end
|