foreman_discovery 9.0.0 → 9.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/api/v2/discovered_hosts_controller.rb +6 -4
  3. data/app/controllers/api/v2/fact_values_controller_extensions.rb +2 -2
  4. data/app/controllers/concerns/foreman/controller/discovered_extensions.rb +6 -1
  5. data/app/controllers/discovered_hosts_controller.rb +2 -2
  6. data/app/helpers/discovered_hosts_helper.rb +5 -0
  7. data/app/models/discovery_attribute_set.rb +1 -1
  8. data/app/models/discovery_rule.rb +1 -1
  9. data/app/models/host/discovered.rb +3 -2
  10. data/app/models/host/managed_extensions.rb +10 -5
  11. data/app/services/foreman_discovery/host_converter.rb +0 -2
  12. data/app/views/api/v2/discovery_rules/main.json.rabl +12 -0
  13. data/app/views/discovered_hosts/_discovered_host_modal.html.erb +2 -2
  14. data/app/views/discovered_hosts/_discovered_hosts_list.html.erb +5 -5
  15. data/app/views/discovered_hosts/edit.html.erb +3 -0
  16. data/app/views/discovery_rules/_form.html.erb +1 -1
  17. data/app/views/discovery_rules/index.html.erb +2 -2
  18. data/app/views/foreman_discovery/debian_kexec.erb +1 -0
  19. data/app/views/foreman_discovery/redhat_kexec.erb +1 -0
  20. data/config/routes.rb +3 -3
  21. data/db/migrate/20141223142759_fill_discovery_attribute_sets_for_existing_hosts.rb +1 -1
  22. data/db/migrate/20160818091421_add_permissions_from_default_roles.rb +1 -7
  23. data/db/seeds.d/50_discovery_templates.rb +2 -2
  24. data/db/seeds.d/60_discovery_proxy_feature.rb +2 -2
  25. data/db/seeds.d/70_discovery_mail_notification.rb +1 -1
  26. data/db/seeds.d/90_add_permissions_from_default_roles.rb +12 -0
  27. data/lib/foreman_discovery/engine.rb +3 -2
  28. data/lib/foreman_discovery/version.rb +1 -1
  29. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  30. data/locale/ca/foreman_discovery.edit.po +37 -28
  31. data/locale/ca/foreman_discovery.po +14 -8
  32. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  33. data/locale/de/foreman_discovery.edit.po +38 -29
  34. data/locale/de/foreman_discovery.po +15 -9
  35. data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
  36. data/locale/en/foreman_discovery.edit.po +62 -38
  37. data/locale/en/foreman_discovery.po +27 -9
  38. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  39. data/locale/en_GB/foreman_discovery.edit.po +37 -28
  40. data/locale/en_GB/foreman_discovery.po +14 -8
  41. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  42. data/locale/es/foreman_discovery.edit.po +37 -28
  43. data/locale/es/foreman_discovery.po +14 -8
  44. data/locale/foreman_discovery.pot +63 -41
  45. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  46. data/locale/fr/foreman_discovery.edit.po +38 -29
  47. data/locale/fr/foreman_discovery.po +15 -9
  48. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  49. data/locale/gl/foreman_discovery.edit.po +36 -27
  50. data/locale/gl/foreman_discovery.po +14 -8
  51. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  52. data/locale/it/foreman_discovery.edit.po +37 -28
  53. data/locale/it/foreman_discovery.po +14 -8
  54. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  55. data/locale/ja/foreman_discovery.edit.po +37 -28
  56. data/locale/ja/foreman_discovery.po +14 -8
  57. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  58. data/locale/ko/foreman_discovery.edit.po +37 -28
  59. data/locale/ko/foreman_discovery.po +14 -8
  60. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  61. data/locale/pt_BR/foreman_discovery.edit.po +37 -28
  62. data/locale/pt_BR/foreman_discovery.po +14 -8
  63. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  64. data/locale/ru/foreman_discovery.edit.po +37 -28
  65. data/locale/ru/foreman_discovery.po +14 -8
  66. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  67. data/locale/sv_SE/foreman_discovery.edit.po +36 -27
  68. data/locale/sv_SE/foreman_discovery.po +14 -8
  69. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  70. data/locale/zh_CN/foreman_discovery.edit.po +37 -28
  71. data/locale/zh_CN/foreman_discovery.po +14 -8
  72. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  73. data/locale/zh_TW/foreman_discovery.edit.po +37 -28
  74. data/locale/zh_TW/foreman_discovery.po +14 -8
  75. data/test/factories/discovery_host_related.rb +26 -0
  76. data/test/factories/discovery_rule_related.rb +0 -27
  77. data/test/functional/api/v2/discovered_hosts_controller_test.rb +8 -6
  78. data/test/functional/api/v2/discovery_rules_controller_test.rb +5 -2
  79. data/test/functional/api/v2/fact_value_extensions_test.rb +2 -2
  80. data/test/functional/discovered_hosts_controller_test.rb +114 -78
  81. data/test/functional/discovery_rules_controller_test.rb +1 -1
  82. data/test/functional/foreman_discovery/concerns/hosts_controller_extensions_test.rb +0 -1
  83. data/test/test_helper_discovery.rb +42 -6
  84. data/test/test_plugin_helper.rb +2 -0
  85. data/test/unit/discovered_extensions_test.rb +55 -10
  86. data/test/unit/discovery_attribute_set_test.rb +1 -1
  87. data/test/unit/discovery_rule_test.rb +1 -1
  88. data/test/unit/discovery_taxonomy_extensions_test.rb +1 -1
  89. data/test/unit/fact_parser_test.rb +1 -1
  90. data/test/unit/host_discovered_test.rb +48 -3
  91. data/test/unit/managed_extensions_test.rb +76 -0
  92. data/test/unit/setting_discovered_test.rb +1 -1
  93. data/test/unit/ui_notifications/destroy_host_test.rb +0 -1
  94. metadata +25 -23
  95. data/app/models/concerns/fact_value_extensions.rb +0 -13
  96. data/test/test_helper.rb +0 -25
  97. data/test/unit/fact_value_extensions_test.rb +0 -11
