foreman_discovery 13.0.1 → 14.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/concerns/foreman/controller/discovered_extensions.rb +3 -1
  3. data/app/models/host/discovered.rb +8 -78
  4. data/app/models/host/managed_extensions.rb +3 -3
  5. data/app/models/nic/managed_extensions.rb +1 -1
  6. data/app/services/foreman_discovery/import_hook.rb +12 -0
  7. data/app/services/foreman_discovery/import_hook_service.rb +24 -0
  8. data/app/services/foreman_discovery/import_hooks/discovery_attribute.rb +33 -0
  9. data/app/services/foreman_discovery/import_hooks/lldp_neighbor.rb +11 -0
  10. data/app/services/foreman_discovery/import_hooks/lock_templates.rb +27 -0
  11. data/app/services/foreman_discovery/import_hooks/subnet_and_taxonomy.rb +63 -0
  12. data/app/views/discovered_hosts/_discovered_hosts_list.html.erb +1 -1
  13. data/app/views/foreman_discovery/debian_kexec.erb +4 -3
  14. data/app/views/foreman_discovery/redhat_kexec.erb +4 -2
  15. data/db/migrate/20141223142759_fill_discovery_attribute_sets_for_existing_hosts.rb +1 -2
  16. data/db/seeds.d/50_discovery_templates.rb +9 -2
  17. data/extra/discover-host +1 -1
  18. data/lib/foreman_discovery/engine.rb +1 -1
  19. data/lib/foreman_discovery/version.rb +1 -1
  20. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  21. data/locale/ca/foreman_discovery.edit.po +100 -61
  22. data/locale/ca/foreman_discovery.po +31 -4
  23. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  24. data/locale/de/foreman_discovery.edit.po +111 -71
  25. data/locale/de/foreman_discovery.po +41 -13
  26. data/locale/en/foreman_discovery.edit.po +21 -17
  27. data/locale/en/foreman_discovery.po +3 -0
  28. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  29. data/locale/en_GB/foreman_discovery.edit.po +101 -62
  30. data/locale/en_GB/foreman_discovery.po +31 -4
  31. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  32. data/locale/es/foreman_discovery.edit.po +102 -63
  33. data/locale/es/foreman_discovery.po +32 -5
  34. data/locale/foreman_discovery.pot +24 -19
  35. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  36. data/locale/fr/foreman_discovery.edit.po +102 -63
  37. data/locale/fr/foreman_discovery.po +32 -5
  38. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  39. data/locale/gl/foreman_discovery.edit.po +100 -61
  40. data/locale/gl/foreman_discovery.po +31 -4
  41. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  42. data/locale/it/foreman_discovery.edit.po +102 -63
  43. data/locale/it/foreman_discovery.po +32 -5
  44. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  45. data/locale/ja/foreman_discovery.edit.po +102 -63
  46. data/locale/ja/foreman_discovery.po +32 -5
  47. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  48. data/locale/ko/foreman_discovery.edit.po +101 -62
  49. data/locale/ko/foreman_discovery.po +31 -4
  50. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  51. data/locale/pt_BR/foreman_discovery.edit.po +102 -63
  52. data/locale/pt_BR/foreman_discovery.po +32 -5
  53. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  54. data/locale/ru/foreman_discovery.edit.po +102 -63
  55. data/locale/ru/foreman_discovery.po +32 -5
  56. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  57. data/locale/sv_SE/foreman_discovery.edit.po +101 -62
  58. data/locale/sv_SE/foreman_discovery.po +32 -5
  59. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  60. data/locale/zh_CN/foreman_discovery.edit.po +101 -62
  61. data/locale/zh_CN/foreman_discovery.po +31 -4
  62. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  63. data/locale/zh_TW/foreman_discovery.edit.po +102 -63
  64. data/locale/zh_TW/foreman_discovery.po +32 -5
  65. data/test/factories/discovery_host_related.rb +1 -1
  66. data/test/factories/discovery_rule_related.rb +4 -4
  67. data/{extra/discovery → test/facts}/default.json +0 -0
  68. data/{extra/discovery/many_ems.json → test/facts/dell_npars.json} +5 -7
  69. data/test/facts/dell_vlan.json +328 -0
  70. data/test/{unit → facts}/facts_with_lldp.json +0 -0
  71. data/test/{unit → facts}/facts_with_lldp_bond_candidate.json +0 -0
  72. data/test/facts/puppet3-virtual.json +109 -0
  73. data/{extra/discovery → test/facts}/pxeless-vlan.json +0 -0
  74. data/test/{unit/facts.json → facts/regular_host.json} +0 -0
  75. data/{extra/discovery → test/facts}/rhel-dl380-1kdisks.json +0 -0
  76. data/{extra/discovery → test/facts}/rhel-r730.json +0 -0
  77. data/{extra/discovery → test/facts}/rhel7-vlan.json +0 -0
  78. data/{extra/discovery → test/facts}/simple-bond.json +0 -0
  79. data/{extra/discovery → test/facts}/suse-vmware.json +0 -0
  80. data/test/facts/vmware_local.json +226 -0
  81. data/test/functional/api/v2/discovered_hosts_controller_test.rb +1 -1
  82. data/test/functional/api/v2/discovery_rules_controller_test.rb +1 -1
  83. data/test/functional/api/v2/fact_value_extensions_test.rb +1 -1
  84. data/test/functional/api/v2/settings_controller_test.rb +1 -1
  85. data/test/functional/discovered_hosts_controller_test.rb +3 -2
  86. data/test/functional/discovery_rules_controller_test.rb +3 -2
  87. data/test/functional/foreman_discovery/concerns/hosts_controller_extensions_test.rb +1 -1
  88. data/test/integration/discovered_hosts_test.rb +1 -1
  89. data/test/models/setting_test.rb +1 -1
  90. data/test/test_helper_discovery.rb +6 -2
  91. data/test/test_plugin_helper.rb +2 -3
  92. data/test/unit/discovered_extensions_test.rb +7 -3
  93. data/test/unit/discovered_mailer_test.rb +1 -1
  94. data/test/unit/discovery_attribute_set_test.rb +2 -6
  95. data/test/unit/discovery_rule_test.rb +1 -1
  96. data/test/unit/discovery_taxonomy_extensions_test.rb +5 -6
  97. data/test/unit/fact_parser_test.rb +1 -1
  98. data/test/unit/host_discovered_test.rb +36 -36
  99. data/test/unit/lldp_neighbors_test.rb +3 -7
  100. data/test/unit/managed_extensions_test.rb +4 -7
  101. data/test/unit/setting_discovered_test.rb +1 -1
  102. data/test/unit/ui_notifications/destroy_host_test.rb +1 -5
  103. data/test/unit/ui_notifications/new_host_test.rb +2 -6
  104. metadata +38 -16
