foreman_discovery 22.0.2 → 23.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/foreman_discovery/locale/ca/foreman_discovery.js +847 -0
  3. data/app/assets/javascripts/foreman_discovery/locale/cs_CZ/foreman_discovery.js +847 -0
  4. data/app/assets/javascripts/foreman_discovery/locale/de/foreman_discovery.js +847 -0
  5. data/app/assets/javascripts/foreman_discovery/locale/en/foreman_discovery.js +846 -0
  6. data/app/assets/javascripts/foreman_discovery/locale/en_GB/foreman_discovery.js +847 -0
  7. data/app/assets/javascripts/foreman_discovery/locale/es/foreman_discovery.js +850 -0
  8. data/app/assets/javascripts/foreman_discovery/locale/fr/foreman_discovery.js +850 -0
  9. data/app/assets/javascripts/foreman_discovery/locale/gl/foreman_discovery.js +847 -0
  10. data/app/assets/javascripts/foreman_discovery/locale/it/foreman_discovery.js +847 -0
  11. data/app/assets/javascripts/foreman_discovery/locale/ja/foreman_discovery.js +844 -0
  12. data/app/assets/javascripts/foreman_discovery/locale/ka/foreman_discovery.js +847 -0
  13. data/app/assets/javascripts/foreman_discovery/locale/ko/foreman_discovery.js +847 -0
  14. data/app/assets/javascripts/foreman_discovery/locale/pt_BR/foreman_discovery.js +850 -0
  15. data/app/assets/javascripts/foreman_discovery/locale/ru/foreman_discovery.js +851 -0
  16. data/app/assets/javascripts/foreman_discovery/locale/sv_SE/foreman_discovery.js +847 -0
  17. data/app/assets/javascripts/foreman_discovery/locale/zh_CN/foreman_discovery.js +844 -0
  18. data/app/assets/javascripts/foreman_discovery/locale/zh_TW/foreman_discovery.js +847 -0
  19. data/app/controllers/discovered_hosts_controller.rb +5 -1
  20. data/app/helpers/discovered_hosts_helper.rb +9 -2
  21. data/app/models/host/discovered.rb +3 -3
  22. data/app/services/foreman_discovery/import_hooks/lock_templates.rb +1 -1
  23. data/app/services/foreman_discovery/node_api/node_resource.rb +5 -5
  24. data/app/services/foreman_discovery/ui_notifications/failed_discovery.rb +1 -1
  25. data/app/views/discovered_hosts/_discovered_host.html.erb +1 -1
  26. data/app/views/discovered_hosts/_discovered_hosts_list.html.erb +1 -1
  27. data/db/migrate/20221102065954_fix_discovery_settings_category_to_dsl.rb +1 -1
  28. data/db/migrate/20221102075151_migrate_discovery_hostname_and_fact_column_to_array.rb +13 -0
  29. data/extra/discover-host +1 -1
  30. data/lib/foreman_discovery/engine.rb +8 -20
  31. data/lib/foreman_discovery/version.rb +1 -1
  32. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  33. data/locale/ca/foreman_discovery.edit.po +1122 -0
  34. data/locale/ca/foreman_discovery.po +22 -10
  35. data/locale/cs_CZ/LC_MESSAGES/foreman_discovery.mo +0 -0
  36. data/locale/cs_CZ/foreman_discovery.edit.po +1120 -0
  37. data/locale/cs_CZ/foreman_discovery.po +846 -0
  38. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  39. data/locale/de/foreman_discovery.edit.po +1129 -0
  40. data/locale/de/foreman_discovery.po +22 -10
  41. data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
  42. data/locale/en/foreman_discovery.edit.po +1115 -0
  43. data/locale/en/foreman_discovery.po +19 -7
  44. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  45. data/locale/en_GB/foreman_discovery.edit.po +1125 -0
  46. data/locale/en_GB/foreman_discovery.po +22 -10
  47. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  48. data/locale/es/foreman_discovery.edit.po +1130 -0
  49. data/locale/es/foreman_discovery.po +81 -65
  50. data/locale/foreman_discovery.pot +231 -211
  51. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  52. data/locale/fr/foreman_discovery.edit.po +1126 -0
  53. data/locale/fr/foreman_discovery.po +35 -19
  54. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  55. data/locale/gl/foreman_discovery.edit.po +1120 -0
  56. data/locale/gl/foreman_discovery.po +19 -7
  57. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  58. data/locale/it/foreman_discovery.edit.po +1123 -0
  59. data/locale/it/foreman_discovery.po +21 -8
  60. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  61. data/locale/ja/foreman_discovery.edit.po +1119 -0
  62. data/locale/ja/foreman_discovery.po +34 -22
  63. data/locale/ka/LC_MESSAGES/foreman_discovery.mo +0 -0
  64. data/locale/ka/foreman_discovery.edit.po +1120 -0
  65. data/locale/ka/foreman_discovery.po +846 -0
  66. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  67. data/locale/ko/foreman_discovery.edit.po +1119 -0
  68. data/locale/ko/foreman_discovery.po +20 -8
  69. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  70. data/locale/pt_BR/foreman_discovery.edit.po +1132 -0
  71. data/locale/pt_BR/foreman_discovery.po +61 -45
  72. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  73. data/locale/ru/foreman_discovery.edit.po +1131 -0
  74. data/locale/ru/foreman_discovery.po +21 -9
  75. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  76. data/locale/sv_SE/foreman_discovery.edit.po +1123 -0
  77. data/locale/sv_SE/foreman_discovery.po +19 -7
  78. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  79. data/locale/zh_CN/foreman_discovery.edit.po +1117 -0
  80. data/locale/zh_CN/foreman_discovery.po +31 -19
  81. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  82. data/locale/zh_TW/foreman_discovery.edit.po +1120 -0
  83. data/locale/zh_TW/foreman_discovery.po +19 -7
  84. data/package.json +0 -1
  85. data/test/functional/api/v2/fact_value_extensions_test.rb +1 -1
  86. data/test/functional/discovered_hosts_controller_test.rb +1 -1
  87. data/test/migrations/20221102075151_migrate_discovery_hostname_and_fact_column_to_array_test.rb +75 -0
  88. data/test/migrations/20221102075151_migrate_discovery_hostname_and_fact_column_to_array_test.rb.orig +81 -0
  89. data/test/test_helper_discovery.rb +1 -1
  90. data/test/unit/discovery_attribute_set_test.rb +1 -1
  91. data/test/unit/host_discovered_test.rb +3 -3
  92. data/webpack/src/ForemanDiscovery/DiscoveryRules/Components/EmptyState/EmptyState.js +1 -1
  93. metadata +50 -8
  94. data/app/models/setting/discovered.rb +0 -22
