foreman_discovery 16.0.0 → 16.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/api/v2/discovered_hosts_controller.rb +24 -11
  3. data/app/controllers/api/v2/discovery_rules_controller.rb +1 -1
  4. data/app/controllers/discovered_hosts_controller.rb +5 -3
  5. data/app/controllers/discovery_rules_controller.rb +1 -1
  6. data/app/models/discovery_rule.rb +1 -1
  7. data/app/models/host/discovered.rb +52 -34
  8. data/app/models/host/managed_extensions.rb +2 -2
  9. data/app/models/setting/discovered.rb +3 -1
  10. data/app/services/foreman_discovery/host_converter.rb +15 -7
  11. data/app/services/foreman_discovery/host_fact_importer.rb +10 -0
  12. data/app/services/foreman_discovery/import_hooks/subnet_and_taxonomy.rb +2 -0
  13. data/app/services/foreman_discovery/node_api/node_resource.rb +1 -0
  14. data/app/views/api/v2/discovery_rules/create.json.rabl +3 -0
  15. data/app/views/discovered_hosts/_discovered_host_modal.html.erb +0 -2
  16. data/app/views/discovered_hosts/welcome.html.erb +15 -9
  17. data/app/views/discovery_rules/index.html.erb +1 -1
  18. data/app/views/foreman_discovery/debian_kexec.erb +3 -2
  19. data/app/views/foreman_discovery/redhat_kexec.erb +2 -1
  20. data/db/migrate/20150512150432_remove_old_discovery_reader_permissions.rb +1 -1
  21. data/db/migrate/20151023144501_regenerate_red_hat_kexec.rb +1 -1
  22. data/db/migrate/20180412124505_add_priority_score_to_discovery_rules.rb +1 -1
  23. data/extra/discover-host +14 -8
  24. data/lib/foreman_discovery/engine.rb +5 -4
  25. data/lib/foreman_discovery/version.rb +1 -1
  26. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  27. data/locale/ca/foreman_discovery.edit.po +195 -252
  28. data/locale/ca/foreman_discovery.po +40 -17
  29. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  30. data/locale/de/foreman_discovery.edit.po +201 -257
  31. data/locale/de/foreman_discovery.po +46 -23
  32. data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
  33. data/locale/en/foreman_discovery.edit.po +141 -111
  34. data/locale/en/foreman_discovery.po +36 -13
  35. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  36. data/locale/en_GB/foreman_discovery.edit.po +205 -254
  37. data/locale/en_GB/foreman_discovery.po +42 -19
  38. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  39. data/locale/es/foreman_discovery.edit.po +209 -258
  40. data/locale/es/foreman_discovery.po +46 -23
  41. data/locale/foreman_discovery.pot +150 -117
  42. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  43. data/locale/fr/foreman_discovery.edit.po +203 -255
  44. data/locale/fr/foreman_discovery.po +44 -21
  45. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  46. data/locale/gl/foreman_discovery.edit.po +190 -250
  47. data/locale/gl/foreman_discovery.po +38 -15
  48. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  49. data/locale/it/foreman_discovery.edit.po +193 -253
  50. data/locale/it/foreman_discovery.po +41 -18
  51. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  52. data/locale/ja/foreman_discovery.edit.po +207 -256
  53. data/locale/ja/foreman_discovery.po +44 -21
  54. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  55. data/locale/ko/foreman_discovery.edit.po +196 -255
  56. data/locale/ko/foreman_discovery.po +44 -21
  57. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  58. data/locale/pt_BR/foreman_discovery.edit.po +205 -256
  59. data/locale/pt_BR/foreman_discovery.po +44 -21
  60. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  61. data/locale/ru/foreman_discovery.edit.po +199 -257
  62. data/locale/ru/foreman_discovery.po +44 -21
  63. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  64. data/locale/sv_SE/foreman_discovery.edit.po +190 -250
  65. data/locale/sv_SE/foreman_discovery.po +38 -15
  66. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  67. data/locale/zh_CN/foreman_discovery.edit.po +207 -256
  68. data/locale/zh_CN/foreman_discovery.po +44 -21
  69. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  70. data/locale/zh_TW/foreman_discovery.edit.po +196 -254
  71. data/locale/zh_TW/foreman_discovery.po +42 -19
  72. data/package.json +39 -0
  73. data/test/facts/only-ipv6.json +205 -0
  74. data/test/facts/skylake-ipv6.json +223 -0
  75. data/test/functional/api/v2/settings_controller_test.rb +2 -2
  76. data/test/functional/discovered_hosts_controller_test.rb +16 -7
  77. data/test/functional/discovery_rules_controller_test.rb +1 -1
  78. data/test/unit/discovered_extensions_test.rb +6 -1
  79. data/test/unit/host_discovered_test.rb +0 -16
  80. data/test/unit/managed_extensions_test.rb +1 -0
  81. data/webpack/index.js +18 -0
  82. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js +28 -0
  83. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/index.js +1 -0
  84. data/webpack/src/ForemanDiscovery/DiscoveredHosts/index.js +6 -0
  85. data/webpack/src/reducers.js +7 -0
  86. metadata +42 -28
