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
@@ -5,14 +5,14 @@
5
5
  # Translators:
6
6
  # elobato <elobatocs@gmail.com>, 2015
7
7
  # francis <hackgo@gmail.com>, 2013-2014
8
- # Sergio Ocón <sergio.ocon@redhat.com>, 2014-2015
9
- # Sergio Ocón <sergio.ocon@redhat.com>, 2014
8
+ # Sergio Ocón-Cárdenas <sergio.ocon@redhat.com>, 2014-2015
9
+ # Sergio Ocón-Cárdenas <sergio.ocon@redhat.com>, 2014
10
10
  msgid ""
11
11
  msgstr ""
12
- "Project-Id-Version: foreman_discovery 15.1.0\n"
12
+ "Project-Id-Version: foreman_discovery 16.2.0\n"
13
13
  "Report-Msgid-Bugs-To: \n"
14
- "PO-Revision-Date: 2019-10-22 20:43+0000\n"
15
- "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>\n"
14
+ "PO-Revision-Date: 2020-05-26 17:21+0000\n"
15
+ "Last-Translator: Transifex Bot <>\n"
16
16
  "Language-Team: Spanish (http://www.transifex.com/foreman/foreman/language/es/)"
17
17
  "\n"
18
18
  "MIME-Version: 1.0\n"
@@ -37,7 +37,7 @@ msgid "A summary of discovered hosts"
37
37
  msgstr "Resumen de los hosts detectados"
38
38
 
39
39
  msgid "Action with sub plans"
40
- msgstr "Acción con subplanes"
40
+ msgstr ""
41
41
 
42
42
  msgid "Actions"
43
43
  msgstr "Acciones"
@@ -141,6 +141,11 @@ msgstr "Inhabilitar"
141
141
  msgid "Disable rule '%s'?"
142
142
  msgstr "¿Deshabilitar regla '%s'?"
143
143
 
144
+ msgid "Discovered Host"
145
+ msgid_plural "Discovered Hosts"
146
+ msgstr[0] ""
147
+ msgstr[1] ""
148
+
144
149
  msgid "Discovered Hosts"
145
150
  msgstr "Hosts detectados"
146
151
 
@@ -322,6 +327,12 @@ msgstr[1] ""
322
327
  msgid "Host of type %s can not be rebooted"
323
328
  msgstr "No es posible reiniciar el tipo de host %s"
324
329
 
330
+ msgid "Host's owner type"
331
+ msgstr ""
332
+
333
+ msgid "Host's parameters (array or indexed hash)"
334
+ msgstr ""
335
+
325
336
  msgid "Hostname facts"
326
337
  msgstr "Eventos del nombre de host"
327
338
 
@@ -371,10 +382,10 @@ msgid "Image API returned HTTP/%{code} with '%{body}"
371
382
  msgstr "La API de la imagen arrojó HTTP/%{code} with '%{body}"
372
383
 
373
384
  msgid "Import Puppet classes"
374
- msgstr "Importar clases Puppet"
385
+ msgstr ""
375
386
 
376
387
  msgid "Import facts"
377
- msgstr "Importar datos"
388
+ msgstr ""
378
389
 
379
390
  msgid "In addition to @host attribute function rand for random integers is available. Examples:"
380
391
  msgstr "Además del atributo @host, la función aleatoria para los números enteros aleatorizados se encuentra disponible. Ejemplos:"
@@ -409,9 +420,6 @@ msgstr "Plantilla kexec no asociada con el sistema operativo"
409
420
  msgid "Last Facts Upload"
410
421
  msgstr "Última carga de datos"
411
422
 
412
- msgid "Learn more about this in the documentation."
413
- msgstr "Consulte la documentación para obtener más información."
414
-
415
423
  msgid "List all discovered hosts"
416
424
  msgstr "Confeccionar una lista de los hosts detectados"
417
425
 
@@ -466,6 +474,9 @@ msgstr "N/A"
466
474
  msgid "Name"
467
475
  msgstr "Nombre"
468
476
 
477
+ msgid "Name of the parameter"
478
+ msgstr ""
479
+
469
480
  msgid "Network"
470
481
  msgstr "Red"
471
482
 
@@ -484,9 +495,6 @@ msgstr "No hay hosts detectados disponibles"
484
495
  msgid "No discovered hosts for the selected period"
485
496
  msgstr "No se detectaron hosts para el periodo seleccionado"
486
497
 