@@ -8,7 +8,7 @@
8
8
  # Pierre-Emmanuel Dutang <dutangp@gmail.com>, 2014,2016-2017
9
9
  msgid ""
10
10
  msgstr ""
11
- "Project-Id-Version: foreman_discovery 21.0.0\n"
11
+ "Project-Id-Version: foreman_discovery v22.0.4\n"
12
12
  "Report-Msgid-Bugs-To: \n"
13
13
  "PO-Revision-Date: 2013-11-15 17:25+0000\n"
14
14
  "Last-Translator: Baptiste Agasse <baptiste.agasse@gmail.com>, 2018-2019\n"
@@ -17,7 +17,8 @@ msgstr ""
17
17
  "Content-Type: text/plain; charset=UTF-8\n"
18
18
  "Content-Transfer-Encoding: 8bit\n"
19
19
  "Language: fr\n"
20
- "Plural-Forms: nplurals=2; plural=(n > 1);\n"
20
+ "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 100000"
21
+ "0 == 0 ? 1 : 2;\n"
21
22
 
22
23
  msgid "%s - The following hosts are about to be changed"
23
24
  msgstr "%s - les hôtes suivants vont être changés"
@@ -88,9 +89,6 @@ msgstr "Clone %s"
88
89
  msgid "Collapse All"
89
90
  msgstr "Réduire tout"
90
91
 
91
- msgid "Command line options for kexec during PXE-less provisioning."
92
- msgstr "Options de ligne de commande pour kexec lors du provisoning sans PXE."
93
-
94
92
  msgid "Could not get facts from proxy %{url}: %{error}"