@@ -9,15 +9,15 @@
9
9
  # Ettore Atalan <atalanttore@googlemail.com>, 2014-2017
10
10
  # Lukáš Zapletal, 2015
11
11
  # Martin Zimmermann <martin.zimmermann@gmx.com>, 2018
12
- # simon11 <simon.stieger.98@live.de>, 2014
13
- # simon11 <simon.stieger.98@live.de>, 2014
12
+ # simon11 <transifex@stieger.co>, 2014
13
+ # simon11 <transifex@stieger.co>, 2014
14
14
  # stbenjam <stephen@redhat.com>, 2016
15
15
  msgid ""
16
16
  msgstr ""
17
- "Project-Id-Version: foreman_discovery 15.1.0\n"
17
+ "Project-Id-Version: foreman_discovery 16.2.0\n"
18
18
  "Report-Msgid-Bugs-To: \n"
19
- "PO-Revision-Date: 2019-10-22 20:43+0000\n"
20
- "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>\n"
19
+ "PO-Revision-Date: 2020-05-26 17:21+0000\n"
20
+ "Last-Translator: Transifex Bot <>\n"
21
21
  "Language-Team: German (http://www.transifex.com/foreman/foreman/language/de/)\n"
22
22
  "MIME-Version: 1.0\n"
23
23
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -41,7 +41,7 @@ msgid "A summary of discovered hosts"
41
41
  msgstr "Eine Zusammenfassung der entdeckten Hosts"
42
42
 
43
43
  msgid "Action with sub plans"
44
- msgstr "Aktion mit Unterplänen"
44
+ msgstr ""
45
45
 
46
46
  msgid "Actions"
47
47
  msgstr "Aktionen"
@@ -145,6 +145,11 @@ msgstr "Deaktivieren"
145
145
  msgid "Disable rule '%s'?"
146
146
  msgstr "Regel '%s' deaktivieren?"
147
147
 
148
+ msgid "Discovered Host"
149
+ msgid_plural "Discovered Hosts"
150
+ msgstr[0] ""
151
+ msgstr[1] ""
152
+
148
153
  msgid "Discovered Hosts"
149
154
  msgstr "Entdeckte Hosts"
150
155
 
@@ -326,6 +331,12 @@ msgstr[1] ""
326
331
  msgid "Host of type %s can not be rebooted"
327
332
  msgstr "Host vom Typ %s kann nicht neu gestartet werden"
328
333
 
334
+ msgid "Host's owner type"
335
+ msgstr ""
336
+
337
+ msgid "Host's parameters (array or indexed hash)"
338
+ msgstr ""
339
+
329
340
  msgid "Hostname facts"
330
341
  msgstr "Hostnamenfakten"
331
342
 
@@ -375,10 +386,10 @@ msgid "Image API returned HTTP/%{code} with '%{body}"
375
386
  msgstr "Image API gibt HTTP/%{code} mit '%{body} zurück"
376
387
 
377
388
  msgid "Import Puppet classes"
378
- msgstr "Puppet-Klassen importieren"
389
+ msgstr ""
379
390
 
380
391
  msgid "Import facts"
381
- msgstr "Fakten importieren"
392
+ msgstr ""
382
393
 
383
394
  msgid "In addition to @host attribute function rand for random integers is available. Examples:"
384
395
  msgstr ""
@@ -413,9 +424,6 @@ msgstr "Kexec Vorlage ist nicht dem Betriebssystem zugeordnet"
413
424
  msgid "Last Facts Upload"
414
425
  msgstr "Letzter Fakten-Upload"
415
426
 
416
- msgid "Learn more about this in the documentation."
417
- msgstr "Mehr dazu in der Dokumentation."
418
-
419
427
  msgid "List all discovered hosts"
420
428
  msgstr "Alle entdeckten Hosts auflisten"
421
429
 
@@ -470,6 +478,9 @@ msgstr "N/A"
470
478
  msgid "Name"
471
479
  msgstr "Name"
472
480
 
481
+ msgid "Name of the parameter"
482
+ msgstr ""
483
+
473
484
  msgid "Network"
474
485
  msgstr "Netzwerk"
475
486
 
@@ -488,9 +499,6 @@ msgstr "Keine entdeckten Hosts verfügbar"
488
499
  msgid "No discovered hosts for the selected period"
489
500
  msgstr "Keine entdeckten Hosts für den ausgewählten Zeitraum"
490
501
 
491
- msgid "No discovered hosts found in this context."
492
- msgstr "Keine entdeckten Hosts gefunden in diesem Kontext."
493
-
494
502
  msgid "No discovered hosts to provision"
495
503
  msgstr "Keine entdeckten Hosts zur Bereitstellung"
496
504
 
@@ -533,6 +541,9 @@ msgstr ""
533
541
  msgid "PXELinux template to be used when pinning a host to discovery"
534
542
  msgstr ""
535
543
 