487
- msgid "No discovered hosts found in this context."
488
- msgstr "No se encontraron hosts detectados en este contexto."
489
-
490
498
  msgid "No discovered hosts to provision"
491
499
  msgstr "No hay hosts detectados para aprovisionar"
492
500
 
@@ -529,6 +537,9 @@ msgstr "Plantilla PXEGrub2 que debe utilizarse al adjuntar un host a la detecci
529
537
  msgid "PXELinux template to be used when pinning a host to discovery"
530
538
  msgstr "Debe utilizarse la plantilla PXELinux para adjuntar un host a la detección"
531
539
 
540
+ msgid "Parameter value"
541
+ msgstr ""
542
+
532
543
  msgid "Please Confirm"
533
544
  msgstr "Confirme, por favor"
534
545
 
@@ -593,7 +604,7 @@ msgid "Reloading kernel on %s"
593
604
  msgstr "Recargando el kernel en %s"
594
605
 
595
606
  msgid "Remote action:"
596
- msgstr "Acción remota:"
607
+ msgstr ""
597
608
 
598
609
  msgid "Reported in the last 7 days"
599
610
  msgstr "Informado en los últimos 7 días"
@@ -676,15 +687,15 @@ msgstr "Los siguientes equipos no han sido eliminados: %s"
676
687
  msgid "This might take a while, as all hosts, facts and reports will be destroyed as well"
677
688
  msgstr "Esta acción puede tardar un rato, ya que se eliminarán todos los equipos, datos e informes."
678
689
 
679
- msgid "This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
680
- msgstr "Esta página muestra los nodos sin sistema operativo o virtuales detectados cuyo aprovisionamiento está pendiente."
681
-
682
690
  msgid "Type"
683
691
  msgstr "Tipo"
684
692
 
685
693
  msgid "Type of name generator"
686
694
  msgstr "Tipo de generador de nombre"
687
695
 
696
+ msgid "Type of value"
697
+ msgstr ""
698
+
688
699
  msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
689
700
  msgstr "UUID para seguir el estado de la tarea de orquestación, GET /api/orchestration/:UUID/tasks"
690
701
 
@@ -694,15 +705,18 @@ msgstr "No es posible buscar una regla de detección, no se ha aprovisionado un
694
705
  msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
695
706
  msgstr "No se puede encontrar la NIC principal con %{mac} especificada mediante '%{fact}', filtro de NIC: %{filter}"
696
707
 
697
- msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
698
- msgstr "No es posible ejecutar kexec en %{name} a través de %{url}: %{msg}"
708
+ msgid "Unable to perform %{action} on %{ips}"
709
+ msgstr ""
710
+
711
+ msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
712
+ msgstr ""
713
+
714
+ msgid "Unable to perform reboot on %{name} (%{url}): %{msg}"
715
+ msgstr ""
699
716
 
700
717
  msgid "Unable to provision %{host}: %{errors}"
701
718
  msgstr "No es posible aprovisionar %{host}: %{errors}"
702
719
 
703
- msgid "Unable to reboot %{name} via %{url}: %{msg}"
704
- msgstr "No es posible reiniciar %{name} a través de %{url}: %{msg}"
705
-
706
720
  msgid "Update a rule"
707
721
  msgstr "Actualizar una regla"
708
722
 
@@ -766,6 +780,15 @@ msgstr "consulta para establecer una coincidencia de los hosts detectados respec
766
780
  msgid "represents rule name shown to the users"
767
781
  msgstr "representa el nombre de la regla que se les muestra a los usuarios"
768
782
 
783
+ msgid "required if host is managed and custom partition has not been defined"
784
+ msgstr ""
785
+
786
+ msgid "required if host is managed and value is not inherited from host group"
787
+ msgstr ""
788
+
789
+ msgid "required if not imaged based provisioning and host is managed and value is not inherited from host group"
790
+ msgstr ""
791
+
769
792
  msgid "required if value is not inherited from host group or default password in settings"
770
793
  msgstr "es necesario si el valor no se hereda del grupo del host o de la contraseña predeterminada en las configuraciones"
771
794
 
@@ -8,8 +8,8 @@ msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: foreman_discovery 1.0.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2019-10-22 11:55+0200\n"
12
- "PO-Revision-Date: 2019-10-22 11:55+0200\n"
11
+ "POT-Creation-Date: 2020-10-29 12:15+0100\n"
12
+ "PO-Revision-Date: 2020-10-29 12:15+0100\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
15
  "Language: \n"