@@ -11,8 +11,8 @@ msgid ""
11
11
  msgstr ""
12
12
  "Project-Id-Version: foreman_discovery 13.0.0\n"
13
13
  "Report-Msgid-Bugs-To: \n"
14
- "PO-Revision-Date: 2018-06-15 10:50+0000\n"
15
- "Last-Translator: Lukáš Zapletal\n"
14
+ "PO-Revision-Date: 2018-10-25 20:13+0000\n"
15
+ "Last-Translator: Félix Barbeira <fbarbeira@gmail.com>\n"
16
16
  "Language-Team: Spanish (http://www.transifex.com/foreman/foreman/language/es/)"
17
17
  "\n"
18
18
  "MIME-Version: 1.0\n"
@@ -36,6 +36,9 @@ msgstr "<b>Foreman</b> Resumen de hosts detectados"
36
36
  msgid "A summary of discovered hosts"
37
37
  msgstr "Resumen de los hosts detectados"
38
38
 
39
+ msgid "Actions"
40
+ msgstr "Acciones"
41
+
39
42
  msgid "Assign Location"
40
43
  msgstr "Asignar Lugar"
41
44
 
@@ -51,6 +54,9 @@ msgstr "Autoaprovisionamiento"
51
54
  msgid "Auto provisioning"
52
55
  msgstr "Autoaprovisionamiento"
53
56
 
57
+ msgid "Automatic bond interface (if another interface is detected on the same VLAN via LLDP)"
58
+ msgstr ""
59
+
54
60
  msgid "Automatically generate PXE configuration to pin a newly discovered host to discovery"
55
61
  msgstr "Generar configuración PXE en forma automática para adjuntar un host descubierto recientemente a la detección"
56
62
 
@@ -78,6 +84,9 @@ msgstr "Eliminar todos los eventos informados durante el aprovisionamiento (exce
78
84
  msgid "Collapse All"
79
85
  msgstr "Colapsó todo"
80
86
 
87
+ msgid "Command line options for kexec during PXE-less provisioning."
88
+ msgstr ""
89
+
81
90
  msgid "Could not get facts from proxy %{url}: %{error}"
82
91
  msgstr "No pudieron obtenerse los eventos del proxy %{url}: %{error}"
83
92
 
@@ -93,6 +102,9 @@ msgstr "Crear un host detectado para utilizar en pruebas (utilizar/hechos para c
93
102
  msgid "Create a discovery rule"
94
103
  msgstr "Crear una regla de detección"
95
104
 
105
+ msgid "Create bond interfaces"
106
+ msgstr ""
107
+
96
108
  msgid "Customize Host"
97
109
  msgstr "Personalizar host"
98
110
 