544
+ msgid "Parameter value"
545
+ msgstr ""
546
+
536
547
  msgid "Please Confirm"
537
548
  msgstr "Bitte bestätigen"
538
549
 
@@ -597,7 +608,7 @@ msgid "Reloading kernel on %s"
597
608
  msgstr "Kernel auf %s wird neu geladen"
598
609
 
599
610
  msgid "Remote action:"
600
- msgstr "Entfernte Aktion:"
611
+ msgstr ""
601
612
 
602
613
  msgid "Reported in the last 7 days"
603
614
  msgstr "Berichtet in den letzten 7 Tagen"
@@ -680,15 +691,15 @@ msgstr "Die folgenden Hosts wurden nicht gelöscht: %s"
680
691
  msgid "This might take a while, as all hosts, facts and reports will be destroyed as well"
681
692
  msgstr "Dieser Vorgang kann eine Weile dauern, da alle Hosts, Fakten und Berichte ebenfalls gelöscht werden"
682
693
 
683
- msgid "This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
684
- msgstr ""
685
-
686
694
  msgid "Type"
687
695
  msgstr "Typ"
688
696
 
689
697
  msgid "Type of name generator"
690
698
  msgstr "Typ des Namensgenerators"
691
699
 
700
+ msgid "Type of value"
701
+ msgstr ""
702
+
692
703
  msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
693
704
  msgstr "UUID zum Tracken des Status der Orchestrierungsaufgaben, GET /api/orchestration/:UUID/tasks"
694
705
 
@@ -698,15 +709,18 @@ msgstr "Keine Entdeckungsregel gefunden, kein Host bereitgestellt (Berechtigunge
698
709
  msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
699
710
  msgstr ""
700
711
 
701
- msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
702
- msgstr "kexec kann nicht auf %{name} über %{url} ausgeführt werden: %{msg}"
712
+ msgid "Unable to perform %{action} on %{ips}"
713
+ msgstr ""
714
+
715
+ msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
716
+ msgstr ""
717
+
718
+ msgid "Unable to perform reboot on %{name} (%{url}): %{msg}"
719
+ msgstr ""
703
720
 
704
721
  msgid "Unable to provision %{host}: %{errors}"
705
722
  msgstr "%{host} kann nicht bereitgestellt werden: %{errors} "
706
723
 
707
- msgid "Unable to reboot %{name} via %{url}: %{msg}"
708
- msgstr "%{name} kann nicht über %{url} neu gestartet werden: %{msg}"
709
-
710
724
  msgid "Update a rule"
711
725
  msgstr "Regel aktualisieren"
712
726
 
@@ -770,6 +784,15 @@ msgstr "Abfrage zur Übereinstimmung mit entdeckten Hosts für die angegebene Re
770
784
  msgid "represents rule name shown to the users"
771
785
  msgstr "repräsentiert den Regelnamen, der Benutzern angezeigt wird"
772
786
 
787
+ msgid "required if host is managed and custom partition has not been defined"
788
+ msgstr ""
789
+
790
+ msgid "required if host is managed and value is not inherited from host group"
791
+ msgstr ""
792
+
793
+ msgid "required if not imaged based provisioning and host is managed and value is not inherited from host group"
794
+ msgstr ""
795
+
773
796
  msgid "required if value is not inherited from host group or default password in settings"
774
797
  msgstr "erforderlich, falls kein Wert von Hostgruppe geerbt wird oder es nicht das Standardpasswort in Einstellungen ist"
775
798
 
@@ -2,7 +2,7 @@
2
2
  # This file is distributed under the same license as the foreman_discovery package.
3
3
  msgid ""
4
4
  msgstr ""
5
- "Project-Id-Version: foreman_discovery 15.1.0\n"
5
+ "Project-Id-Version: foreman_discovery 16.2.0\n"
6
6
  "Report-Msgid-Bugs-To: foreman-dev@googlegroups.com\n"
7
7
  "PO-Revision-Date: 2015-12-27 01:18+0000\n"
8
8
  "Last-Translator: \n"
@@ -36,7 +36,7 @@ msgstr ""
36
36
  msgid "Show a discovered host"
37
37
  msgstr ""
38
38
 
39
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:37 ../app/controllers/api/v2/discovered_hosts_controller.rb:79
39
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:37 ../app/controllers/api/v2/discovered_hosts_controller.rb:85
40
40
  msgid "DHCP filename option (Grub2 or PXELinux by default)"
41
41
  msgstr ""
42
42
 
@@ -48,6 +48,10 @@ msgstr ""
48
48
  msgid "Provision a discovered host"
49
49
  msgstr ""
50
50
 
51
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:54 ../app/controllers/api/v2/discovered_hosts_controller.rb:57 ../app/controllers/api/v2/discovered_hosts_controller.rb:58 ../app/controllers/api/v2/discovered_hosts_controller.rb:61 ../app/controllers/api/v2/discovered_hosts_controller.rb:64
52
+ msgid "required if host is managed and value is not inherited from host group"
53
+ msgstr ""
54
+
51
55
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:55
52
56
  msgid "not required if using a subnet with DHCP proxy"