@@ -47,7 +47,7 @@ msgid "Show a discovered host"
47
47
  msgstr ""
48
48
 
49
49
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:37
50
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:79
50
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:85
51
51
  msgid "DHCP filename option (Grub2 or PXELinux by default)"
52
52
  msgstr ""
53
53
 
@@ -59,6 +59,14 @@ msgstr ""
59
59
  msgid "Provision a discovered host"
60
60
  msgstr ""
61
61
 
62
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:54
63
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:57
64
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:58
65
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:61
66
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:64
67
+ msgid "required if host is managed and value is not inherited from host group"
68
+ msgstr ""
69
+
62
70
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:55
63
71
  msgid "not required if using a subnet with DHCP proxy"
64
72
  msgstr ""
@@ -67,80 +75,110 @@ msgstr ""
67
75
  msgid "not required if it's a virtual machine"
68
76
  msgstr ""
69
77
 
70
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:76
78
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:62
79
+ msgid ""
80
+ "required if not imaged based provisioning and host is managed and value is not"
81
+ " inherited from host group"
82
+ msgstr ""
83
+
84
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:63
85
+ msgid "required if host is managed and custom partition has not been defined"
86
+ msgstr ""
87
+
88
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:69
89
+ msgid "Host's owner type"
90
+ msgstr ""
91
+
92
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:72
93
+ msgid "Host's parameters (array or indexed hash)"
94
+ msgstr ""
95
+
96
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:73
97
+ msgid "Name of the parameter"
98
+ msgstr ""
99
+
100
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:74
101
+ msgid "Parameter value"
102
+ msgstr ""
103
+
104
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:75
105
+ msgid "Type of value"
106
+ msgstr ""
107
+
108
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:82
71
109
  msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
72
110
  msgstr ""
73
111
 
74
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:78
112
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:84
75
113
  msgid ""
76
114
  "required if value is not inherited from host group or default password in sett"
77
115
  "ings"
78
116
  msgstr ""
79
117
 
80
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:89
118
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:95
81
119
  msgid "Delete a discovered host"
82
120
  msgstr ""
83
121
 
84
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:96
122
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:102
85
123
  msgid "Upload facts for a host, creating the host if required"
86
124
  msgstr ""
87
125
 
88
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:97
126
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:103
89
127
  msgid ""
90
128
  "hash containing facts for the host with minimum set of facts: discovery_bootif"
91
129
  ", macaddress_eth0, ipaddress, ipaddress_eth0, interfaces: eth0 (example in cas"
92
130
  "e primary interface is named eth0)"
93
131
  msgstr ""
94
132
 
95
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:116
133
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:129
96
134
  msgid "Execute rules against a discovered host"
97
135
  msgstr ""
98
136
 
99
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:122
137
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:135
100
138
  #: ../app/controllers/discovered_hosts_controller.rb:160
101
139
  msgid "Host %{host} was provisioned with rule %{rule}"
102
140
  msgstr ""
103
141
 
104
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:125
142
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:138
105
143
  msgid "Unable to provision %{host}: %{errors}"
106
144
  msgstr ""
107
145
 
108
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:131
146
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:144
109
147
  #: ../app/controllers/discovered_hosts_controller.rb:167
110
148
  msgid "No rule found for host %s"
111
149
  msgstr ""
112
150
 
113
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:138
151
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:151
114
152
  msgid "Execute rules against all currently discovered hosts"
115
153
  msgstr ""
116
154
 
117
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:142
155
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:155
118
156
  #: ../app/controllers/discovered_hosts_controller.rb:173
119
157
  msgid "Errors during auto provisioning: %s"
120
158
  msgstr ""
121
159
 
122
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145
160
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:158
123
161
  #: ../app/controllers/discovered_hosts_controller.rb:176
124
162
  msgid "No discovered hosts to provision"
125
163
  msgstr ""
126
164
 
127
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:167
165
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:180
128
166
  msgid "%s discovered hosts were provisioned"
129
167
  msgstr ""
130
168
 
131
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:178
169
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:191
132
170
  msgid "Refreshing the facts of a discovered host"
133
171
  msgstr ""
134
172
 
135
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:187
173
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:200
136
174
  msgid "Rebooting a discovered host"
137
175
  msgstr ""
138
176
 
139
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:196
177
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:209
140
178
  msgid "Rebooting all discovered hosts"