@@ -9,9 +9,9 @@
9
9
  # Sergio Ocón <sergio.ocon@redhat.com>, 2014
10
10
  msgid ""
11
11
  msgstr ""
12
- "Project-Id-Version: foreman_discovery 8.0.0\n"
12
+ "Project-Id-Version: foreman_discovery 9.0.0\n"
13
13
  "Report-Msgid-Bugs-To: \n"
14
- "PO-Revision-Date: 2017-03-15 12:37+0000\n"
14
+ "PO-Revision-Date: 2017-05-27 13:12+0000\n"
15
15
  "Last-Translator: Lukáš Zapletal\n"
16
16
  "Language-Team: Spanish (http://www.transifex.com/foreman/foreman/language/es/)"
17
17
  "\n"
@@ -81,6 +81,9 @@ msgstr ""
81
81
  msgid "Could not get facts from proxy %{url}: %{error}"
82
82
  msgstr "No se pueden obtener eventos del proxy %{url}: %{error}"
83
83
 
84
+ msgid "Create Rule"
85
+ msgstr ""
86
+
84
87
  msgid "Create a discovered host for testing (use /facts to create new hosts)"
85
88
  msgstr "Crear un host descubierto para pruebas (use /facts para crear hosts nuevos)"
86
89
 
@@ -108,6 +111,9 @@ msgstr ""
108
111
  msgid "Destroyed selected hosts"
109
112
  msgstr "Se eliminó los hosts seleccionados "
110
113
 
114
+ msgid "Details"
115
+ msgstr ""
116
+
111
117
  msgid "Disable"
112
118
  msgstr "Inhabilitar"
113
119
 
@@ -289,6 +295,9 @@ msgstr ""
289
295
  msgid "Hostnames must not start with numbers. A good approach is to use unique information provided by facter (MAC address, BIOS or serial ID)."
290
296
  msgstr ""
291
297
 
298
+ msgid "Hosts"
299
+ msgstr ""
300
+
292
301
  msgid "Hosts limit"
293
302
  msgstr "Límite de hosts"
294
303
 
@@ -406,9 +415,6 @@ msgstr ""
406
415
  msgid "New Discovery Rule"