53
57
  msgstr ""
@@ -56,71 +60,99 @@ msgstr ""
56
60
  msgid "not required if it's a virtual machine"
57
61
  msgstr ""
58
62
 
59
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:76
63
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:62
64
+ msgid "required if not imaged based provisioning and host is managed and value is not inherited from host group"
65
+ msgstr ""
66
+
67
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:63
68
+ msgid "required if host is managed and custom partition has not been defined"
69
+ msgstr ""
70
+
71
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:69
72
+ msgid "Host's owner type"
73
+ msgstr ""
74
+
75
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:72
76
+ msgid "Host's parameters (array or indexed hash)"
77
+ msgstr ""
78
+
79
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:73
80
+ msgid "Name of the parameter"
81
+ msgstr ""
82
+
83
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:74
84
+ msgid "Parameter value"
85
+ msgstr ""
86
+
87
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:75
88
+ msgid "Type of value"
89
+ msgstr ""
90
+
91
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:82
60
92
  msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
61
93
  msgstr ""
62
94
 
63
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:78
95
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:84
64
96
  msgid "required if value is not inherited from host group or default password in settings"
65
97
  msgstr ""
66
98
 
67
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:89
99
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:95
68
100
  msgid "Delete a discovered host"
69
101
  msgstr ""
70
102
 
71
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:96
103
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:102
72
104
  msgid "Upload facts for a host, creating the host if required"
73
105
  msgstr ""
74
106
 
75
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:97
107
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:103
76
108
  msgid "hash containing facts for the host with minimum set of facts: discovery_bootif, macaddress_eth0, ipaddress, ipaddress_eth0, interfaces: eth0 (example in case primary interface is named eth0)"
77
109
  msgstr ""
78
110
 
79
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:116
111
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:129
80
112
  msgid "Execute rules against a discovered host"
81
113
  msgstr ""
82
114
 
83
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:122 ../app/controllers/discovered_hosts_controller.rb:160
115
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:135 ../app/controllers/discovered_hosts_controller.rb:160
84
116
  msgid "Host %{host} was provisioned with rule %{rule}"
85
117
  msgstr ""
86
118
 
87
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:125
119
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:138
88
120
  msgid "Unable to provision %{host}: %{errors}"
89
121
  msgstr ""
90
122
 
91
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:131 ../app/controllers/discovered_hosts_controller.rb:167
123
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:144 ../app/controllers/discovered_hosts_controller.rb:167
92
124
  msgid "No rule found for host %s"
93
125
  msgstr ""
94
126
 
95
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:138
127
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:151
96
128
  msgid "Execute rules against all currently discovered hosts"
97
129
  msgstr ""
98
130
 
99
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:142 ../app/controllers/discovered_hosts_controller.rb:173
131
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:155 ../app/controllers/discovered_hosts_controller.rb:173
100
132
  msgid "Errors during auto provisioning: %s"
101
133
  msgstr ""
102
134
 
103
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:176
135
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:158 ../app/controllers/discovered_hosts_controller.rb:176
104
136
  msgid "No discovered hosts to provision"
105
137
  msgstr ""
106
138
 
107
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:167
139
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:180
108
140
  msgid "%s discovered hosts were provisioned"
109
141
  msgstr ""
110
142
 
111
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:178
143
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:191
112
144
  msgid "Refreshing the facts of a discovered host"
113
145
  msgstr ""
114
146
 
115
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:187
147
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:200
116
148
  msgid "Rebooting a discovered host"
117
149
  msgstr ""
118
150
 
119
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:196
151
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:209
120
152
  msgid "Rebooting all discovered hosts"
121
153
  msgstr ""
122
154
 
123
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:207 ../app/controllers/discovered_hosts_controller.rb:129
155
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:220 ../app/controllers/discovered_hosts_controller.rb:129
124
156
  msgid "Discovered hosts are rebooting now"
125
157
  msgstr ""
126
158
 
@@ -252,43 +284,43 @@ msgstr ""
252
284
  msgid "Discovered hosts are provisioning now"
253
285
  msgstr ""
254
286
 
255
- #: ../app/controllers/discovered_hosts_controller.rb:224
287
+ #: ../app/controllers/discovered_hosts_controller.rb:226
256
288
  msgid "Highlights"
257
289
  msgstr ""
258
290
 
259
- #: ../app/controllers/discovered_hosts_controller.rb:224
291
+ #: ../app/controllers/discovered_hosts_controller.rb:226
260
292
  msgid "Storage"
261
293
  msgstr ""
262
294
 
263
- #: ../app/controllers/discovered_hosts_controller.rb:224
295
+ #: ../app/controllers/discovered_hosts_controller.rb:226
264
296
  msgid "Hardware"
265
297
  msgstr ""
266
298
 
267
- #: ../app/controllers/discovered_hosts_controller.rb:224
299
+ #: ../app/controllers/discovered_hosts_controller.rb:226
268
300
  msgid "Network"