@@ -165,6 +177,9 @@ msgstr "Reglas de detección"
165
177
  msgid "Discovery fact parser does not work with non-discovery host '%{host}'"
166
178
  msgstr ""
167
179
 
180
+ msgid "Discovery hostname naming pattern"
181
+ msgstr ""
182
+
168
183
  msgid "Discovery location"
169
184
  msgstr "Ubicación de la detección"
170
185
 
@@ -234,6 +249,9 @@ msgstr "Falta el discovery_fact '%s' esperado. No es posible detectar la interfa
234
249
  msgid "Extra facter columns to show in host lists (separate by comma)"
235
250
  msgstr "Columnas de eventos adicionales para mostrar en las listas de hosts (separados por comas)"
236
251
 
252
+ msgid "Fact + prefix"
253
+ msgstr ""
254
+
237
255
  msgid "Fact columns"
238
256
  msgstr "Columnas de eventos"
239
257
 
@@ -373,6 +391,9 @@ msgstr "Eventos inválidos: el hash no contiene un valor válido para ninguno de
373
391
  msgid "Invalid hostname: Could not normalize the hostname"
374
392
  msgstr "Nombre de host inválido: no es posible normalizar el nombre de host"
375
393
 
394
+ msgid "Invalid user type of %s was provided"
395
+ msgstr ""
396
+
376
397
  msgid "Kernel kexec URL is invalid: '%s'"
377
398
  msgstr "La URL del kexec del kernel no es válida: '%s'"
378
399
 
@@ -418,6 +439,9 @@ msgstr "Nombre de plantilla PXELinux bloqueada"
418
439
  msgid "MAC address"
419
440
  msgstr "Dirección MAC"
420
441
 
442
+ msgid "MAC-based name"
443
+ msgstr ""
444
+
421
445
  msgid "Maximum hosts provisioned with this rule (0 = unlimited)"
422
446
  msgstr "Hosts máximos aprovisionados con esta regla (0 = ilimitado)"
423
447
 
@@ -430,9 +454,6 @@ msgstr "Miscelánea"
430
454
  msgid "Model"
431
455
  msgstr "Modelo"
432
456
 
433
- msgid "Must specify a user with email enabled"
434
- msgstr "Debe especificar un usuario con el correo-e habilitado"
435
-
436
457
  msgid "N/A"
437
458
  msgstr "N/A"
438
459
 
@@ -517,6 +538,9 @@ msgstr "Aprovisionar %s"
517
538
  msgid "Provision a discovered host"
518
539
  msgstr "Aprovisionar un host detectado"
519
540
 
541
+ msgid "Random name"
542
+ msgstr ""
543
+
520
544
  msgid "Reboot"
521
545
  msgstr "Reiniciar"
522
546
 
@@ -649,6 +673,9 @@ msgstr "Esta página muestra los nodos sin sistema operativo o virtuales detecta
649
673
  msgid "Type"
650
674
  msgstr "Tipo"
651
675
 
676
+ msgid "Type of name generator"
677
+ msgstr "Tipo de generador de nombre"
678
+
652
679
  msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
653
680
  msgstr "UUID para seguir el estado de la tarea de orquestación, GET /api/orchestration/:UUID/tasks"
654
681
 
@@ -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: 2018-08-07 10:21+0200\n"
12
- "PO-Revision-Date: 2018-08-07 10:21+0200\n"
11
+ "POT-Creation-Date: 2018-11-05 08:34+0100\n"
12
+ "PO-Revision-Date: 2018-11-05 08:34+0100\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
15
  "Language: \n"
@@ -213,11 +213,11 @@ msgstr ""
213
213
  msgid "No hostgroup associated with rule '%s'"
214
214
  msgstr ""
215
215
 
216
- #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:71
216
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:73
217
217
  msgid "Errors during reboot: %s"
218
218
  msgstr ""
219
219
 
220
- #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:89
220
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:91
221
221
  msgid "No discovered hosts to reboot"
222
222
  msgstr ""
223
223
 
@@ -458,51 +458,51 @@ msgid_plural "Host group locations %s must also be associated to the discovery r
458
458
  msgstr[0] ""
459
459
  msgstr[1] ""
460
460
 
461
- #: ../app/models/host/discovered.rb:46
461
+ #: ../app/models/host/discovered.rb:45
462
462
  msgid "Fact + prefix"
463
463
  msgstr ""
464
464
 
465
- #: ../app/models/host/discovered.rb:47
465
+ #: ../app/models/host/discovered.rb:46
466
466
  msgid "Random name"
467
467
  msgstr ""
468
468
 
469
- #: ../app/models/host/discovered.rb:48
469
+ #: ../app/models/host/discovered.rb:47
470
470
  msgid "MAC-based name"
471
471
  msgstr ""
472
472
 