407
416
  msgstr "Nuevo asistente de descubrimiento"
408
417
 
409
- msgid "New Rule"
410
- msgstr "Nueva regla"
411
-
412
418
  msgid "New in the last 24 hours"
413
419
  msgstr "Nuevo en las últimas 24 horas"
414
420
 
@@ -442,6 +448,9 @@ msgstr "No se encontró regla para host %s"
442
448
  msgid "Not reported in more than 7 days"
443
449
  msgstr "No se informó en más de 7 días."
444
450
 
451
+ msgid "One or more hosts have been discovered"
452
+ msgstr ""
453
+
445
454
  msgid "Organization"
446
455
  msgstr "Organización"
447
456
 
@@ -589,9 +598,6 @@ msgstr ""
589
598
  msgid "Target host group for this rule with all properties set"
590
599
  msgstr "Grupo de hosts de destino para esta regla con todas las propiedades establecidas"
591
600
 
592
- msgid "Template"
593
- msgstr "Plantilla"
594
-
595
601
  msgid "The default location to place discovered hosts in"
596
602
  msgstr "La ubicación predeterminada en la cual se sitúan los hosts descubiertos "
597
603
 
@@ -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: 2017-04-07 13:02+0200\n"
12
- "PO-Revision-Date: 2017-04-07 13:02+0200\n"
11
+ "POT-Creation-Date: 2017-06-14 13:49+0200\n"
12
+ "PO-Revision-Date: 2017-06-14 13:49+0200\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
15
  "Language: \n"
@@ -87,55 +87,55 @@ msgid ""
87
87
  "e primary interface is named eth0)"
88
88
  msgstr ""
89
89
 
90
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:111
90
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:113
91
91
  msgid "Execute rules against a discovered host"
92
92
  msgstr ""
93
93
 
94
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:117
94
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:119
95
95
  #: ../app/controllers/discovered_hosts_controller.rb:162
96
96
  msgid "Host %{host} was provisioned with rule %{rule}"
97
97
  msgstr ""
98
98
 
99
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:120
99
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:122
100
100
  msgid "Unable to provision %{host}: %{errors}"
101
101
  msgstr ""
102
102
 
103
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:126
103
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:128
104
104
  #: ../app/controllers/discovered_hosts_controller.rb:169
105
105
  msgid "No rule found for host %s"
106
106
  msgstr ""
107
107
 
108
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:133
108
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:135
109
109
  msgid "Execute rules against all currently discovered hosts"
110
110
  msgstr ""
111
111
 
112
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:137
112
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:139
113
113
  #: ../app/controllers/discovered_hosts_controller.rb:175
114
114
  msgid "Errors during auto provisioning: %s"
115
115
  msgstr ""
116
116
 
117
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:140
117
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:142
118
118
  #: ../app/controllers/discovered_hosts_controller.rb:178
119
119
  msgid "No discovered hosts to provision"
120
120
  msgstr ""
121
121
 
122
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:162
122
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:164
123
123
  msgid "%s discovered hosts were provisioned"
124
124
  msgstr ""
125
125
 
126
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:173
126
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:175
127
127
  msgid "Refreshing the facts of a discovered host"
128
128
  msgstr ""
129
129
 
130
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:182
130
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:184
131
131
  msgid "Rebooting a discovered host"
132
132
  msgstr ""
133
133
 
134
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:191
134
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:193
135
135
  msgid "Rebooting all discovered hosts"
136
136
  msgstr ""
137
137
 
138
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:202
138
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:204
139
139
  #: ../app/controllers/discovered_hosts_controller.rb:120
140
140
  msgid "Discovered hosts are rebooting now"
141
141
  msgstr ""
@@ -200,11 +200,11 @@ msgstr ""
200
200
  msgid "No hostgroup associated with rule '%s'"
201
201
  msgstr ""
202
202
 
203
- #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:66
203
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:71
204
204
  msgid "Errors during reboot: %s"
205
205
  msgstr ""
206
206
 
207
- #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:84
207
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:89
208
208
  msgid "No discovered hosts to reboot"
209
209
  msgstr ""
210
210
 
@@ -384,6 +384,7 @@ msgid "Provision"
384
384
  msgstr ""
385
385
 