269
301
  msgstr ""
270
302
 
271
- #: ../app/controllers/discovered_hosts_controller.rb:224
303
+ #: ../app/controllers/discovered_hosts_controller.rb:226
272
304
  msgid "Software"
273
305
  msgstr ""
274
306
 
275
- #: ../app/controllers/discovered_hosts_controller.rb:224
307
+ #: ../app/controllers/discovered_hosts_controller.rb:226
276
308
  msgid "IPMI"
277
309
  msgstr ""
278
310
 
279
- #: ../app/controllers/discovered_hosts_controller.rb:224
311
+ #: ../app/controllers/discovered_hosts_controller.rb:226
280
312
  msgid "Miscellaneous"
281
313
  msgstr ""
282
314
 
283
- #: ../app/controllers/discovered_hosts_controller.rb:302
315
+ #: ../app/controllers/discovered_hosts_controller.rb:304
284
316
  msgid "No hosts were found with that id or name"
285
317
  msgstr ""
286
318
 
287
- #: ../app/controllers/discovered_hosts_controller.rb:306
319
+ #: ../app/controllers/discovered_hosts_controller.rb:308
288
320
  msgid "No hosts selected"
289
321
  msgstr ""
290
322
 
291
- #: ../app/controllers/discovered_hosts_controller.rb:312
323
+ #: ../app/controllers/discovered_hosts_controller.rb:314
292
324
  msgid "Something went wrong while selecting hosts - %s"
293
325
  msgstr ""
294
326
 
@@ -312,7 +344,7 @@ msgstr ""
312
344
  msgid "Refresh facts"
313
345
  msgstr ""
314
346
 
315
- #: ../app/helpers/discovered_hosts_helper.rb:16 ../app/helpers/discovered_hosts_helper.rb:30 ../app/models/setting/discovered.rb:22 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:39
347
+ #: ../app/helpers/discovered_hosts_helper.rb:16 ../app/helpers/discovered_hosts_helper.rb:30 ../app/models/setting/discovered.rb:24 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:39
316
348
  msgid "Reboot"
317
349
  msgstr ""
318
350
 
@@ -364,7 +396,7 @@ msgstr ""
364
396
  msgid "Provision"
365
397
  msgstr ""
366
398
 
367
- #: ../app/helpers/discovery_rules_helper.rb:26 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:1 ../app/views/discovered_hosts/welcome.html.erb:1 ../app/views/discovered_hosts/welcome.html.erb:6 ../lib/foreman_discovery/engine.rb:158 ../lib/foreman_discovery/engine.rb:173
399
+ #: ../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:159 ../lib/foreman_discovery/engine.rb:174
368
400
  msgid "Discovered Hosts"
369
401
  msgstr ""
370
402
 
@@ -436,35 +468,39 @@ msgstr ""
436
468
  msgid "MAC-based name"
437
469
  msgstr ""
438
470
 
439
- #: ../app/models/host/discovered.rb:51
471
+ #: ../app/models/host/discovered.rb:55
440
472
  msgid "Invalid facts, must be a Hash"
441
473
  msgstr ""
442
474
 
443
- #: ../app/models/host/discovered.rb:56
475
+ #: ../app/models/host/discovered.rb:60
444
476
  msgid "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
445
477
  msgstr ""
446
478
 
447
- #: ../app/models/host/discovered.rb:69
479
+ #: ../app/models/host/discovered.rb:73
448
480
  msgid "Invalid facts: hash does not contain a valid value for any of the facts in the discovery_hostname setting: %s"
449
481
  msgstr ""
450
482
 
451
- #: ../app/models/host/discovered.rb:95
483
+ #: ../app/models/host/discovered.rb:100
452
484
  msgid "Facts could not be imported"
453
485
  msgstr ""
454
486
 
455
- #: ../app/models/host/discovered.rb:150
487
+ #: ../app/models/host/discovered.rb:146
456
488
  msgid "Could not get facts from proxy %{url}: %{error}"
457
489
  msgstr ""
458
490
 
459
- #: ../app/models/host/discovered.rb:158
460
- msgid "Unable to reboot %{name} via %{url}: %{msg}"
491
+ #: ../app/models/host/discovered.rb:160
492
+ msgid "Unable to perform reboot on %{name} (%{url}): %{msg}"
493
+ msgstr ""
494
+
495
+ #: ../app/models/host/discovered.rb:164 ../app/models/host/discovered.rb:183
496
+ msgid "Unable to perform %{action} on %{ips}"
461
497
  msgstr ""
462
498
 
463
- #: ../app/models/host/discovered.rb:166
464
- msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
499
+ #: ../app/models/host/discovered.rb:179
500
+ msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
465
501
  msgstr ""
466
502
 
467
- #: ../app/models/host/discovered.rb:185
503
+ #: ../app/models/host/discovered.rb:203
468
504
  msgid "Invalid hostname: Could not normalize the hostname"
469
505
  msgstr ""
470
506
 