473
- #: ../app/models/host/discovered.rb:57
473
+ #: ../app/models/host/discovered.rb:56
474
474
  msgid "Invalid facts, must be a Hash"
475
475
  msgstr ""
476
476
 
477
- #: ../app/models/host/discovered.rb:62
477
+ #: ../app/models/host/discovered.rb:61
478
478
  msgid ""
479
479
  "Expected discovery_fact '%s' is missing, unable to detect primary interface an"
480
480
  "d set hostname"
481
481
  msgstr ""
482
482
 
483
- #: ../app/models/host/discovered.rb:75
483
+ #: ../app/models/host/discovered.rb:74
484
484
  msgid ""
485
485
  "Invalid facts: hash does not contain a valid value for any of the facts in the"
486
486
  " discovery_hostname setting: %s"
487
487
  msgstr ""
488
488
 
489
- #: ../app/models/host/discovered.rb:101
489
+ #: ../app/models/host/discovered.rb:100
490
490
  msgid "Facts could not be imported"
491
491
  msgstr ""
492
492
 
493
- #: ../app/models/host/discovered.rb:225
493
+ #: ../app/models/host/discovered.rb:155
494
494
  msgid "Could not get facts from proxy %{url}: %{error}"
495
495
  msgstr ""
496
496
 
497
- #: ../app/models/host/discovered.rb:233
497
+ #: ../app/models/host/discovered.rb:163
498
498
  msgid "Unable to reboot %{name} via %{url}: %{msg}"
499
499
  msgstr ""
500
500
 
501
- #: ../app/models/host/discovered.rb:241
501
+ #: ../app/models/host/discovered.rb:171
502
502
  msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
503
503
  msgstr ""
504
504
 
505
- #: ../app/models/host/discovered.rb:260
505
+ #: ../app/models/host/discovered.rb:190
506
506
  msgid "Invalid hostname: Could not normalize the hostname"
507
507
  msgstr ""
508
508
 
@@ -825,6 +825,11 @@ msgstr ""
825
825
  msgid "Last Facts Upload"
826
826
  msgstr ""
827
827
 
828
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:24
829
+ #: ../app/views/discovery_rules/index.html.erb:12
830
+ msgid "Actions"
831
+ msgstr ""
832
+
828
833
  #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:60
829
834
  msgid "Please Confirm"
830
835
  msgstr ""
@@ -1035,14 +1040,14 @@ msgstr ""
1035
1040
  msgid "DiscoveryRule|Enabled"
1036
1041
  msgstr ""
1037
1042
 
1038
- #: ../app/views/discovery_rules/index.html.erb:12
1039
- msgid "Actions"
1040
- msgstr ""
1041
-
1042
1043
  #: ../app/views/discovery_rules/new.html.erb:1
1043
1044
  msgid "New Discovery Rule"
1044
1045
  msgstr ""
1045
1046
 
1047
+ #: ../db/seeds.d/50_discovery_templates.rb:5
1048
+ msgid "Command line options for kexec during PXE-less provisioning."
1049
+ msgstr ""
1050
+
1046
1051
  #: ../db/seeds.d/70_discovery_mail_notification.rb:3
1047
1052
  msgid "A summary of discovered hosts"
1048
1053
  msgstr ""
@@ -10,9 +10,9 @@ msgid ""
10
10
  msgstr ""
11
11
  "Project-Id-Version: foreman_discovery 13.0.0\n"
12
12
  "Report-Msgid-Bugs-To: \n"
13
- "POT-Creation-Date: 2018-06-15 11:25+0200\n"
14
- "PO-Revision-Date: 2018-07-26 15:02+0000\n"
15
- "Last-Translator: Baptiste Agasse <baptiste.agasse@gmail.com>\n"
13
+ "POT-Creation-Date: 2018-10-25 13:56+0200\n"
14
+ "PO-Revision-Date: 2018-10-25 20:13+0000\n"
15
+ "Last-Translator: Pierre-Emmanuel Dutang <dutangp@gmail.com>\n"
16
16
  "Language-Team: French (http://www.transifex.com/foreman/foreman/language/fr/)\n"
17
17
  "MIME-Version: 1.0\n"
18
18
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -198,11 +198,11 @@ msgstr "ID d'organisation pour les hôtes mis en service"
198
198
  msgid "Create a discovery rule"
199
199
  msgstr "Créer une règle de détection"
200
200
 
201
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:52
201
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:53
202
202
  msgid "Update a rule"
203
203
  msgstr "Mettre à jour une règle"
204
204
 
205
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:60
205
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:61
206
206
  msgid "Delete a rule"
207
207
  msgstr "Supprimer une règle"
208
208
 
@@ -218,11 +218,11 @@ msgstr "Impossible de trouver une règle de détection, aucun hôte fourni (vér
218
218
  msgid "No hostgroup associated with rule '%s'"