386
386
  #: ../app/helpers/discovery_rules_helper.rb:26
387
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:2
387
388
  #: ../lib/foreman_discovery/engine.rb:165
388
389
  msgid "Discovered Hosts"
389
390
  msgstr ""
@@ -464,19 +465,19 @@ msgstr ""
464
465
  msgid "Unable to assign subnet, primary interface is missing IP address"
465
466
  msgstr ""
466
467
 
467
- #: ../app/models/host/discovered.rb:173
468
+ #: ../app/models/host/discovered.rb:174
468
469
  msgid "Could not get facts from proxy %{url}: %{error}"
469
470
  msgstr ""
470
471
 
471
- #: ../app/models/host/discovered.rb:189
472
+ #: ../app/models/host/discovered.rb:190
472
473
  msgid "Unable to reboot %{name} via %{url}: %{msg}"
473
474
  msgstr ""
474
475
 
475
- #: ../app/models/host/discovered.rb:197
476
+ #: ../app/models/host/discovered.rb:198
476
477
  msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
477
478
  msgstr ""
478
479
 
479
- #: ../app/models/host/discovered.rb:216
480
+ #: ../app/models/host/discovered.rb:217
480
481
  msgid "Invalid hostname: Could not normalize the hostname"
481
482
  msgstr ""
482
483
 
@@ -488,10 +489,18 @@ msgstr ""
488
489
  msgid "Rebooting %s"
489
490
  msgstr ""
490
491
 
491
- #: ../app/models/host/managed_extensions.rb:45
492
+ #: ../app/models/host/managed_extensions.rb:46
492
493
  msgid "Kexec template not associated with operating system"
493
494
  msgstr ""
494
495
 
496
+ #: ../app/models/host/managed_extensions.rb:51
497
+ msgid "Kernel kexec URL is invalid: '%s'"
498
+ msgstr ""
499
+
500
+ #: ../app/models/host/managed_extensions.rb:52
501
+ msgid "Init RAM kexec URL is invalid: '%s'"
502
+ msgstr ""
503
+
495
504
  #: ../app/models/nic/managed_extensions.rb:14
496
505
  msgid "Rebuild DNS for %s"
497
506
  msgstr ""
@@ -705,16 +714,11 @@ msgid "Select initial host properties"
705
714
  msgstr ""
706
715
 
707
716
  #: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:24
708
- msgid "Quick create"
717
+ msgid "Quick Create"
709
718
  msgstr ""
710
719
 
711
720
  #: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:25
712
- msgid "Create host"
713
- msgstr ""
714
-
715
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:2
716
- #: ../lib/foreman_discovery/engine.rb:150
717
- msgid "Discovered hosts"
721
+ msgid "Create Host"
718
722
  msgstr ""
719
723
 
720
724
  #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
@@ -739,15 +743,11 @@ msgid "IP Address"
739
743
  msgstr ""
740
744
 
741
745
  #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:11
742
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:22
743
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:14
744
- msgid "Disk count"
746
+ msgid "Disk Count"
745
747
  msgstr ""
746
748
 
747
749
  #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:12
748
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:23
749
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:15
750
- msgid "Disks size"
750
+ msgid "Disks Size"
751
751
  msgstr ""
752
752
 
753
753
  #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17
@@ -765,7 +765,7 @@ msgid "Subnet"
765
765
  msgstr ""
766
766
 
767
767
  #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:23
768
- msgid "Last facts upload"
768
+ msgid "Last Facts Upload"
769
769
  msgstr ""
770
770
 
771
771
  #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:60
@@ -780,6 +780,10 @@ msgstr ""
780
780
  msgid "Submit"
781
781
  msgstr ""
782
782
 
783
+ #: ../app/views/discovered_hosts/edit.html.erb:1
784
+ msgid "Provision %s"
785
+ msgstr ""
786
+
783
787
  #: ../app/views/discovered_hosts/index.html.erb:2
784
788
  msgid "Reboot All"
785
789
  msgstr ""
@@ -848,6 +852,16 @@ msgstr ""
848
852
  msgid "Discovered hosts from Foreman server at %{foreman_url}"
849
853
  msgstr ""
850
854
 
