foreman_remote_execution 13.2.7 → 14.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/foreman_remote_execution/locale/de/foreman_remote_execution.js +77 -77
- data/app/assets/javascripts/foreman_remote_execution/locale/en/foreman_remote_execution.js +1667 -2
- data/app/assets/javascripts/foreman_remote_execution/locale/en_GB/foreman_remote_execution.js +7 -7
- data/app/assets/javascripts/foreman_remote_execution/locale/es/foreman_remote_execution.js +33 -33
- data/app/assets/javascripts/foreman_remote_execution/locale/fr/foreman_remote_execution.js +131 -131
- data/app/assets/javascripts/foreman_remote_execution/locale/ja/foreman_remote_execution.js +131 -131
- data/app/assets/javascripts/foreman_remote_execution/locale/ka/foreman_remote_execution.js +38 -38
- data/app/assets/javascripts/foreman_remote_execution/locale/ko/foreman_remote_execution.js +16 -16
- data/app/assets/javascripts/foreman_remote_execution/locale/pt_BR/foreman_remote_execution.js +33 -33
- data/app/assets/javascripts/foreman_remote_execution/locale/ru/foreman_remote_execution.js +7 -7
- data/app/assets/javascripts/foreman_remote_execution/locale/zh_CN/foreman_remote_execution.js +134 -134
- data/app/assets/javascripts/foreman_remote_execution/locale/zh_TW/foreman_remote_execution.js +6 -6
- data/app/controllers/ui_job_wizard_controller.rb +1 -1
- data/app/lib/foreman_remote_execution/renderer_methods.rb +14 -0
- data/app/views/templates/script/convert2rhel_analyze.erb +1 -14
- data/config/initializers/inflections.rb +6 -0
- data/lib/foreman_remote_execution/engine.rb +243 -250
- data/lib/foreman_remote_execution/version.rb +1 -1
- data/locale/de/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/de/foreman_remote_execution.po +80 -81
- data/locale/en/foreman_remote_execution.po +1675 -0
- data/locale/en_GB/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/en_GB/foreman_remote_execution.po +7 -7
- data/locale/es/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/es/foreman_remote_execution.po +33 -33
- data/locale/fr/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/fr/foreman_remote_execution.po +132 -132
- data/locale/ja/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/ja/foreman_remote_execution.po +131 -131
- data/locale/ka/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/ka/foreman_remote_execution.po +38 -38
- data/locale/ko/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/ko/foreman_remote_execution.po +16 -16
- data/locale/pt_BR/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/pt_BR/foreman_remote_execution.po +33 -33
- data/locale/ru/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/ru/foreman_remote_execution.po +7 -7
- data/locale/zh_CN/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/zh_CN/foreman_remote_execution.po +134 -136
- data/locale/zh_TW/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/zh_TW/foreman_remote_execution.po +6 -6
- data/test/functional/ui_job_wizard_controller_test.rb +1 -1
- metadata +7 -6
- data/app/services/renderer_methods.rb +0 -12
data/app/assets/javascripts/foreman_remote_execution/locale/zh_TW/foreman_remote_execution.js
CHANGED
@@ -3,11 +3,11 @@
|
|
3
3
|
"locale_data": {
|
4
4
|
"foreman_remote_execution": {
|
5
5
|
"": {
|
6
|
-
"Project-Id-Version": "foreman_remote_execution
|
6
|
+
"Project-Id-Version": "foreman_remote_execution 9.0.1",
|
7
7
|
"Report-Msgid-Bugs-To": "",
|
8
8
|
"PO-Revision-Date": "2016-02-15 13:54+0000",
|
9
9
|
"Last-Translator": "FULL NAME <EMAIL@ADDRESS>",
|
10
|
-
"Language-Team": "Chinese (Taiwan) (http://
|
10
|
+
"Language-Team": "Chinese (Taiwan) (http://www.transifex.com/foreman/foreman/language/zh_TW/)",
|
11
11
|
"MIME-Version": "1.0",
|
12
12
|
"Content-Type": "text/plain; charset=UTF-8",
|
13
13
|
"Content-Transfer-Encoding": "8bit",
|
@@ -85,7 +85,7 @@
|
|
85
85
|
""
|
86
86
|
],
|
87
87
|
"Access denied": [
|
88
|
-
"
|
88
|
+
""
|
89
89
|
],
|
90
90
|
"Actions": [
|
91
91
|
"動作"
|
@@ -136,7 +136,7 @@
|
|
136
136
|
""
|
137
137
|
],
|
138
138
|
"Back": [
|
139
|
-
"
|
139
|
+
""
|
140
140
|
],
|
141
141
|
"Back to Job": [
|
142
142
|
"回到工作"
|
@@ -775,7 +775,7 @@
|
|
775
775
|
""
|
776
776
|
],
|
777
777
|
"Next": [
|
778
|
-
"
|
778
|
+
""
|
779
779
|
],
|
780
780
|
"No (override)": [
|
781
781
|
""
|
@@ -1553,7 +1553,7 @@
|
|
1553
1553
|
"您不能看到目前指定的範本。現在儲存表單會取消指定範本。"
|
1554
1554
|
],
|
1555
1555
|
"You are not authorized to perform this action.": [
|
1556
|
-
"
|
1556
|
+
""
|
1557
1557
|
],
|
1558
1558
|
"You have %s results to display. Showing first %s results": [
|
1559
1559
|
""
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# macros to fetch information about invoked jobs
|
4
|
+
module ForemanRemoteExecution
|
5
|
+
module RendererMethods
|
6
|
+
extend ActiveSupport::Concern
|
7
|
+
|
8
|
+
def find_job_invocation_by_id(job_id, preload: nil)
|
9
|
+
JobInvocation.preload(preload).find_by(id: job_id)
|
10
|
+
rescue ActiveRecord::NotFound => _e
|
11
|
+
raise ::Foreman::Exception.new(N_("Can't find Job Invocation for an id %s"), job_id)
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -5,20 +5,7 @@ model: JobTemplate
|
|
5
5
|
job_category: Convert 2 RHEL
|
6
6
|
provider_type: script
|
7
7
|
kind: job_template
|
8
|
-
template_inputs:
|
9
|
-
- name: ELS
|
10
|
-
required: false
|
11
|
-
input_type: user
|
12
|
-
description: Use an Extended Lifecycle Support (ELS) add-on subscription
|
13
|
-
advanced: false
|
14
|
-
value_type: plain
|
15
|
-
options: "yes\r\nno"
|
16
|
-
default: "no"
|
17
|
-
hidden_value: false
|
18
8
|
%>
|
19
|
-
<%-
|
20
|
-
els = input('ELS') == "yes" ? "--els" : ""
|
21
|
-
-%>
|
22
9
|
<% if @host.operatingsystem.family == 'Redhat' -%>
|
23
10
|
if ! [ $(id -u) -eq 0 ]; then
|
24
11
|
echo "You must run convert2rhel as a root user."
|
@@ -31,7 +18,7 @@ fi
|
|
31
18
|
|
32
19
|
export CONVERT2RHEL_THROUGH_FOREMAN=1
|
33
20
|
|
34
|
-
/usr/bin/convert2rhel analyze -y
|
21
|
+
/usr/bin/convert2rhel analyze -y
|
35
22
|
|
36
23
|
# Workaround for https://issues.redhat.com/browse/RHELC-1280
|
37
24
|
subscription-manager facts --update
|