219
219
  msgstr "Aucun groupe d'hôtes associé à la règle '%s'"
220
220
 
221
- #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:71
221
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:73
222
222
  msgid "Errors during reboot: %s"
223
223
  msgstr "Erreurs lors du redémarrage : %s"
224
224
 
225
- #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:89
225
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:91
226
226
  msgid "No discovered hosts to reboot"
227
227
  msgstr "Aucun hôte détecté pour le redémarrage"
228
228
 
@@ -343,7 +343,7 @@ msgstr "Rafraichir les facts"
343
343
 
344
344
  #: ../app/helpers/discovered_hosts_helper.rb:16
345
345
  #: ../app/helpers/discovered_hosts_helper.rb:30
346
- #: ../app/models/setting/discovered.rb:23
346
+ #: ../app/models/setting/discovered.rb:24
347
347
  #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:48
348
348
  msgid "Reboot"
349
349
  msgstr "Redémarrer"
@@ -431,27 +431,27 @@ msgstr "Activer la règle '%s' ?"
431
431
  msgid "Delete rule '%s'?"
432
432
  msgstr "Supprimer la règle '%s' ?"
433
433
 
434
- #: ../app/mailers/discovered_mailer.rb:4
435
- msgid "Must specify a user with email enabled"
436
- msgstr "Vous devez spécifier un utilisateur avec l'option mail active"
434
+ #: ../app/mailers/discovered_mailer.rb:9
435
+ msgid "Invalid user type of %s was provided"
436
+ msgstr ""
437
437
 
438
- #: ../app/mailers/discovered_mailer.rb:15
438
+ #: ../app/mailers/discovered_mailer.rb:26
439
439
  msgid "Discovered hosts summary"
440
440
  msgstr "Synthèse des hôtes détectés"
441
441
 
442
- #: ../app/models/discovery_rule.rb:10
442
+ #: ../app/models/discovery_rule.rb:11
443
443
  msgid "can't contain white spaces."
444
444
  msgstr "ne peut pas contenir des espaces blancs."
445
445
 
446
- #: ../app/models/discovery_rule.rb:12
446
+ #: ../app/models/discovery_rule.rb:13
447
447
  msgid "must start with a letter or ERB."
448
448
  msgstr "doit commencer par une lettre ou par ERB."
449
449
 
450
- #: ../app/models/discovery_rule.rb:15
450
+ #: ../app/models/discovery_rule.rb:16
451
451
  msgid "must be present."
452
452
  msgstr "doit être présent."
453
453
 
454
- #: ../app/models/discovery_rule.rb:48
454
+ #: ../app/models/discovery_rule.rb:53
455
455
  msgid ""
456
456
  "Host group organization %s must also be associated to the discovery rule"
457
457
  msgid_plural ""
@@ -459,46 +459,58 @@ msgid_plural ""
459
459
  msgstr[0] "L'organisation %s du groupe d'hôtes doit aussi être associé à la règle de découverte"
460
460
  msgstr[1] "Les organisations %s du groupe d'hôtes doivent aussi être associés à la règle de découverte"
461
461
 
462
- #: ../app/models/discovery_rule.rb:54
462
+ #: ../app/models/discovery_rule.rb:59
463
463
  msgid "Host group location %s must also be associated to the discovery rule"
464
464
  msgid_plural ""
465
465
  "Host group locations %s must also be associated to the discovery rule"
466
466
  msgstr[0] "L'emplacement %s du groupe d'hôtes doit aussi être associé à la règle de découverte"
467
467
  msgstr[1] "Les emplacements %s du groupe d'hôtes doivent aussi être associés à la règle de découverte"
468
468
 
469
- #: ../app/models/host/discovered.rb:51
469
+ #: ../app/models/host/discovered.rb:45
470
+ msgid "Fact + prefix"
471
+ msgstr ""
472
+
473
+ #: ../app/models/host/discovered.rb:46
474
+ msgid "Random name"
475
+ msgstr ""
476
+
477
+ #: ../app/models/host/discovered.rb:47
478
+ msgid "MAC-based name"
479
+ msgstr ""
480
+
481
+ #: ../app/models/host/discovered.rb:56
470
482
  msgid "Invalid facts, must be a Hash"
471
483
  msgstr "Facts non valides, doit être un hachage"
472
484
 
473
- #: ../app/models/host/discovered.rb:56
485
+ #: ../app/models/host/discovered.rb:61
474
486
  msgid ""
475
487
  "Expected discovery_fact '%s' is missing, unable to detect primary interface "
476
488
  "and set hostname"
477
489
  msgstr "discovery_fact '%s' attendu manquant. Impossible de détecter l'interface principale et de définir le nom d'hôte"
478
490
 
479
- #: ../app/models/host/discovered.rb:63
491
+ #: ../app/models/host/discovered.rb:74
480
492
  msgid ""