@@ -492,183 +528,183 @@ msgstr ""
492
528
  msgid "Rebuild DNS for %s"
493
529
  msgstr ""
494
530
 
495
- #: ../app/models/setting/discovered.rb:15
531
+ #: ../app/models/setting/discovered.rb:17
496
532
  msgid "The default location to place discovered hosts in"
497
533
  msgstr ""
498
534
 
499
- #: ../app/models/setting/discovered.rb:15
535
+ #: ../app/models/setting/discovered.rb:17
500
536
  msgid "Discovery location"
501
537
  msgstr ""
502
538
 
503
- #: ../app/models/setting/discovered.rb:16
539
+ #: ../app/models/setting/discovered.rb:18
504
540
  msgid "The default organization to place discovered hosts in"
505
541
  msgstr ""
506
542
 
507
- #: ../app/models/setting/discovered.rb:16
543
+ #: ../app/models/setting/discovered.rb:18
508
544
  msgid "Discovery organization"
509
545
  msgstr ""
510
546
 
511
- #: ../app/models/setting/discovered.rb:17
547
+ #: ../app/models/setting/discovered.rb:19
512
548
  msgid "Fact name to use for primary interface detection"
513
549
  msgstr ""
514
550
 
515
- #: ../app/models/setting/discovered.rb:17
551
+ #: ../app/models/setting/discovered.rb:19
516
552
  msgid "Interface fact"
517
553
  msgstr ""
518
554
 
519
- #: ../app/models/setting/discovered.rb:18
555
+ #: ../app/models/setting/discovered.rb:20
520
556
  msgid "Automatic bond interface (if another interface is detected on the same VLAN via LLDP)"
521
557
  msgstr ""
522
558
 
523
- #: ../app/models/setting/discovered.rb:18
559
+ #: ../app/models/setting/discovered.rb:20
524
560
  msgid "Create bond interfaces"
525
561
  msgstr ""
526
562
 
527
- #: ../app/models/setting/discovered.rb:19
563
+ #: ../app/models/setting/discovered.rb:21
528
564
  msgid "Clean all reported facts during provisioning (except discovery facts)"
529
565
  msgstr ""
530
566
 
531
- #: ../app/models/setting/discovered.rb:19
567
+ #: ../app/models/setting/discovered.rb:21
532
568
  msgid "Clean all facts"
533
569
  msgstr ""
534
570
 
535
- #: ../app/models/setting/discovered.rb:20
571
+ #: ../app/models/setting/discovered.rb:22
536
572
  msgid "List of facts to use for the hostname (separated by comma, first wins)"
537
573
  msgstr ""
538
574
 
539
- #: ../app/models/setting/discovered.rb:20
575
+ #: ../app/models/setting/discovered.rb:22
540
576
  msgid "Hostname facts"
541
577
  msgstr ""
542
578
 
543
- #: ../app/models/setting/discovered.rb:21
579
+ #: ../app/models/setting/discovered.rb:23
544
580
  msgid "Automatically provision newly discovered hosts, according to the provisioning rules"
545
581
  msgstr ""
546
582
 
547
- #: ../app/models/setting/discovered.rb:21
583
+ #: ../app/models/setting/discovered.rb:23
548
584
  msgid "Auto provisioning"
549
585
  msgstr ""
550
586
 
551
- #: ../app/models/setting/discovered.rb:22
587
+ #: ../app/models/setting/discovered.rb:24
552
588
  msgid "Automatically reboot or kexec discovered host during provisioning"
553
589
  msgstr ""
554
590
 
555
- #: ../app/models/setting/discovered.rb:23
591
+ #: ../app/models/setting/discovered.rb:25
556
592
  msgid "The default prefix to use for the host name, must start with a letter"
557
593
  msgstr ""
558
594
 
559
- #: ../app/models/setting/discovered.rb:23
595
+ #: ../app/models/setting/discovered.rb:25
560
596
  msgid "Hostname prefix"
561
597
  msgstr ""
562
598
 
563
- #: ../app/models/setting/discovered.rb:24
599
+ #: ../app/models/setting/discovered.rb:26
564
600
  msgid "Extra facter columns to show in host lists (separate by comma)"
565
601
  msgstr ""
566
602
 
567
- #: ../app/models/setting/discovered.rb:24
603
+ #: ../app/models/setting/discovered.rb:26
568
604
  msgid "Fact columns"
569
605
  msgstr ""
570
606
 
571
- #: ../app/models/setting/discovered.rb:25
607
+ #: ../app/models/setting/discovered.rb:27
572
608
  msgid "Regex to organize facts for highlights section - e.g. ^(abc|cde)$"
573
609
  msgstr ""
574
610
 
575
- #: ../app/models/setting/discovered.rb:25
611
+ #: ../app/models/setting/discovered.rb:27
576
612
  msgid "Highlighted facts"
577
613
  msgstr ""
578
614
 
579
- #: ../app/models/setting/discovered.rb:26
615
+ #: ../app/models/setting/discovered.rb:28
580
616
  msgid "Regex to organize facts for storage section"
581
617
  msgstr ""