855
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:22
856
+ #: ../app/views/discovered_mailer/discovered_summary.text.erb:14
857
+ msgid "Disk count"
858
+ msgstr ""
859
+
860
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:23
861
+ #: ../app/views/discovered_mailer/discovered_summary.text.erb:15
862
+ msgid "Disks size"
863
+ msgstr ""
864
+
851
865
  #: ../app/views/discovered_mailer/discovered_summary.html.erb:31
852
866
  msgid "No discovered hosts for the selected period"
853
867
  msgstr ""
@@ -881,7 +895,7 @@ msgid "Hostname for provisioned hosts"
881
895
  msgstr ""
882
896
 
883
897
  #: ../app/views/discovery_rules/_form.html.erb:26
884
- msgid "Hosts limit"
898
+ msgid "Hosts Limit"
885
899
  msgstr ""
886
900
 
887
901
  #: ../app/views/discovery_rules/_form.html.erb:26
@@ -947,11 +961,11 @@ msgid "DiscoveryRule|Query"
947
961
  msgstr ""
948
962
 
949
963
  #: ../app/views/discovery_rules/index.html.erb:9
950
- msgid "Host group"
964
+ msgid "Host Group"
951
965
  msgstr ""
952
966
 
953
967
  #: ../app/views/discovery_rules/index.html.erb:10
954
- msgid "Hosts/limit"
968
+ msgid "Hosts/Limit"
955
969
  msgstr ""
956
970
 
957
971
  #: ../app/views/discovery_rules/index.html.erb:11
@@ -978,21 +992,29 @@ msgstr ""
978
992
  msgid "Details"
979
993
  msgstr ""
980
994
 
995
+ #: ../lib/foreman_discovery/engine.rb:150
996
+ msgid "Discovered hosts"
997
+ msgstr ""
998
+
981
999
  #: ../lib/foreman_discovery/engine.rb:155
982
1000
  msgid "Discovery rules"
983
1001
  msgstr ""
984
1002
 
985
- #: ../lib/foreman_discovery/engine.rb:178
1003
+ #: ../lib/foreman_discovery/engine.rb:171
1004
+ msgid "Discovery Kexec template"
1005
+ msgstr ""
1006
+
1007
+ #: ../lib/foreman_discovery/engine.rb:180
986
1008
  msgid "Discovery Proxy"
987
1009
  msgstr ""
988
1010
 
989
- #: ../lib/foreman_discovery/engine.rb:179
1011
+ #: ../lib/foreman_discovery/engine.rb:181
990
1012
  msgid ""
991
1013
  "Discovery Proxy to use within this subnet for managing connection to discovere"
992
1014
  "d hosts"
993
1015
  msgstr ""
994
1016
 
995
- #: ../lib/foreman_discovery/engine.rb:180
1017
+ #: ../lib/foreman_discovery/engine.rb:182
996
1018
  msgid ""
997
1019
  "ID of Discovery Proxy to use within this subnet for managing connection to dis"
998
1020
  "covered hosts"
@@ -7,11 +7,11 @@
7
7
  # Pierre-Emmanuel Dutang <dutangp@gmail.com>, 2014,2016-2017
8
8
  msgid ""
9
9
  msgstr ""
10
- "Project-Id-Version: foreman_discovery 8.0.0\n"
10
+ "Project-Id-Version: foreman_discovery 9.0.0\n"
11
11
  "Report-Msgid-Bugs-To: \n"
12
- "POT-Creation-Date: 2017-01-06 08:26+0100\n"
13
- "PO-Revision-Date: 2017-03-15 12:38+0000\n"
14
- "Last-Translator: Pierre-Emmanuel Dutang <dutangp@gmail.com>\n"
12
+ "POT-Creation-Date: 2017-04-07 13:02+0200\n"
13
+ "PO-Revision-Date: 2017-04-08 10:07+0000\n"
14
+ "Last-Translator: Lukáš Zapletal\n"
15
15
  "Language-Team: French (http://www.transifex.com/foreman/foreman/language/fr/)\n"
16
16
  "MIME-Version: 1.0\n"
17
17
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -367,6 +367,7 @@ msgid "%s - The following hosts are about to be changed"
367
367
  msgstr "%s - les hôtes suivants vont être changés"