95
93
  msgstr "Impossible d'obtenir les facts du proxy %{url}: %{error}"
96
94
 
@@ -146,6 +144,7 @@ msgid "Discovered Host"
146
144
  msgid_plural "Discovered Hosts"
147
145
  msgstr[0] "Hôtes détectés"
148
146
  msgstr[1] "Hôtes détectés"
147
+ msgstr[2] "Hôtes détectés"
149
148
 
150
149
  msgid "Discovered Hosts"
151
150
  msgstr "Hôtes détectés"
@@ -177,8 +176,8 @@ msgstr "Les hôtes découverts provenant d'un sous-réseau inconnu sont %s, la c
177
176
  msgid "Discovered hosts summary"
178
177
  msgstr "Synthèse des hôtes détectés"
179
178
 
180
- msgid "Discovery Kexec template"
181
- msgstr "Modèle Kexec de détection"
179
+ msgid "Discovery"
180
+ msgstr "Discovery"
182
181
 
183
182
  msgid "Discovery Proxy"
184
183
  msgstr "Proxy de détection"
@@ -261,8 +260,8 @@ msgstr "Exécuter les règles sur tous les hôtes actuellement détectés"
261
260
  msgid "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
262
261
  msgstr "discovery_fact '%s' attendu manquant. Impossible de détecter l'interface principale et de définir le nom d'hôte"
263
262
 
264
- msgid "Extra facter columns to show in host lists (separate by comma)"
265
- msgstr "Colonnes facter supplémentaires pour un affichage sous forme de listes d'hôtes (séparés par une virgule)"
263
+ msgid "Extra facter columns to show in host lists"
264
+ msgstr ""
266
265
 
267
266
  msgid "Fact + prefix"
268
267
  msgstr "Fact + préfixe"
@@ -277,7 +276,7 @@ msgid "Facts could not be imported"
277
276
  msgstr "Impossible d'importer les facts"
278
277
 
279
278
  msgid "Facts refreshed for %s"
280
- msgstr "Facts rafraichis pour %s"
279
+ msgstr "Facts rafraîchis pour %s"
281
280
 
282
281
  msgid "Failed to auto provision host %s: %s"
283
282
  msgstr "Échec de l'approvisionnement automatique de l'hôte %s: %s"
@@ -292,7 +291,7 @@ msgid "Failed to reboot hosts with error %s"
292
291
  msgstr "Échec du redémarrage des hôtes avec l'erreur %s"
293
292
 
294
293
  msgid "Failed to refresh facts for %s"
295
- msgstr "Échec de rafraichissement des facts pour %s"
294
+ msgstr "Échec de rafraîchissement des facts pour %s"
296
295
 
297
296
  msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
298
297
  msgstr "Impossible de rafraîchir les données pour %{hostname} avec l'erreur %{error_message}"
@@ -306,6 +305,9 @@ msgstr "Forcer DNS"
306
305
  msgid "Force DNS entries creation when provisioning discovered host"
307
306
  msgstr "Forcer la création des entrées DNS lors du provisioning de l'hôte détecté"
308
307
 
308
+ msgid "Foreman Discovery"
309
+ msgstr ""
310
+
309
311
  msgid "Foreman discovered hosts summary"
310
312
  msgstr "Synthèse des hôtes détectés Foreman"
311
313
 
@@ -337,11 +339,13 @@ msgid "Host group location %s must also be associated to the discovery rule"
337
339
  msgid_plural "Host group locations %s must also be associated to the discovery rule"
338
340
  msgstr[0] "L'emplacement du groupe d'hôtes %s doit également être associé à la règle de détection"
339
341
  msgstr[1] "L'emplacement du groupe d'hôtes %s doit également être associé à la règle de détection"
342
+ msgstr[2] "L'emplacement du groupe d'hôtes %s doit également être associé à la règle de détection"
340
343
 
341
344
  msgid "Host group organization %s must also be associated to the discovery rule"
342
345
  msgid_plural "Host group organizations %s must also be associated to the discovery rule"
343
346
  msgstr[0] "L'organisation du groupe d'hôtes %s doit également être associée à la règle de détection"
344
347
  msgstr[1] "L'organisation du groupe d'hôtes %s doit également être associée à la règle de détection"