582
618
 
583
- #: ../app/models/setting/discovered.rb:26
619
+ #: ../app/models/setting/discovered.rb:28
584
620
  msgid "Storage facts"
585
621
  msgstr ""
586
622
 
587
- #: ../app/models/setting/discovered.rb:27
623
+ #: ../app/models/setting/discovered.rb:29
588
624
  msgid "Regex to organize facts for software section"
589
625
  msgstr ""
590
626
 
591
- #: ../app/models/setting/discovered.rb:27
627
+ #: ../app/models/setting/discovered.rb:29
592
628
  msgid "Software facts"
593
629
  msgstr ""
594
630
 
595
- #: ../app/models/setting/discovered.rb:28
631
+ #: ../app/models/setting/discovered.rb:30
596
632
  msgid "Regex to organize facts for hardware section"
597
633
  msgstr ""
598
634
 
599
- #: ../app/models/setting/discovered.rb:28
635
+ #: ../app/models/setting/discovered.rb:30
600
636
  msgid "Hardware facts"
601
637
  msgstr ""
602
638
 
603
- #: ../app/models/setting/discovered.rb:29
639
+ #: ../app/models/setting/discovered.rb:31
604
640
  msgid "Regex to organize facts for network section"
605
641
  msgstr ""
606
642
 
607
- #: ../app/models/setting/discovered.rb:29
643
+ #: ../app/models/setting/discovered.rb:31
608
644
  msgid "Network facts"
609
645
  msgstr ""
610
646
 
611
- #: ../app/models/setting/discovered.rb:30
647
+ #: ../app/models/setting/discovered.rb:32
612
648
  msgid "Regex to organize facts for ipmi section"
613
649
  msgstr ""
614
650
 
615
- #: ../app/models/setting/discovered.rb:30
651
+ #: ../app/models/setting/discovered.rb:32
616
652
  msgid "IPMI facts"
617
653
  msgstr ""
618
654
 
619
- #: ../app/models/setting/discovered.rb:31
655
+ #: ../app/models/setting/discovered.rb:33
620
656
  msgid "Automatically generate PXE configuration to pin a newly discovered host to discovery"
621
657
  msgstr ""
622
658
 
623
- #: ../app/models/setting/discovered.rb:31
659
+ #: ../app/models/setting/discovered.rb:33
624
660
  msgid "Lock PXE"
625
661
  msgstr ""
626
662
 
627
- #: ../app/models/setting/discovered.rb:32
663
+ #: ../app/models/setting/discovered.rb:34
628
664
  msgid "PXELinux template to be used when pinning a host to discovery"
629
665
  msgstr ""
630
666
 
631
- #: ../app/models/setting/discovered.rb:32
667
+ #: ../app/models/setting/discovered.rb:34
632
668
  msgid "Locked PXELinux template name"
633
669
  msgstr ""
634
670
 
635
- #: ../app/models/setting/discovered.rb:33
671
+ #: ../app/models/setting/discovered.rb:35
636
672
  msgid "PXEGrub template to be used when pinning a host to discovery"
637
673
  msgstr ""
638
674
 
639
- #: ../app/models/setting/discovered.rb:33
675
+ #: ../app/models/setting/discovered.rb:35
640
676
  msgid "Locked PXEGrub template name"
641
677
  msgstr ""
642
678
 
643
- #: ../app/models/setting/discovered.rb:34
679
+ #: ../app/models/setting/discovered.rb:36
644
680
  msgid "PXEGrub2 template to be used when pinning a host to discovery"
645
681
  msgstr ""
646
682
 
647
- #: ../app/models/setting/discovered.rb:34
683
+ #: ../app/models/setting/discovered.rb:36
648
684
  msgid "Locked PXEGrub2 template name"
649
685
  msgstr ""
650
686
 
651
- #: ../app/models/setting/discovered.rb:35
687
+ #: ../app/models/setting/discovered.rb:37
652
688
  msgid "Force DNS entries creation when provisioning discovered host"
653
689
  msgstr ""
654
690
 
655
- #: ../app/models/setting/discovered.rb:35
691
+ #: ../app/models/setting/discovered.rb:37
656
692
  msgid "Force DNS"
657
693
  msgstr ""
658
694
 
659
- #: ../app/models/setting/discovered.rb:36
695
+ #: ../app/models/setting/discovered.rb:38
660
696
  msgid "Do not allow to discover existing managed host matching MAC of a provisioning NIC (errors out early)"
661
697
  msgstr ""
662
698
 
663
- #: ../app/models/setting/discovered.rb:36
699
+ #: ../app/models/setting/discovered.rb:38
664
700
  msgid "Error on existing NIC"
665
701
  msgstr ""
666
702
 
667
- #: ../app/models/setting/discovered.rb:37
703
+ #: ../app/models/setting/discovered.rb:39
668
704
  msgid "Discovery hostname naming pattern"
669
705
  msgstr ""
670
706
 
671
- #: ../app/models/setting/discovered.rb:37
707
+ #: ../app/models/setting/discovered.rb:39
672
708
  msgid "Type of name generator"