141
179
  msgstr ""
142
180
 
143
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:207
181
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:220
144
182
  #: ../app/controllers/discovered_hosts_controller.rb:129
145
183
  msgid "Discovered hosts are rebooting now"
146
184
  msgstr ""
@@ -273,43 +311,43 @@ msgstr ""
273
311
  msgid "Discovered hosts are provisioning now"
274
312
  msgstr ""
275
313
 
276
- #: ../app/controllers/discovered_hosts_controller.rb:224
314
+ #: ../app/controllers/discovered_hosts_controller.rb:226
277
315
  msgid "Highlights"
278
316
  msgstr ""
279
317
 
280
- #: ../app/controllers/discovered_hosts_controller.rb:224
318
+ #: ../app/controllers/discovered_hosts_controller.rb:226
281
319
  msgid "Storage"
282
320
  msgstr ""
283
321
 
284
- #: ../app/controllers/discovered_hosts_controller.rb:224
322
+ #: ../app/controllers/discovered_hosts_controller.rb:226
285
323
  msgid "Hardware"
286
324
  msgstr ""
287
325
 
288
- #: ../app/controllers/discovered_hosts_controller.rb:224
326
+ #: ../app/controllers/discovered_hosts_controller.rb:226
289
327
  msgid "Network"
290
328
  msgstr ""
291
329
 
292
- #: ../app/controllers/discovered_hosts_controller.rb:224
330
+ #: ../app/controllers/discovered_hosts_controller.rb:226
293
331
  msgid "Software"
294
332
  msgstr ""
295
333
 
296
- #: ../app/controllers/discovered_hosts_controller.rb:224
334
+ #: ../app/controllers/discovered_hosts_controller.rb:226
297
335
  msgid "IPMI"
298
336
  msgstr ""
299
337
 
300
- #: ../app/controllers/discovered_hosts_controller.rb:224
338
+ #: ../app/controllers/discovered_hosts_controller.rb:226
301
339
  msgid "Miscellaneous"
302
340
  msgstr ""
303
341
 
304
- #: ../app/controllers/discovered_hosts_controller.rb:302
342
+ #: ../app/controllers/discovered_hosts_controller.rb:304
305
343
  msgid "No hosts were found with that id or name"
306
344
  msgstr ""
307
345
 
308
- #: ../app/controllers/discovered_hosts_controller.rb:306
346
+ #: ../app/controllers/discovered_hosts_controller.rb:308
309
347
  msgid "No hosts selected"
310
348
  msgstr ""
311
349
 
312
- #: ../app/controllers/discovered_hosts_controller.rb:312
350
+ #: ../app/controllers/discovered_hosts_controller.rb:314
313
351
  msgid "Something went wrong while selecting hosts - %s"
314
352
  msgstr ""
315
353
 
@@ -338,7 +376,7 @@ msgstr ""
338
376
 
339
377
  #: ../app/helpers/discovered_hosts_helper.rb:16
340
378
  #: ../app/helpers/discovered_hosts_helper.rb:30
341
- #: ../app/models/setting/discovered.rb:22
379
+ #: ../app/models/setting/discovered.rb:24
342
380
  #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:39
343
381
  msgid "Reboot"
344
382
  msgstr ""
@@ -396,10 +434,9 @@ msgstr ""
396
434
 
397
435
  #: ../app/helpers/discovery_rules_helper.rb:26
398
436
  #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:1
399
- #: ../app/views/discovered_hosts/welcome.html.erb:1
400
- #: ../app/views/discovered_hosts/welcome.html.erb:6
401
- #: ../lib/foreman_discovery/engine.rb:158
402
- #: ../lib/foreman_discovery/engine.rb:173
437
+ #: ../app/views/discovered_hosts/welcome.html.erb:8
438
+ #: ../lib/foreman_discovery/engine.rb:159
439
+ #: ../lib/foreman_discovery/engine.rb:174
403
440
  msgid "Discovered Hosts"
404
441
  msgstr ""
405
442
 
@@ -471,39 +508,43 @@ msgstr ""
471
508
  msgid "MAC-based name"
472
509
  msgstr ""
473
510
 
474
- #: ../app/models/host/discovered.rb:51
511
+ #: ../app/models/host/discovered.rb:55
475
512
  msgid "Invalid facts, must be a Hash"
476
513
  msgstr ""
477
514
 