348
+ msgstr[2] "L'organisation du groupe d'hôtes %s doit également être associée à la règle de détection"
345
349
 
346
350
  msgid "Host of type %s can not be rebooted"
347
351
  msgstr "Impossible de redémarrer l'hôte de type %s"
@@ -448,8 +452,8 @@ msgstr "Répertorier toutes les règles de détection"
448
452
  msgid "List all fact values of a given discovered host"
449
453
  msgstr "Afficher toutes les valeurs des facts d'un hôte détecté donné"
450
454
 
451
- msgid "List of facts to use for the hostname (separated by comma, first wins)"
452
- msgstr "Liste des facts à utiliser pour le nom d'hôte (séparés par une virgule, le premier l'emporte)"
455
+ msgid "List of facts to use for the hostname (first wins)"
456
+ msgstr ""
453
457
 
454
458
  msgid "Location"
455
459
  msgstr "Emplacement"
@@ -494,7 +498,7 @@ msgid "Name"
494
498
  msgstr "Nom"
495
499
 
496
500
  msgid "Name of the parameter"
497
- msgstr "Nom du paramêtre"
501
+ msgstr "Nom du paramètre"
498
502
 
499
503
  msgid "Network"
500
504
  msgstr "Réseau"
@@ -512,7 +516,7 @@ msgid "New in the last 24 hours"
512
516
  msgstr "Nouveau au cours des dernières 24 heures"
513
517
 
514
518
  msgid "No Discovery Rules found in this context. Create Discovery Rules to perform automated provisioning on Discovered Hosts"
515
- msgstr ""
519
+ msgstr "Aucune règle de découverte trouvée dans ce contexte. Créer des règles de découverte pour effectuer un provisionnement automatique sur les hôtes découverts."
516
520
 
517
521
  msgid "No discovered hosts available"
518
522
  msgstr "Aucun hôte détecté disponible"
@@ -521,7 +525,7 @@ msgid "No discovered hosts for the selected period"
521
525
  msgstr "Aucun hôte détecté pendant la période sélectionnée"
522
526
 
523
527
  msgid "No discovered hosts found in this context. This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
524
- msgstr ""
528
+ msgstr "Aucun hôte découvert dans ce contexte. Cette page montre les nœuds nus ou virtuels découverts qui attendent d'être approvisionnés."
525
529
 
526
530
  msgid "No discovered hosts to provision"
527
531
  msgstr "Aucun hôte détecté à provisionner"
@@ -550,6 +554,18 @@ msgstr "Non signalé dans plus de 7 jours"
550
554
  msgid "One or more hosts have been discovered"
551
555
  msgstr "Un ou plusieurs hôtes ont été détectés"
552
556
 
557
+ msgid "One or more hosts with failed discovery due to error: %s"
558
+ msgstr ""
559
+
560
+ msgid "Option 'url' must be provided"
561
+ msgstr ""
562
+
563
+ msgid "Option 'url' must be valid URI: %s"
564
+ msgstr ""
565
+
566
+ msgid "Options must be hash"
567
+ msgstr ""
568
+
553
569
  msgid "Organization"
554
570
  msgstr "Organisation"
555
571
 
@@ -572,10 +588,10 @@ msgid "Please Confirm"
572
588
  msgstr "Merci de confirmer"
573
589
 
574
590
  msgid "Prefer IPv6"
575
- msgstr ""
591
+ msgstr "Préférer IPv6"
576
592
 
577
593
  msgid "Prefer IPv6 to IPv4 when calling discovered nodes"
578
- msgstr ""
594
+ msgstr "Préférer IPv6 à IPv4 lors de l'appel des nœuds découverts"
579
595
 
580
596
  msgid "Primary"
581
597
  msgstr "Primaire"
@@ -611,7 +627,7 @@ msgid "Rebuild DNS for %s"
611
627
  msgstr "Reconstruire DNS pour %s"
612
628
 
613
629
  msgid "Refresh facts"
614
- msgstr "Rafraichir les facts"
630
+ msgstr "Rafraîchir les facts"
615
631
 
616
632
  msgid "Refreshing the facts of a discovered host"
617
633
  msgstr "Actualisation des facts d'un hôte détecté"