foreman_discovery 18.0.4 → 19.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/concerns/foreman/controller/parameters/discovered_host.rb +16 -4
- data/app/controllers/discovered_hosts_controller.rb +3 -0
- data/app/helpers/discovered_hosts_helper.rb +2 -3
- data/app/models/host/discovered.rb +6 -1
- data/app/services/foreman_discovery/subnet_suggestion.rb +8 -1
- data/app/views/discovered_hosts/welcome.html.erb +1 -1
- data/app/views/discovery_rules/welcome.html.erb +1 -1
- data/app/views/foreman_discovery/redhat_kexec.erb +2 -2
- data/lib/foreman_discovery/engine.rb +2 -2
- data/lib/foreman_discovery/version.rb +1 -1
- data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ca/foreman_discovery.edit.po +41 -41
- data/locale/ca/foreman_discovery.po +5 -5
- data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/de/foreman_discovery.edit.po +74 -73
- data/locale/de/foreman_discovery.po +38 -37
- data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/en/foreman_discovery.edit.po +36 -36
- data/locale/en/foreman_discovery.po +1 -1
- data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/en_GB/foreman_discovery.edit.po +38 -38
- data/locale/en_GB/foreman_discovery.po +2 -2
- data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/es/foreman_discovery.edit.po +39 -39
- data/locale/es/foreman_discovery.po +3 -3
- data/locale/foreman_discovery.pot +38 -38
- data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/fr/foreman_discovery.edit.po +39 -39
- data/locale/fr/foreman_discovery.po +3 -3
- data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/gl/foreman_discovery.edit.po +39 -39
- data/locale/gl/foreman_discovery.po +3 -3
- data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/it/foreman_discovery.edit.po +39 -39
- data/locale/it/foreman_discovery.po +3 -3
- data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ja/foreman_discovery.edit.po +39 -39
- data/locale/ja/foreman_discovery.po +3 -3
- data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ko/foreman_discovery.edit.po +39 -39
- data/locale/ko/foreman_discovery.po +3 -3
- data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/pt_BR/foreman_discovery.edit.po +39 -39
- data/locale/pt_BR/foreman_discovery.po +3 -3
- data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ru/foreman_discovery.edit.po +39 -39
- data/locale/ru/foreman_discovery.po +3 -3
- data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/sv_SE/foreman_discovery.edit.po +39 -39
- data/locale/sv_SE/foreman_discovery.po +3 -3
- data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/zh_CN/foreman_discovery.edit.po +39 -39
- data/locale/zh_CN/foreman_discovery.po +3 -3
- data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/zh_TW/foreman_discovery.edit.po +39 -39
- data/locale/zh_TW/foreman_discovery.po +3 -3
- data/test/unit/managed_extensions_test.rb +1 -1
- metadata +5 -5
@@ -5,11 +5,11 @@
|
|
5
5
|
# Translators:
|
6
6
|
msgid ""
|
7
7
|
msgstr ""
|
8
|
-
"Project-Id-Version: foreman_discovery
|
8
|
+
"Project-Id-Version: foreman_discovery 18.0.1\n"
|
9
9
|
"Report-Msgid-Bugs-To: \n"
|
10
|
-
"POT-Creation-Date: 2021-
|
11
|
-
"PO-Revision-Date: 2021-
|
12
|
-
"Last-Translator:
|
10
|
+
"POT-Creation-Date: 2021-11-25 10:15+0100\n"
|
11
|
+
"PO-Revision-Date: 2021-09-20 17:24+0000\n"
|
12
|
+
"Last-Translator: Transifex Bot <>\n"
|
13
13
|
"Language-Team: Chinese (Taiwan) (http://www.transifex.com/foreman/foreman/lang"
|
14
14
|
"uage/zh_TW/)\n"
|
15
15
|
"MIME-Version: 1.0\n"
|
@@ -118,7 +118,7 @@ msgstr ""
|
|
118
118
|
msgid "Execute rules against a discovered host"
|
119
119
|
msgstr ""
|
120
120
|
|
121
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:136 ../app/controllers/discovered_hosts_controller.rb:
|
121
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:136 ../app/controllers/discovered_hosts_controller.rb:163
|
122
122
|
msgid "Host %{host} was provisioned with rule %{rule}"
|
123
123
|
msgstr ""
|
124
124
|
|
@@ -126,7 +126,7 @@ msgstr ""
|
|
126
126
|
msgid "Unable to provision %{host}: %{errors}"
|
127
127
|
msgstr ""
|
128
128
|
|
129
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:
|
129
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:170
|
130
130
|
msgid "No rule found for host %s"
|
131
131
|
msgstr ""
|
132
132
|
|
@@ -134,11 +134,11 @@ msgstr ""
|
|
134
134
|
msgid "Execute rules against all currently discovered hosts"
|
135
135
|
msgstr ""
|
136
136
|
|
137
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:156 ../app/controllers/discovered_hosts_controller.rb:
|
137
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:156 ../app/controllers/discovered_hosts_controller.rb:176
|
138
138
|
msgid "Errors during auto provisioning: %s"
|
139
139
|
msgstr ""
|
140
140
|
|
141
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:159 ../app/controllers/discovered_hosts_controller.rb:
|
141
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:159 ../app/controllers/discovered_hosts_controller.rb:179
|
142
142
|
msgid "No discovered hosts to provision"
|
143
143
|
msgstr ""
|
144
144
|
|
@@ -158,7 +158,7 @@ msgstr ""
|
|
158
158
|
msgid "Rebooting all discovered hosts"
|
159
159
|
msgstr ""
|
160
160
|
|
161
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:221 ../app/controllers/discovered_hosts_controller.rb:
|
161
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:221 ../app/controllers/discovered_hosts_controller.rb:132
|
162
162
|
msgid "Discovered hosts are rebooting now"
|
163
163
|
msgstr ""
|
164
164
|
|
@@ -238,75 +238,75 @@ msgstr ""
|
|
238
238
|
msgid "No discovered hosts to reboot"
|
239
239
|
msgstr ""
|
240
240
|
|
241
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
241
|
+
#: ../app/controllers/discovered_hosts_controller.rb:66
|
242
242
|
msgid "Successfully provisioned %s"
|
243
243
|
msgstr ""
|
244
244
|
|
245
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
245
|
+
#: ../app/controllers/discovered_hosts_controller.rb:100
|
246
246
|
msgid "Facts refreshed for %s"
|
247
247
|
msgstr "%s 的詳情已刷新"
|
248
248
|
|
249
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
249
|
+
#: ../app/controllers/discovered_hosts_controller.rb:102
|
250
250
|
msgid "Failed to refresh facts for %s"
|
251
251
|
msgstr "刷新 %s 的詳情失敗"
|
252
252
|
|
253
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
253
|
+
#: ../app/controllers/discovered_hosts_controller.rb:105
|
254
254
|
msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
|
255
255
|
msgstr ""
|
256
256
|
|
257
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
257
|
+
#: ../app/controllers/discovered_hosts_controller.rb:112
|
258
258
|
msgid "Host of type %s can not be rebooted"
|
259
259
|
msgstr ""
|
260
260
|
|
261
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
261
|
+
#: ../app/controllers/discovered_hosts_controller.rb:116
|
262
262
|
msgid "Rebooting host %s"
|
263
263
|
msgstr ""
|
264
264
|
|
265
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
265
|
+
#: ../app/controllers/discovered_hosts_controller.rb:118
|
266
266
|
msgid "Failed to reboot host %s"
|
267
267
|
msgstr ""
|
268
268
|
|
269
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
269
|
+
#: ../app/controllers/discovered_hosts_controller.rb:121
|
270
270
|
msgid "Failed to reboot host %{hostname} with error %{error_message}"
|
271
271
|
msgstr ""
|
272
272
|
|
273
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
273
|
+
#: ../app/controllers/discovered_hosts_controller.rb:135
|
274
274
|
msgid "Failed to reboot hosts with error %s"
|
275
275
|
msgstr ""
|
276
276
|
|
277
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
277
|
+
#: ../app/controllers/discovered_hosts_controller.rb:153
|
278
278
|
msgid "Destroyed selected hosts"
|
279
279
|
msgstr "刪除選擇的主機"
|
280
280
|
|
281
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
281
|
+
#: ../app/controllers/discovered_hosts_controller.rb:155
|
282
282
|
msgid "The following hosts were not deleted: %s"
|
283
283
|
msgstr "下列主機尚未刪除:%s"
|
284
284
|
|
285
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
285
|
+
#: ../app/controllers/discovered_hosts_controller.rb:167
|
286
286
|
msgid "Failed to auto provision host %s: %s"
|
287
287
|
msgstr ""
|
288
288
|
|
289
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
289
|
+
#: ../app/controllers/discovered_hosts_controller.rb:195
|
290
290
|
msgid "Discovered hosts are provisioning now"
|
291
291
|
msgstr ""
|
292
292
|
|
293
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
293
|
+
#: ../app/controllers/discovered_hosts_controller.rb:280
|
294
294
|
msgid "Discovered host reported from unknown subnet, communication will not be proxied."
|
295
295
|
msgstr ""
|
296
296
|
|
297
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
297
|
+
#: ../app/controllers/discovered_hosts_controller.rb:285
|
298
298
|
msgid "Discovered hosts reported from unknown subnet are %s, communication will not be proxied."
|
299
299
|
msgstr ""
|
300
300
|
|
301
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
301
|
+
#: ../app/controllers/discovered_hosts_controller.rb:299
|
302
302
|
msgid "No hosts were found with that id or name"
|
303
303
|
msgstr "沒有找到擁有此 ID 或名稱的主機"
|
304
304
|
|
305
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
305
|
+
#: ../app/controllers/discovered_hosts_controller.rb:303
|
306
306
|
msgid "No hosts selected"
|
307
307
|
msgstr "未選擇主機"
|
308
308
|
|
309
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
309
|
+
#: ../app/controllers/discovered_hosts_controller.rb:309
|
310
310
|
msgid "Something went wrong while selecting hosts - %s"
|
311
311
|
msgstr "選擇主機時發生了錯誤 - %s"
|
312
312
|
|
@@ -378,7 +378,7 @@ msgstr ""
|
|
378
378
|
msgid "Provision"
|
379
379
|
msgstr "佈建"
|
380
380
|
|
381
|
-
#: ../app/helpers/discovery_rules_helper.rb:26 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:1 ../app/views/discovered_hosts/welcome.html.erb:8 ../lib/foreman_discovery/engine.rb:
|
381
|
+
#: ../app/helpers/discovery_rules_helper.rb:26 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:1 ../app/views/discovered_hosts/welcome.html.erb:8 ../lib/foreman_discovery/engine.rb:160 ../lib/foreman_discovery/engine.rb:175
|
382
382
|
msgid "Discovered Hosts"
|
383
383
|
msgstr ""
|
384
384
|
|
@@ -466,27 +466,27 @@ msgstr ""
|
|
466
466
|
msgid "Invalid facts: hash does not contain a valid value for any of the facts in the discovery_hostname setting: %s"
|
467
467
|
msgstr ""
|
468
468
|
|
469
|
-
#: ../app/models/host/discovered.rb:
|
469
|
+
#: ../app/models/host/discovered.rb:102
|
470
470
|
msgid "Facts could not be imported"
|
471
471
|
msgstr ""
|
472
472
|
|
473
|
-
#: ../app/models/host/discovered.rb:
|
473
|
+
#: ../app/models/host/discovered.rb:160
|
474
474
|
msgid "Could not get facts from proxy %{url}: %{error}"
|
475
475
|
msgstr ""
|
476
476
|
|
477
|
-
#: ../app/models/host/discovered.rb:
|
477
|
+
#: ../app/models/host/discovered.rb:178
|
478
478
|
msgid "Unable to perform reboot on %{name} (%{url}): %{msg}"
|
479
479
|
msgstr ""
|
480
480
|
|
481
|
-
#: ../app/models/host/discovered.rb:
|
481
|
+
#: ../app/models/host/discovered.rb:182 ../app/models/host/discovered.rb:205
|
482
482
|
msgid "Unable to perform %{action} on %{ips}"
|
483
483
|
msgstr ""
|
484
484
|
|
485
|
-
#: ../app/models/host/discovered.rb:
|
485
|
+
#: ../app/models/host/discovered.rb:201
|
486
486
|
msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
|
487
487
|
msgstr ""
|
488
488
|
|
489
|
-
#: ../app/models/host/discovered.rb:
|
489
|
+
#: ../app/models/host/discovered.rb:225
|
490
490
|
msgid "Invalid hostname: Could not normalize the hostname"
|
491
491
|
msgstr ""
|
492
492
|
|
@@ -988,7 +988,7 @@ msgstr "複製 %s"
|
|
988
988
|
msgid "Edit %s"
|
989
989
|
msgstr "編輯 %s"
|
990
990
|
|
991
|
-
#: ../app/views/discovery_rules/index.html.erb:1 ../lib/foreman_discovery/engine.rb:
|
991
|
+
#: ../app/views/discovery_rules/index.html.erb:1 ../lib/foreman_discovery/engine.rb:165
|
992
992
|
msgid "Discovery Rules"
|
993
993
|
msgstr ""
|
994
994
|
|
@@ -1056,19 +1056,19 @@ msgstr "主機"
|
|
1056
1056
|
msgid "Error message goes here"
|
1057
1057
|
msgstr ""
|
1058
1058
|
|
1059
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1059
|
+
#: ../lib/foreman_discovery/engine.rb:177
|
1060
1060
|
msgid "Discovery Kexec template"
|
1061
1061
|
msgstr ""
|
1062
1062
|
|
1063
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1063
|
+
#: ../lib/foreman_discovery/engine.rb:186
|
1064
1064
|
msgid "Discovery Proxy"
|
1065
1065
|
msgstr ""
|
1066
1066
|
|
1067
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1067
|
+
#: ../lib/foreman_discovery/engine.rb:187
|
1068
1068
|
msgid "Discovery Proxy to use within this subnet for managing connection to discovered hosts"
|
1069
1069
|
msgstr ""
|
1070
1070
|
|
1071
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1071
|
+
#: ../lib/foreman_discovery/engine.rb:188
|
1072
1072
|
msgid "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
|
1073
1073
|
msgstr ""
|
1074
1074
|
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# Translators:
|
6
6
|
msgid ""
|
7
7
|
msgstr ""
|
8
|
-
"Project-Id-Version: foreman_discovery
|
8
|
+
"Project-Id-Version: foreman_discovery 18.0.1\n"
|
9
9
|
"Report-Msgid-Bugs-To: \n"
|
10
|
-
"PO-Revision-Date: 2021-
|
11
|
-
"Last-Translator:
|
10
|
+
"PO-Revision-Date: 2021-09-20 17:24+0000\n"
|
11
|
+
"Last-Translator: Transifex Bot <>\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"
|
@@ -91,7 +91,7 @@ class ManagedExtensionsTest < ActiveSupport::TestCase
|
|
91
91
|
|
92
92
|
test "kexec template is correctly rendered" do
|
93
93
|
expected = {
|
94
|
-
"append" => "ks=http://foreman.some.host.fqdn/unattended/provision&static=yes inst.ks.sendmac ip=::::::none nameserver= ksdevice=bootif BOOTIF= nomodeset nokaslr nomodeset",
|
94
|
+
"append" => "inst.ks=http://foreman.some.host.fqdn/unattended/provision&static=yes inst.ks.sendmac ip=::::::none nameserver= ksdevice=bootif BOOTIF= nomodeset nokaslr nomodeset",
|
95
95
|
"extra" => []
|
96
96
|
}
|
97
97
|
assert @host.operatingsystem.respond_to?(:pxe_type)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_discovery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 19.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aditi Puntambekar
|
@@ -74,7 +74,7 @@ authors:
|
|
74
74
|
autorequire:
|
75
75
|
bindir: bin
|
76
76
|
cert_chain: []
|
77
|
-
date:
|
77
|
+
date: 2022-02-11 00:00:00.000000000 Z
|
78
78
|
dependencies: []
|
79
79
|
description: MaaS Discovery Plugin engine for Foreman
|
80
80
|
email: gsutclif@redhat.com
|
@@ -362,10 +362,10 @@ test_files:
|
|
362
362
|
- test/unit/lldp_neighbors_test.rb
|
363
363
|
- test/unit/discovery_rule_test.rb
|
364
364
|
- test/unit/fact_to_category_resolver_test.rb
|
365
|
-
- test/unit/managed_extensions_test.rb
|
366
|
-
- test/unit/host_discovered_test.rb
|
367
|
-
- test/unit/discovered_extensions_test.rb
|
368
365
|
- test/unit/discovery_attribute_set_test.rb
|
369
366
|
- test/unit/fact_parser_test.rb
|
367
|
+
- test/unit/discovered_extensions_test.rb
|
368
|
+
- test/unit/host_discovered_test.rb
|
369
|
+
- test/unit/managed_extensions_test.rb
|
370
370
|
- test/test_helper_discovery.rb
|
371
371
|
- test/test_plugin_helper.rb
|