foreman_remote_execution 1.5.3 → 1.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/controllers/api/v2/job_templates_controller.rb +4 -6
- data/app/lib/actions/remote_execution/run_host_job.rb +2 -2
- data/app/lib/actions/remote_execution/run_hosts_job.rb +4 -0
- data/app/views/template_invocations/show.html.erb +2 -1
- 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 +19 -16
- data/locale/en/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/en/foreman_remote_execution.po +1 -1
- data/locale/en_GB/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/en_GB/foreman_remote_execution.po +5 -5
- data/locale/es/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/es/foreman_remote_execution.po +65 -63
- data/locale/foreman_remote_execution.pot +24 -24
- data/locale/fr/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/fr/foreman_remote_execution.po +74 -71
- data/locale/ja/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/ja/foreman_remote_execution.po +69 -66
- data/locale/ko/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/ko/foreman_remote_execution.po +15 -17
- data/locale/pt_BR/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/pt_BR/foreman_remote_execution.po +65 -63
- data/locale/ru/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/ru/foreman_remote_execution.po +11 -11
- data/locale/zh_CN/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/zh_CN/foreman_remote_execution.po +65 -63
- data/locale/zh_TW/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/zh_TW/foreman_remote_execution.po +12 -12
- data/test/functional/api/v2/job_templates_controller_test.rb +12 -0
- metadata +2 -2
Binary file
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# Translators:
|
6
6
|
msgid ""
|
7
7
|
msgstr ""
|
8
|
-
"Project-Id-Version:
|
8
|
+
"Project-Id-Version: foreman_remote_execution 1.5.3\n"
|
9
9
|
"Report-Msgid-Bugs-To: \n"
|
10
|
-
"PO-Revision-Date:
|
11
|
-
"Last-Translator:
|
10
|
+
"PO-Revision-Date: 2018-06-14 23:10+0000\n"
|
11
|
+
"Last-Translator: Dominic Cleal <dominic@cleal.org>\n"
|
12
12
|
"Language-Team: Chinese (Taiwan) (http://www.transifex.com/foreman/foreman/lang"
|
13
13
|
"uage/zh_TW/)\n"
|
14
14
|
"MIME-Version: 1.0\n"
|
@@ -18,7 +18,7 @@ msgstr ""
|
|
18
18
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
19
19
|
|
20
20
|
msgid "%s"
|
21
|
-
msgstr ""
|
21
|
+
msgstr "%s"
|
22
22
|
|
23
23
|
msgid "%s ago"
|
24
24
|
msgstr "%s 之前"
|
@@ -197,7 +197,7 @@ msgid "Dynamic Query"
|
|
197
197
|
msgstr "動態查詢"
|
198
198
|
|
199
199
|
msgid "Edit %s"
|
200
|
-
msgstr ""
|
200
|
+
msgstr "編輯 %s"
|
201
201
|
|
202
202
|
msgid "Edit Job Template"
|
203
203
|
msgstr "編輯工作範本"
|
@@ -290,7 +290,7 @@ msgid "How often the job should occur, in the cron format"
|
|
290
290
|
msgstr "工作多常發生,格式同 cron"
|
291
291
|
|
292
292
|
msgid "Import"
|
293
|
-
msgstr ""
|
293
|
+
msgstr "匯入"
|
294
294
|
|
295
295
|
msgid "Import Puppet classes"
|
296
296
|
msgstr "匯入 Puppet 類別"
|
@@ -407,7 +407,7 @@ msgid "Last execution succeeded"
|
|
407
407
|
msgstr "最後的執行成功"
|
408
408
|
|
409
409
|
msgid "Learn more about this in the documentation."
|
410
|
-
msgstr ""
|
410
|
+
msgstr "欲知更多,請參閱文件。"
|
411
411
|
|
412
412
|
msgid "List foreign input sets"
|
413
413
|
msgstr "列出外部輸入集"
|
@@ -470,7 +470,7 @@ msgid "Overview"
|
|
470
470
|
msgstr "概覽"
|
471
471
|
|
472
472
|
msgid "Overwrite"
|
473
|
-
msgstr ""
|
473
|
+
msgstr "覆寫"
|
474
474
|
|
475
475
|
msgid "Overwrite template if it already exists"
|
476
476
|
msgstr ""
|
@@ -593,7 +593,7 @@ msgid "SSH provider specific options"
|
|
593
593
|
msgstr "SSH 供應者特定選項"
|
594
594
|
|
595
595
|
msgid "Schedule"
|
596
|
-
msgstr ""
|
596
|
+
msgstr "排程"
|
597
597
|
|
598
598
|
msgid "Schedule Remote Job"
|
599
599
|
msgstr ""
|
@@ -868,7 +868,7 @@ msgid "User input"
|
|
868
868
|
msgstr "使用者輸入"
|
869
869
|
|
870
870
|
msgid "Value"
|
871
|
-
msgstr ""
|
871
|
+
msgstr "值"
|
872
872
|
|
873
873
|
msgid "Value for required input '%s' was not specified"
|
874
874
|
msgstr "所需輸入的值 '%s' 並未指定"
|
@@ -969,13 +969,13 @@ msgid "remove template input set"
|
|
969
969
|
msgstr "移除範本輸入集"
|
970
970
|
|
971
971
|
msgid "running"
|
972
|
-
msgstr ""
|
972
|
+
msgstr "執行中"
|
973
973
|
|
974
974
|
msgid "running %{percent}%%"
|
975
975
|
msgstr ""
|
976
976
|
|
977
977
|
msgid "seconds"
|
978
|
-
msgstr ""
|
978
|
+
msgstr "秒"
|
979
979
|
|
980
980
|
msgid "succeeded"
|
981
981
|
msgstr "已成功"
|
@@ -59,6 +59,18 @@ module Api
|
|
59
59
|
assert_response :unprocessable_entity
|
60
60
|
end
|
61
61
|
|
62
|
+
test 'should update effective user' do
|
63
|
+
template = { name: @template.name, job_category: @template.job_category,
|
64
|
+
template: @template.template, provider_type: 'SSH',
|
65
|
+
effective_user_attributes: {
|
66
|
+
value: 'nobody',
|
67
|
+
overridable: true,
|
68
|
+
current_user: false,
|
69
|
+
} }
|
70
|
+
put :update, params: { id: @template.to_param, job_template: template }
|
71
|
+
assert_response :ok
|
72
|
+
end
|
73
|
+
|
62
74
|
test 'should destroy' do
|
63
75
|
delete :destroy, params: { :id => @template.to_param }
|
64
76
|
assert_response :ok
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_remote_execution
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Foreman Remote Execution team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: deface
|