368
368
 
369
369
  #: ../app/helpers/discovered_hosts_helper.rb:49
370
+ #: ../app/views/dashboard/_discovery_widget_host.html.erb:2
370
371
  msgid "N/A"
371
372
  msgstr "N/A"
372
373
 
@@ -387,7 +388,7 @@ msgid "Provision"
387
388
  msgstr "Provisionner"
388
389
 
389
390
  #: ../app/helpers/discovery_rules_helper.rb:26
390
- #: ../lib/foreman_discovery/engine.rb:163
391
+ #: ../lib/foreman_discovery/engine.rb:165
391
392
  msgid "Discovered Hosts"
392
393
  msgstr "Hôtes détectés"
393
394
 
@@ -446,43 +447,43 @@ msgid_plural ""
446
447
  msgstr[0] "L'emplacement %s du groupe d'hôtes doivent aussi être associés à la règle de détection"
447
448
  msgstr[1] "Les emplacements %s du groupe d'hôtes doivent aussi être associés à la règle de détection"
448
449
 
449
- #: ../app/models/host/discovered.rb:38
450
+ #: ../app/models/host/discovered.rb:37
450
451
  msgid "Invalid facts, must be a Hash"
451
452
  msgstr "Facts non valides, doit être un hash"
452
453
 
453
- #: ../app/models/host/discovered.rb:43
454
+ #: ../app/models/host/discovered.rb:42
454
455
  msgid ""
455
456
  "Expected discovery_fact '%s' is missing, unable to detect primary interface "
456
457
  "and set hostname"
457
458
  msgstr "Le discovery_fact '%s' attendu est manquant, il n'est pas possible de détecter l'interface primaire ni de positionner le nom d'hôte"
458
459
 
459
- #: ../app/models/host/discovered.rb:50
460
+ #: ../app/models/host/discovered.rb:49
460
461
  msgid ""
461
462
  "Invalid facts: hash does not contain a valid value for any of the facts in "
462
463
  "the discovery_hostname setting: %s"
463
464
  msgstr "Facts invalides : le hash ne contient de valeur valide pour aucun des facts du paramètre discovery_hostname : %s"
464
465
 
465
- #: ../app/models/host/discovered.rb:67
466
+ #: ../app/models/host/discovered.rb:66
466
467
  msgid "Facts could not be imported"
467
468
  msgstr "Impossible d'importer les facts"
468
469
 
469
- #: ../app/models/host/discovered.rb:117
470
+ #: ../app/models/host/discovered.rb:116
470
471
  msgid "Unable to assign subnet, primary interface is missing IP address"
471
472
  msgstr "Impossible d'assigner le sous-réseau, l'interface primaire n'a pas d'adresse IP"
472
473
 
473
- #: ../app/models/host/discovered.rb:174
474
+ #: ../app/models/host/discovered.rb:173
474
475
  msgid "Could not get facts from proxy %{url}: %{error}"
475
476
  msgstr "Impossible de récupérer les facts depuis le proxy %{url} : %{error}"
476
477
 
477
- #: ../app/models/host/discovered.rb:190
478
+ #: ../app/models/host/discovered.rb:189
478
479
  msgid "Unable to reboot %{name} via %{url}: %{msg}"
479
480
  msgstr "Impossible de redémarrer %{name} via %{url}: %{msg}"
480
481
 
481
- #: ../app/models/host/discovered.rb:198
482
+ #: ../app/models/host/discovered.rb:197
482
483
  msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
483
484
  msgstr "Impossible de lancer kexec sur %{name} via %{url}: %{msg}"
484
485
 
485
- #: ../app/models/host/discovered.rb:217
486
+ #: ../app/models/host/discovered.rb:216
486
487
  msgid "Invalid hostname: Could not normalize the hostname"
487
488
  msgstr "Nom d'hôte invalide : impossible de normaliser le nom de l'hôte"
488
489
 
@@ -719,7 +720,7 @@ msgid "Create host"
719
720
  msgstr "Création de l'hôte"
720
721
 
721
722
  #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:2
722
- #: ../lib/foreman_discovery/engine.rb:148
723
+ #: ../lib/foreman_discovery/engine.rb:150
723
724
  msgid "Discovered hosts"