478
- #: ../app/models/host/discovered.rb:56
515
+ #: ../app/models/host/discovered.rb:60
479
516
  msgid ""
480
517
  "Expected discovery_fact '%s' is missing, unable to detect primary interface an"
481
518
  "d set hostname"
482
519
  msgstr ""
483
520
 
484
- #: ../app/models/host/discovered.rb:69
521
+ #: ../app/models/host/discovered.rb:73
485
522
  msgid ""
486
523
  "Invalid facts: hash does not contain a valid value for any of the facts in the"
487
524
  " discovery_hostname setting: %s"
488
525
  msgstr ""
489
526
 
490
- #: ../app/models/host/discovered.rb:95
527
+ #: ../app/models/host/discovered.rb:100
491
528
  msgid "Facts could not be imported"
492
529
  msgstr ""
493
530
 
494
- #: ../app/models/host/discovered.rb:150
531
+ #: ../app/models/host/discovered.rb:146
495
532
  msgid "Could not get facts from proxy %{url}: %{error}"
496
533
  msgstr ""
497
534
 
498
- #: ../app/models/host/discovered.rb:158
499
- msgid "Unable to reboot %{name} via %{url}: %{msg}"
535
+ #: ../app/models/host/discovered.rb:160
536
+ msgid "Unable to perform reboot on %{name} (%{url}): %{msg}"
537
+ msgstr ""
538
+
539
+ #: ../app/models/host/discovered.rb:164 ../app/models/host/discovered.rb:183
540
+ msgid "Unable to perform %{action} on %{ips}"
500
541
  msgstr ""
501
542
 
502
- #: ../app/models/host/discovered.rb:166
503
- msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
543
+ #: ../app/models/host/discovered.rb:179
544
+ msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
504
545
  msgstr ""
505
546
 
506
- #: ../app/models/host/discovered.rb:185
547
+ #: ../app/models/host/discovered.rb:203
507
548
  msgid "Invalid hostname: Could not normalize the hostname"
508
549
  msgstr ""
509
550
 
@@ -531,191 +572,191 @@ msgstr ""
531
572
  msgid "Rebuild DNS for %s"
532
573
  msgstr ""
533
574
 
534
- #: ../app/models/setting/discovered.rb:15
575
+ #: ../app/models/setting/discovered.rb:17
535
576
  msgid "The default location to place discovered hosts in"
536
577
  msgstr ""
537
578
 
538
- #: ../app/models/setting/discovered.rb:15
579
+ #: ../app/models/setting/discovered.rb:17
539
580
  msgid "Discovery location"
540
581
  msgstr ""
541
582
 
542
- #: ../app/models/setting/discovered.rb:16
583
+ #: ../app/models/setting/discovered.rb:18
543
584
  msgid "The default organization to place discovered hosts in"
544
585
  msgstr ""
545
586
 
546
- #: ../app/models/setting/discovered.rb:16
587
+ #: ../app/models/setting/discovered.rb:18
547
588
  msgid "Discovery organization"
548
589
  msgstr ""
549
590
 
550
- #: ../app/models/setting/discovered.rb:17
591
+ #: ../app/models/setting/discovered.rb:19
551
592
  msgid "Fact name to use for primary interface detection"
552
593
  msgstr ""
553
594
 
554
- #: ../app/models/setting/discovered.rb:17
595
+ #: ../app/models/setting/discovered.rb:19
555
596
  msgid "Interface fact"
556
597
  msgstr ""
557
598
 
558
- #: ../app/models/setting/discovered.rb:18
599
+ #: ../app/models/setting/discovered.rb:20
559
600
  msgid ""
560
601
  "Automatic bond interface (if another interface is detected on the same VLAN vi"
561
602
  "a LLDP)"
562
603
  msgstr ""
563
604
 
564
- #: ../app/models/setting/discovered.rb:18
605
+ #: ../app/models/setting/discovered.rb:20
565
606
  msgid "Create bond interfaces"
566
607
  msgstr ""
567
608
 
568
- #: ../app/models/setting/discovered.rb:19
609
+ #: ../app/models/setting/discovered.rb:21
569
610
  msgid "Clean all reported facts during provisioning (except discovery facts)"
570
611
  msgstr ""
571
612
 
572
- #: ../app/models/setting/discovered.rb:19
613
+ #: ../app/models/setting/discovered.rb:21
573
614
  msgid "Clean all facts"
574
615
  msgstr ""