673
709
  msgstr ""
674
710
 
@@ -684,18 +720,24 @@ msgstr ""
684
720
  msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
685
721
  msgstr ""
686
722
 
687
- #: ../app/services/foreman_discovery/host_converter.rb:39
723
+ #: ../app/services/foreman_discovery/host_converter.rb:47
688
724
  msgid "IPAM must be configured for subnet '%s'"
689
725
  msgstr ""
690
726
 
691
- #: ../app/services/foreman_discovery/node_api/node_resource.rb:75
727
+ #: ../app/services/foreman_discovery/node_api/node_resource.rb:76
692
728
  msgid "Image API returned HTTP/%{code} with '%{body}"
693
729
  msgstr ""
694
730
 
695
- #: ../app/services/foreman_discovery/node_api/node_resource.rb:78
731
+ #: ../app/services/foreman_discovery/node_api/node_resource.rb:79
696
732
  msgid "Image API processing error: %{msg} (HTTP/%{code}, body: %{body})"
697
733
  msgstr ""
698
734
 
735
+ #: ../app/views/dashboard/_discovery_widget.html.erb:5
736
+ msgid "Discovered Host"
737
+ msgid_plural "Discovered Hosts"
738
+ msgstr[0] ""
739
+ msgstr[1] ""
740
+
699
741
  #: ../app/views/dashboard/_discovery_widget.html.erb:9
700
742
  msgid "No discovered hosts available"
701
743
  msgstr ""
@@ -716,11 +758,11 @@ msgstr ""
716
758
  msgid "Memory"
717
759
  msgstr ""
718
760
 
719
- #: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:25
761
+ #: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:23
720
762
  msgid "Customize Host"
721
763
  msgstr ""
722
764
 
723
- #: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:26
765
+ #: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:24
724
766
  msgid "Create Host"
725
767
  msgstr ""
726
768
 
@@ -824,18 +866,6 @@ msgstr ""
824
866
  msgid "Collapse All"
825
867
  msgstr ""
826
868
 
827
- #: ../app/views/discovered_hosts/welcome.html.erb:7
828
- msgid "No discovered hosts found in this context."
829
- msgstr ""
830
-
831
- #: ../app/views/discovered_hosts/welcome.html.erb:8
832
- msgid "This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
833
- msgstr ""
834
-
835
- #: ../app/views/discovered_hosts/welcome.html.erb:9
836
- msgid "Learn more about this in the documentation."
837
- msgstr ""
838
-
839
869
  #: ../app/views/discovered_mailer/discovered_summary.html.erb:6
840
870
  msgid "Summary report for discovered hosts from Foreman"
841
871
  msgstr ""
@@ -928,7 +958,7 @@ msgstr ""
928
958
  msgid "Edit %s"
929
959
  msgstr ""
930
960
 
931
- #: ../app/views/discovery_rules/index.html.erb:1 ../lib/foreman_discovery/engine.rb:163
961
+ #: ../app/views/discovery_rules/index.html.erb:1 ../lib/foreman_discovery/engine.rb:164
932
962
  msgid "Discovery Rules"
933
963
  msgstr ""
934
964
 
@@ -984,28 +1014,28 @@ msgstr ""
984
1014
  msgid "Details"
985
1015
  msgstr ""
986
1016
 
987
- #: ../lib/foreman_discovery/engine.rb:179
1017
+ #: ../lib/foreman_discovery/engine.rb:180
988
1018
  msgid "Discovery Kexec template"
989
1019
  msgstr ""
990
1020
 
991
- #: ../lib/foreman_discovery/engine.rb:188
1021
+ #: ../lib/foreman_discovery/engine.rb:189
992
1022
  msgid "Discovery Proxy"
993
1023
  msgstr ""
994
1024
 
995
- #: ../lib/foreman_discovery/engine.rb:189
1025
+ #: ../lib/foreman_discovery/engine.rb:190
996
1026
  msgid "Discovery Proxy to use within this subnet for managing connection to discovered hosts"
997
1027
  msgstr ""
998
1028
 
999
- #: ../lib/foreman_discovery/engine.rb:190
1029
+ #: ../lib/foreman_discovery/engine.rb:191
1000
1030
  msgid "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1001
1031
  msgstr ""
1002
1032
 
1003
1033
  #: action_names.rb:2
1004
- msgid "Import Puppet classes"
1034
+ msgid "Remote action:"
1005
1035
  msgstr ""
1006
1036
 
1007
1037
  #: action_names.rb:3
1008
- msgid "Import facts"
1038
+ msgid "Import Puppet classes"
1009
1039
  msgstr ""
1010
1040
 
1011
1041
  #: action_names.rb:4
@@ -1013,5 +1043,5 @@ msgid "Action with sub plans"
1013
1043
  msgstr ""
1014
1044
 
1015
1045
  #: action_names.rb:5
1016
- msgid "Remote action:"
1046
+ msgid "Import facts"
1017
1047
  msgstr ""