724
725
  msgstr "Hôtes détectés"
725
726
 
@@ -882,23 +883,19 @@ msgstr "Organisations"
882
883
  msgid "Target host group for this rule with all properties set"
883
884
  msgstr "Groupe d'hôtes cible pour cette règle avec toutes ses propriétés définies"
884
885
 
885
- #: ../app/views/discovery_rules/_form.html.erb:24
886
- msgid "Template"
887
- msgstr "Modèle"
888
-
889
- #: ../app/views/discovery_rules/_form.html.erb:26
886
+ #: ../app/views/discovery_rules/_form.html.erb:25
890
887
  msgid "Hostname for provisioned hosts"
891
888
  msgstr "Nom d'hôte pour les hôtes provisionnés"
892
889
 
893
- #: ../app/views/discovery_rules/_form.html.erb:27
890
+ #: ../app/views/discovery_rules/_form.html.erb:26
894
891
  msgid "Hosts limit"
895
892
  msgstr "Limite d'hôtes"
896
893
 
897
- #: ../app/views/discovery_rules/_form.html.erb:27
894
+ #: ../app/views/discovery_rules/_form.html.erb:26
898
895
  msgid "Maximum hosts provisioned with this rule (0 = unlimited)"
899
896
  msgstr "Nombre maximum d'hôtes provisionnés avec cette règle (0 = illimité)"
900
897
 
901
- #: ../app/views/discovery_rules/_form.html.erb:28
898
+ #: ../app/views/discovery_rules/_form.html.erb:27
902
899
  msgid "Rule priority (lower integer means higher priority)"
903
900
  msgstr "Priorité de la règle (plus les entiers sont petits et plus la priorité est importante)"
904
901
 
@@ -941,8 +938,8 @@ msgid "Discovery Rules"
941
938
  msgstr "Règles de détection"
942
939
 
943
940
  #: ../app/views/discovery_rules/index.html.erb:2
944
- msgid "New Rule"
945
- msgstr "Nouvelle règle"
941
+ msgid "Create Rule"
942
+ msgstr ""
946
943
 
947
944
  #: ../app/views/discovery_rules/index.html.erb:6
948
945
  msgid "DiscoveryRule|Name"
@@ -976,21 +973,33 @@ msgstr "Nouvelle règle de détection"
976
973
  msgid "A summary of discovered hosts"
977
974
  msgstr "Synthèse des hôtes détectés"
978
975
 
979
- #: ../lib/foreman_discovery/engine.rb:153
976
+ #: ../db/seeds.d/80_discovery_ui_notification.rb:4
977
+ msgid "Hosts"
978
+ msgstr ""
979
+
980
+ #: ../db/seeds.d/80_discovery_ui_notification.rb:6
981
+ msgid "One or more hosts have been discovered"
982
+ msgstr ""
983
+
984
+ #: ../db/seeds.d/80_discovery_ui_notification.rb:13
985
+ msgid "Details"
986
+ msgstr ""
987
+
988
+ #: ../lib/foreman_discovery/engine.rb:155
980
989
  msgid "Discovery rules"
981
990
  msgstr "Règles de détection"
982
991
 
983
- #: ../lib/foreman_discovery/engine.rb:176
992
+ #: ../lib/foreman_discovery/engine.rb:178
984
993
  msgid "Discovery Proxy"
985
994
  msgstr "Proxy de dévouverte"
986
995
 
987
- #: ../lib/foreman_discovery/engine.rb:177
996
+ #: ../lib/foreman_discovery/engine.rb:179
988
997
  msgid ""
989
998
  "Discovery Proxy to use within this subnet for managing connection to "
990
999
  "discovered hosts"
991
1000
  msgstr "Proxy de découverte à utilisé à l'interieur de ce sous-reseaux pour gérer les connexion des hôtes découverts."
992
1001
 
993
- #: ../lib/foreman_discovery/engine.rb:178
1002
+ #: ../lib/foreman_discovery/engine.rb:180
994
1003
  msgid ""
995
1004
  "ID of Discovery Proxy to use within this subnet for managing connection to "
996
1005
  "discovered hosts"