575
616
 
576
- #: ../app/models/setting/discovered.rb:20
617
+ #: ../app/models/setting/discovered.rb:22
577
618
  msgid "List of facts to use for the hostname (separated by comma, first wins)"
578
619
  msgstr ""
579
620
 
580
- #: ../app/models/setting/discovered.rb:20
621
+ #: ../app/models/setting/discovered.rb:22
581
622
  msgid "Hostname facts"
582
623
  msgstr ""
583
624
 
584
- #: ../app/models/setting/discovered.rb:21
625
+ #: ../app/models/setting/discovered.rb:23
585
626
  msgid ""
586
627
  "Automatically provision newly discovered hosts, according to the provisioning "
587
628
  "rules"
588
629
  msgstr ""
589
630
 
590
- #: ../app/models/setting/discovered.rb:21
631
+ #: ../app/models/setting/discovered.rb:23
591
632
  msgid "Auto provisioning"
592
633
  msgstr ""
593
634
 
594
- #: ../app/models/setting/discovered.rb:22
635
+ #: ../app/models/setting/discovered.rb:24
595
636
  msgid "Automatically reboot or kexec discovered host during provisioning"
596
637
  msgstr ""
597
638
 
598
- #: ../app/models/setting/discovered.rb:23
639
+ #: ../app/models/setting/discovered.rb:25
599
640
  msgid "The default prefix to use for the host name, must start with a letter"
600
641
  msgstr ""
601
642
 
602
- #: ../app/models/setting/discovered.rb:23
643
+ #: ../app/models/setting/discovered.rb:25
603
644
  msgid "Hostname prefix"
604
645
  msgstr ""
605
646
 
606
- #: ../app/models/setting/discovered.rb:24
647
+ #: ../app/models/setting/discovered.rb:26
607
648
  msgid "Extra facter columns to show in host lists (separate by comma)"
608
649
  msgstr ""
609
650
 
610
- #: ../app/models/setting/discovered.rb:24
651
+ #: ../app/models/setting/discovered.rb:26
611
652
  msgid "Fact columns"
612
653
  msgstr ""
613
654
 
614
- #: ../app/models/setting/discovered.rb:25
655
+ #: ../app/models/setting/discovered.rb:27
615
656
  msgid "Regex to organize facts for highlights section - e.g. ^(abc|cde)$"
616
657
  msgstr ""
617
658
 
618
- #: ../app/models/setting/discovered.rb:25
659
+ #: ../app/models/setting/discovered.rb:27
619
660
  msgid "Highlighted facts"
620
661
  msgstr ""
621
662
 
622
- #: ../app/models/setting/discovered.rb:26
663
+ #: ../app/models/setting/discovered.rb:28
623
664
  msgid "Regex to organize facts for storage section"
624
665
  msgstr ""
625
666
 
626
- #: ../app/models/setting/discovered.rb:26
667
+ #: ../app/models/setting/discovered.rb:28
627
668
  msgid "Storage facts"
628
669
  msgstr ""
629
670
 
630
- #: ../app/models/setting/discovered.rb:27
671
+ #: ../app/models/setting/discovered.rb:29
631
672
  msgid "Regex to organize facts for software section"
632
673
  msgstr ""
633
674
 
634
- #: ../app/models/setting/discovered.rb:27
675
+ #: ../app/models/setting/discovered.rb:29
635
676
  msgid "Software facts"
636
677
  msgstr ""
637
678
 
638
- #: ../app/models/setting/discovered.rb:28
679
+ #: ../app/models/setting/discovered.rb:30
639
680
  msgid "Regex to organize facts for hardware section"
640
681
  msgstr ""
641
682
 
642
- #: ../app/models/setting/discovered.rb:28
683
+ #: ../app/models/setting/discovered.rb:30
643
684
  msgid "Hardware facts"
644
685
  msgstr ""
645
686
 
646
- #: ../app/models/setting/discovered.rb:29
687
+ #: ../app/models/setting/discovered.rb:31
647
688
  msgid "Regex to organize facts for network section"
648
689
  msgstr ""
649
690
 
650
- #: ../app/models/setting/discovered.rb:29
691
+ #: ../app/models/setting/discovered.rb:31
651
692
  msgid "Network facts"
652
693
  msgstr ""
653
694
 
654
- #: ../app/models/setting/discovered.rb:30
695
+ #: ../app/models/setting/discovered.rb:32
655
696
  msgid "Regex to organize facts for ipmi section"