481
493
  "Invalid facts: hash does not contain a valid value for any of the facts in "
482
494
  "the discovery_hostname setting: %s"
483
495
  msgstr "Facts non valides : le hachage ne contient pas de valeur valide pour les facts du paramètre discovery_hostname : %s"
484
496
 
485
- #: ../app/models/host/discovered.rb:89
497
+ #: ../app/models/host/discovered.rb:100
486
498
  msgid "Facts could not be imported"
487
499
  msgstr "Impossible d'importer les facts"
488
500
 
489
- #: ../app/models/host/discovered.rb:212
501
+ #: ../app/models/host/discovered.rb:155
490
502
  msgid "Could not get facts from proxy %{url}: %{error}"
491
503
  msgstr "Impossible d'obtenir les facts du proxy %{url} : %{error}"
492
504
 
493
- #: ../app/models/host/discovered.rb:220
505
+ #: ../app/models/host/discovered.rb:163
494
506
  msgid "Unable to reboot %{name} via %{url}: %{msg}"
495
507
  msgstr "Impossible de redémarrer %{name} via %{url} : %{msg}"
496
508
 
497
- #: ../app/models/host/discovered.rb:228
509
+ #: ../app/models/host/discovered.rb:171
498
510
  msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
499
511
  msgstr "Impossible d'exécuter kexec sur %{name} via %{url} : %{msg}"
500
512
 
501
- #: ../app/models/host/discovered.rb:247
513
+ #: ../app/models/host/discovered.rb:190
502
514
  msgid "Invalid hostname: Could not normalize the hostname"
503
515
  msgstr "Nom d'hôte non valide. Impossible de normaliser le nom d'hôte"
504
516
 
@@ -535,164 +547,182 @@ msgid "Interface fact"
535
547
  msgstr "Fact d'interface"
536
548
 
537
549
  #: ../app/models/setting/discovered.rb:20
550
+ msgid ""
551
+ "Automatic bond interface (if another interface is detected on the same VLAN "
552
+ "via LLDP)"
553
+ msgstr ""
554
+
555
+ #: ../app/models/setting/discovered.rb:20
556
+ msgid "Create bond interfaces"
557
+ msgstr ""
558
+
559
+ #: ../app/models/setting/discovered.rb:21
538
560
  msgid "Clean all reported facts during provisioning (except discovery facts)"
539
561
  msgstr "Nettoyer tous les facts signalés pendant le provisioning (sauf les facts de détection)"
540
562
 
541
- #: ../app/models/setting/discovered.rb:20
563
+ #: ../app/models/setting/discovered.rb:21
542
564
  msgid "Clean all facts"
543
565
  msgstr "Nettoyer tous les facts"
544
566
 
545
- #: ../app/models/setting/discovered.rb:21
567
+ #: ../app/models/setting/discovered.rb:22
546
568
  msgid "List of facts to use for the hostname (separated by comma, first wins)"
547
569
  msgstr "Liste des facts à utiliser pour le nom d'hôte (séparés par une virgule, le premier l'emporte)"
548
570
 
549
- #: ../app/models/setting/discovered.rb:21
571
+ #: ../app/models/setting/discovered.rb:22
550
572
  msgid "Hostname facts"
551
573
  msgstr "Facts du nom d'hôte"
552
574
 
553
- #: ../app/models/setting/discovered.rb:22
575
+ #: ../app/models/setting/discovered.rb:23
554
576
  msgid ""
555
577
  "Automatically provision newly discovered hosts, according to the "
556
578
  "provisioning rules"
557
579
  msgstr "Provisionner automatiquement les hôtes récemment détectés conformément aux règles de provisioning"
558
580
 
559
- #: ../app/models/setting/discovered.rb:22
581
+ #: ../app/models/setting/discovered.rb:23
560
582
  msgid "Auto provisioning"
561
583
  msgstr "Provisioning automatique"
562
584
 
563
- #: ../app/models/setting/discovered.rb:23
585
+ #: ../app/models/setting/discovered.rb:24
564
586
  msgid "Automatically reboot or kexec discovered host during provisioning"
565
587
  msgstr "Redémarrer automatiquement ou effectuer un kexec sur l'hôte détecté pendant le provisioning"
566
588
 
567
- #: ../app/models/setting/discovered.rb:24
589
+ #: ../app/models/setting/discovered.rb:25
568
590
  msgid "The default prefix to use for the host name, must start with a letter"
569
591
  msgstr "Préfixe par défaut à utiliser pour le nom d'hôte, doit commencer par une lettre"
570
592
 
571
- #: ../app/models/setting/discovered.rb:24
593
+ #: ../app/models/setting/discovered.rb:25
572
594
  msgid "Hostname prefix"
573
595
  msgstr "Préfixe du nom d'hôte"
574
596
 
575
- #: ../app/models/setting/discovered.rb:25
597
+ #: ../app/models/setting/discovered.rb:26
576
598
  msgid "Extra facter columns to show in host lists (separate by comma)"
577
599
  msgstr "Colonnes facter supplémentaires pour un affichage sous forme de listes d'hôtes (séparés par une virgule)"
578
600
 
579
- #: ../app/models/setting/discovered.rb:25
601
+ #: ../app/models/setting/discovered.rb:26
580
602
  msgid "Fact columns"
581
603
  msgstr "Colonnes fact"
582
604
 
583
- #: ../app/models/setting/discovered.rb:26
605
+ #: ../app/models/setting/discovered.rb:27
584
606
  msgid "Regex to organize facts for highlights section - e.g. ^(abc|cde)$"
585
607
  msgstr "Expression régulière pour organiser les facts pour la section surlignages, par ex. ^(abc|cde)$"
586
608
 
587
- #: ../app/models/setting/discovered.rb:26
609
+ #: ../app/models/setting/discovered.rb:27
588
610
  msgid "Highlighted facts"
589
611
  msgstr "Facts surlignés"
590
612
 
591
- #: ../app/models/setting/discovered.rb:27
613
+ #: ../app/models/setting/discovered.rb:28
592
614
  msgid "Regex to organize facts for storage section"
593
615
  msgstr "Expression régulière pour organiser les facts pour la section stockage"
594
616
 
595
- #: ../app/models/setting/discovered.rb:27
617
+ #: ../app/models/setting/discovered.rb:28
596
618
  msgid "Storage facts"
597
619
  msgstr "Facts de stockage"
598
620
 
599
- #: ../app/models/setting/discovered.rb:28
621
+ #: ../app/models/setting/discovered.rb:29
600
622
  msgid "Regex to organize facts for software section"
601
623
  msgstr "Expression régulière pour organiser les facts pour la section logiciel"
602
624
 
603
- #: ../app/models/setting/discovered.rb:28
625
+ #: ../app/models/setting/discovered.rb:29
604
626
  msgid "Software facts"
605
627
  msgstr "Facts logiciels"
606
628
 
607
- #: ../app/models/setting/discovered.rb:29
629
+ #: ../app/models/setting/discovered.rb:30
608
630
  msgid "Regex to organize facts for hardware section"
609
631
  msgstr "Expression régulière pour organiser les facts pour la section matériel"
610
632
 
611
- #: ../app/models/setting/discovered.rb:29
633
+ #: ../app/models/setting/discovered.rb:30
612
634
  msgid "Hardware facts"
613
635
  msgstr "Facts matériels"
614
636
 
615
- #: ../app/models/setting/discovered.rb:30
637
+ #: ../app/models/setting/discovered.rb:31
616
638
  msgid "Regex to organize facts for network section"
617
639
  msgstr "Expression régulière pour organiser les facts pour la section réseau"
618
640
 
619
- #: ../app/models/setting/discovered.rb:30
641
+ #: ../app/models/setting/discovered.rb:31
620
642
  msgid "Network facts"
621
643
  msgstr "Facts réseau"
622
644
 
623
- #: ../app/models/setting/discovered.rb:31
645
+ #: ../app/models/setting/discovered.rb:32
624
646
  msgid "Regex to organize facts for ipmi section"
625
647
  msgstr "Expression régulière pour organiser les facts pour la section ipmi"
626
648
 
627
- #: ../app/models/setting/discovered.rb:31
649
+ #: ../app/models/setting/discovered.rb:32
628
650
  msgid "IPMI facts"
629
651
  msgstr "Facts IPMI"
630
652
 
631
- #: ../app/models/setting/discovered.rb:32
653
+ #: ../app/models/setting/discovered.rb:33
632
654
  msgid ""
633
655
  "Automatically generate PXE configuration to pin a newly discovered host to "
634
656
  "discovery"
635
657
  msgstr "Générer automatiquement la configuration PXE pour épingler un hôte récemment détecté"
636
658
 
637
- #: ../app/models/setting/discovered.rb:32
659
+ #: ../app/models/setting/discovered.rb:33
638
660
  msgid "Lock PXE"
639
661
  msgstr "Verrouiller PXE"
640
662
 
641
- #: ../app/models/setting/discovered.rb:33
663
+ #: ../app/models/setting/discovered.rb:34
642
664
  msgid "PXELinux template to be used when pinning a host to discovery"
643
665
  msgstr "Modèle PXELinux à utiliser lors de l'épinglage d'un hôte pour la détection"
644
666
 
645
- #: ../app/models/setting/discovered.rb:33
667
+ #: ../app/models/setting/discovered.rb:34
646
668
  msgid "Locked PXELinux template name"