656
697
  msgstr ""
657
698
 
658
- #: ../app/models/setting/discovered.rb:30
699
+ #: ../app/models/setting/discovered.rb:32
659
700
  msgid "IPMI facts"
660
701
  msgstr ""
661
702
 
662
- #: ../app/models/setting/discovered.rb:31
703
+ #: ../app/models/setting/discovered.rb:33
663
704
  msgid ""
664
705
  "Automatically generate PXE configuration to pin a newly discovered host to dis"
665
706
  "covery"
666
707
  msgstr ""
667
708
 
668
- #: ../app/models/setting/discovered.rb:31
709
+ #: ../app/models/setting/discovered.rb:33
669
710
  msgid "Lock PXE"
670
711
  msgstr ""
671
712
 
672
- #: ../app/models/setting/discovered.rb:32
713
+ #: ../app/models/setting/discovered.rb:34
673
714
  msgid "PXELinux template to be used when pinning a host to discovery"
674
715
  msgstr ""
675
716
 
676
- #: ../app/models/setting/discovered.rb:32
717
+ #: ../app/models/setting/discovered.rb:34
677
718
  msgid "Locked PXELinux template name"
678
719
  msgstr ""
679
720
 
680
- #: ../app/models/setting/discovered.rb:33
721
+ #: ../app/models/setting/discovered.rb:35
681
722
  msgid "PXEGrub template to be used when pinning a host to discovery"
682
723
  msgstr ""
683
724
 
684
- #: ../app/models/setting/discovered.rb:33
725
+ #: ../app/models/setting/discovered.rb:35
685
726
  msgid "Locked PXEGrub template name"
686
727
  msgstr ""
687
728
 
688
- #: ../app/models/setting/discovered.rb:34
729
+ #: ../app/models/setting/discovered.rb:36
689
730
  msgid "PXEGrub2 template to be used when pinning a host to discovery"
690
731
  msgstr ""
691
732
 
692
- #: ../app/models/setting/discovered.rb:34
733
+ #: ../app/models/setting/discovered.rb:36
693
734
  msgid "Locked PXEGrub2 template name"
694
735
  msgstr ""
695
736
 
696
- #: ../app/models/setting/discovered.rb:35
737
+ #: ../app/models/setting/discovered.rb:37
697
738
  msgid "Force DNS entries creation when provisioning discovered host"
698
739
  msgstr ""
699
740
 
700
- #: ../app/models/setting/discovered.rb:35
741
+ #: ../app/models/setting/discovered.rb:37
701
742
  msgid "Force DNS"
702
743
  msgstr ""
703
744
 
704
- #: ../app/models/setting/discovered.rb:36
745
+ #: ../app/models/setting/discovered.rb:38
705
746
  msgid ""
706
747
  "Do not allow to discover existing managed host matching MAC of a provisioning "
707
748
  "NIC (errors out early)"
708
749
  msgstr ""
709
750
 
710
- #: ../app/models/setting/discovered.rb:36
751
+ #: ../app/models/setting/discovered.rb:38
711
752
  msgid "Error on existing NIC"
712
753
  msgstr ""
713
754
 
714
- #: ../app/models/setting/discovered.rb:37
755
+ #: ../app/models/setting/discovered.rb:39
715
756
  msgid "Discovery hostname naming pattern"
716
757
  msgstr ""
717
758
 
718
- #: ../app/models/setting/discovered.rb:37
759
+ #: ../app/models/setting/discovered.rb:39
719
760
  msgid "Type of name generator"
720
761
  msgstr ""
721
762
 
@@ -733,18 +774,24 @@ msgid ""
733
774
  "filter}"
734
775
  msgstr ""
735
776
 
736
- #: ../app/services/foreman_discovery/host_converter.rb:39
777
+ #: ../app/services/foreman_discovery/host_converter.rb:47
737
778
  msgid "IPAM must be configured for subnet '%s'"
738
779
  msgstr ""
739
780
 
740
- #: ../app/services/foreman_discovery/node_api/node_resource.rb:75
781
+ #: ../app/services/foreman_discovery/node_api/node_resource.rb:76
741
782
  msgid "Image API returned HTTP/%{code} with '%{body}"
742
783
  msgstr ""
743
784
 
744
- #: ../app/services/foreman_discovery/node_api/node_resource.rb:78
785
+ #: ../app/services/foreman_discovery/node_api/node_resource.rb:79
745
786
  msgid "Image API processing error: %{msg} (HTTP/%{code}, body: %{body})"
746
787
  msgstr ""
747
788
 
789
+ #: ../app/views/dashboard/_discovery_widget.html.erb:5
790
+ msgid "Discovered Host"
791
+ msgid_plural "Discovered Hosts"
792
+ msgstr[0] ""
793
+ msgstr[1] ""
794
+
748
795
  #: ../app/views/dashboard/_discovery_widget.html.erb:9
749
796
  msgid "No discovered hosts available"
750
797
  msgstr ""
@@ -775,11 +822,11 @@ msgstr ""
775
822
  msgid "Memory"
776
823
  msgstr ""
777
824
 
778
- #: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:25
825
+ #: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:23
779
826
  msgid "Customize Host"
780
827
  msgstr ""
781
828
 
782
- #: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:26
829
+ #: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:24
783
830
  msgid "Create Host"
784
831
  msgstr ""
785
832
 
@@ -893,20 +940,6 @@ msgstr ""
893
940
  msgid "Collapse All"
894
941
  msgstr ""
895
942
 
896
- #: ../app/views/discovered_hosts/welcome.html.erb:7
897
- msgid "No discovered hosts found in this context."
898
- msgstr ""
899
-
900
- #: ../app/views/discovered_hosts/welcome.html.erb:8
901
- msgid ""
902
- "This page shows discovered bare-metal or virtual nodes waiting to be provision"
903
- "ed."
904
- msgstr ""
905
-
906
- #: ../app/views/discovered_hosts/welcome.html.erb:9
907
- msgid "Learn more about this in the documentation."
908
- msgstr ""
909
-
910
943
  #: ../app/views/discovered_mailer/discovered_summary.html.erb:6
911
944
  msgid "Summary report for discovered hosts from Foreman"
912
945
  msgstr ""
@@ -1014,7 +1047,7 @@ msgid "Edit %s"
1014
1047
  msgstr ""
1015
1048
 
1016
1049
  #: ../app/views/discovery_rules/index.html.erb:1
1017
- #: ../lib/foreman_discovery/engine.rb:163
1050
+ #: ../lib/foreman_discovery/engine.rb:164
1018
1051
  msgid "Discovery Rules"
1019
1052
  msgstr ""
1020
1053
 
@@ -1070,32 +1103,32 @@ msgstr ""
1070
1103
  msgid "Details"
1071
1104
  msgstr ""
1072
1105
 
1073
- #: ../lib/foreman_discovery/engine.rb:179
1106
+ #: ../lib/foreman_discovery/engine.rb:180
1074
1107
  msgid "Discovery Kexec template"
1075
1108
  msgstr ""
1076
1109
 
1077
- #: ../lib/foreman_discovery/engine.rb:188
1110
+ #: ../lib/foreman_discovery/engine.rb:189
1078
1111
  msgid "Discovery Proxy"
1079
1112
  msgstr ""
1080
1113
 
1081
- #: ../lib/foreman_discovery/engine.rb:189
1114
+ #: ../lib/foreman_discovery/engine.rb:190
1082
1115
  msgid ""
1083
1116
  "Discovery Proxy to use within this subnet for managing connection to discovere"
1084
1117
  "d hosts"
1085
1118
  msgstr ""
1086
1119
 
1087
- #: ../lib/foreman_discovery/engine.rb:190
1120
+ #: ../lib/foreman_discovery/engine.rb:191
1088
1121
  msgid ""
1089
1122
  "ID of Discovery Proxy to use within this subnet for managing connection to dis"
1090
1123
  "covered hosts"
1091
1124
  msgstr ""
1092
1125
 
1093
1126
  #: action_names.rb:2
1094
- msgid "Import Puppet classes"
1127
+ msgid "Remote action:"
1095
1128
  msgstr ""
1096
1129
 
1097
1130
  #: action_names.rb:3
1098
- msgid "Import facts"
1131
+ msgid "Import Puppet classes"
1099
1132
  msgstr ""
1100
1133
 
1101
1134
  #: action_names.rb:4
@@ -1103,5 +1136,5 @@ msgid "Action with sub plans"
1103
1136
  msgstr ""
1104
1137
 
1105
1138
  #: action_names.rb:5
1106
- msgid "Remote action:"
1139
+ msgid "Import facts"
1107
1140
  msgstr ""