647
669
  msgstr "Nom de modèle PXELinux verrouillé"
648
670
 
649
- #: ../app/models/setting/discovered.rb:34
671
+ #: ../app/models/setting/discovered.rb:35
650
672
  msgid "PXEGrub template to be used when pinning a host to discovery"
651
673
  msgstr "Modèle PXEGrub à utiliser lors de l'épinglage d'un hôte pour la détection"
652
674
 
653
- #: ../app/models/setting/discovered.rb:34
675
+ #: ../app/models/setting/discovered.rb:35
654
676
  msgid "Locked PXEGrub template name"
655
677
  msgstr "Nom de modèle PXEGrub verrouillé"
656
678
 
657
- #: ../app/models/setting/discovered.rb:35
679
+ #: ../app/models/setting/discovered.rb:36
658
680
  msgid "PXEGrub2 template to be used when pinning a host to discovery"
659
681
  msgstr "Modèle PXEGrub2 à utiliser lors de l'épinglage d'un hôte pour la détection"
660
682
 
661
- #: ../app/models/setting/discovered.rb:35
683
+ #: ../app/models/setting/discovered.rb:36
662
684
  msgid "Locked PXEGrub2 template name"
663
685
  msgstr "Nom de modèle PXEGrub2 verrouillé"
664
686
 
665
- #: ../app/models/setting/discovered.rb:36
687
+ #: ../app/models/setting/discovered.rb:37
666
688
  msgid "Force DNS entries creation when provisioning discovered host"
667
689
  msgstr "Forcer la création des entrées DNS lors du provisioning de l'hôte détecté"
668
690
 
669
- #: ../app/models/setting/discovered.rb:36
691
+ #: ../app/models/setting/discovered.rb:37
670
692
  msgid "Force DNS"
671
693
  msgstr "Forcer DNS"
672
694
 
673
- #: ../app/models/setting/discovered.rb:37
695
+ #: ../app/models/setting/discovered.rb:38
674
696
  msgid ""
675
697
  "Do not allow to discover existing managed host matching MAC of a "
676
698
  "provisioning NIC (errors out early)"
677
699
  msgstr ""
678
700
 
679
- #: ../app/models/setting/discovered.rb:37
701
+ #: ../app/models/setting/discovered.rb:38
680
702
  msgid "Error on existing NIC"
681
703
  msgstr "Erreur sur une carte réseau existante"
682
704
 
683
- #: ../app/models/setting/discovered.rb:44
705
+ #: ../app/models/setting/discovered.rb:39
706
+ msgid "Discovery hostname naming pattern"
707
+ msgstr ""
708
+
709
+ #: ../app/models/setting/discovered.rb:39
710
+ msgid "Type of name generator"
711
+ msgstr "Générateur type de nom"
712
+
713
+ #: ../app/models/setting/discovered.rb:46
684
714
  msgid "The default location to place discovered hosts in"
685
715
  msgstr "Attribution de la localisation par défaut pour les hôtes détectés"
686
716
 
687
- #: ../app/models/setting/discovered.rb:44
717
+ #: ../app/models/setting/discovered.rb:46
688
718
  msgid "Discovery location"
689
719
  msgstr "Emplacement de détection"
690
720
 
691
- #: ../app/models/setting/discovered.rb:52
721
+ #: ../app/models/setting/discovered.rb:54
692
722
  msgid "The default organization to place discovered hosts in"
693
723
  msgstr "Attribution de l'organisation par défaut pour les hôtes détectés"
694
724
 
695
- #: ../app/models/setting/discovered.rb:52
725
+ #: ../app/models/setting/discovered.rb:54
696
726
  msgid "Discovery organization"
697
727
  msgstr "Organisation de détection"
698
728
 
@@ -803,6 +833,11 @@ msgstr "Sous-Réseau"
803
833
  msgid "Last Facts Upload"
804
834
  msgstr "Derniers facts téléchargés"
805
835
 
836
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:24
837
+ #: ../app/views/discovery_rules/index.html.erb:12
838
+ msgid "Actions"
839
+ msgstr "Actions"
840
+
806
841
  #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:60
807
842
  msgid "Please Confirm"
808
843
  msgstr "Merci de confirmer"
@@ -1017,6 +1052,10 @@ msgstr "Activé"
1017
1052
  msgid "New Discovery Rule"
1018
1053
  msgstr "Nouvelle règle de détection"
1019
1054
 
1055
+ #: ../db/seeds.d/50_discovery_templates.rb:5
1056
+ msgid "Command line options for kexec during PXE-less provisioning."
1057
+ msgstr ""
1058
+
1020
1059
  #: ../db/seeds.d/70_discovery_mail_notification.rb:3
1021
1060
  msgid "A summary of discovered hosts"
1022
1061
  msgstr "Synthèse des hôtes détectés"