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
@@ -2,7 +2,7 @@
2
2
  # This file is distributed under the same license as the foreman_discovery package.
3
3
  msgid ""
4
4
  msgstr ""
5
- "Project-Id-Version: foreman_discovery 8.0.0\n"
5
+ "Project-Id-Version: foreman_discovery 9.0.0\n"
6
6
  "Report-Msgid-Bugs-To: foreman-dev@googlegroups.com\n"
7
7
  "PO-Revision-Date: 2015-12-27 01:18+0000\n"
8
8
  "Last-Translator: \n"
@@ -72,6 +72,9 @@ msgstr ""
72
72
  msgid "Could not get facts from proxy %{url}: %{error}"
73
73
  msgstr ""
74
74
 
75
+ msgid "Create Host"
76
+ msgstr ""
77
+
75
78
  msgid "Create Rule"
76
79
  msgstr ""
77
80
 
@@ -81,9 +84,6 @@ msgstr ""
81
84
  msgid "Create a discovery rule"
82
85
  msgstr ""
83
86
 
84
- msgid "Create host"
85
- msgstr ""
86
-
87
87
  msgid "Delete %s?"
88
88
  msgstr ""
89
89
 
@@ -132,6 +132,9 @@ msgstr ""
132
132
  msgid "Discovered hosts summary"
133
133
  msgstr ""
134
134
 
135
+ msgid "Discovery Kexec template"
136
+ msgstr ""
137
+
135
138
  msgid "Discovery Proxy"
136
139
  msgstr ""
137
140
 
@@ -162,9 +165,15 @@ msgstr ""
162
165
  msgid "DiscoveryRule|Query"
163
166
  msgstr ""
164
167
 
168
+ msgid "Disk Count"
169
+ msgstr ""
170
+
165
171
  msgid "Disk count"
166
172
  msgstr ""
167
173
 
174
+ msgid "Disks Size"
175
+ msgstr ""
176
+
168
177
  msgid "Disks size"
169
178
  msgstr ""
170
179
 
@@ -258,7 +267,7 @@ msgstr ""
258
267
  msgid "Host %{host} was provisioned with rule %{rule}"
259
268
  msgstr ""
260
269
 
261
- msgid "Host group"
270
+ msgid "Host Group"
262
271
  msgstr ""
263
272
 
264
273
  msgid "Host group location %s must also be associated to the discovery rule"
@@ -289,10 +298,10 @@ msgstr ""
289
298
  msgid "Hosts"
290
299
  msgstr ""
291
300
 
292
- msgid "Hosts limit"
301
+ msgid "Hosts Limit"
293
302
  msgstr ""
294
303
 
295
- msgid "Hosts/limit"
304
+ msgid "Hosts/Limit"
296
305
  msgstr ""
297
306
 
298
307
  msgid "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
@@ -322,6 +331,9 @@ msgstr ""
322
331
  msgid "In addition to @host attribute function rand for random integers is available. Examples:"
323
332
  msgstr ""
324
333
 
334
+ msgid "Init RAM kexec URL is invalid: '%s'"
335
+ msgstr ""
336
+
325
337
  msgid "Interface fact"
326
338
  msgstr ""
327
339
 
@@ -337,10 +349,13 @@ msgstr ""
337
349
  msgid "Invalid hostname: Could not normalize the hostname"
338
350
  msgstr ""
339
351
 
352
+ msgid "Kernel kexec URL is invalid: '%s'"
353
+ msgstr ""
354
+
340
355
  msgid "Kexec template not associated with operating system"
341
356
  msgstr ""
342
357
 
343
- msgid "Last facts upload"
358
+ msgid "Last Facts Upload"
344
359
  msgstr ""
345
360
 
346
361
  msgid "List all discovered hosts"
@@ -466,10 +481,13 @@ msgstr ""
466
481
  msgid "Provision"
467
482
  msgstr ""
468
483
 
484
+ msgid "Provision %s"
485
+ msgstr ""
486
+
469
487
  msgid "Provision a discovered host"
470
488
  msgstr ""
471
489
 
472
- msgid "Quick create"
490
+ msgid "Quick Create"
473
491
  msgstr ""
474
492
 
475
493
  msgid "Reboot"
@@ -10,10 +10,10 @@
10
10
  # Lukáš Zapletal, 2015
11
11
  msgid ""
12
12
  msgstr ""
13
- "Project-Id-Version: foreman_discovery 8.0.0\n"
13
+ "Project-Id-Version: foreman_discovery 9.0.0\n"
14
14
  "Report-Msgid-Bugs-To: \n"
15
- "POT-Creation-Date: 2017-01-06 08:26+0100\n"
16
- "PO-Revision-Date: 2017-01-06 08:44+0000\n"
15
+ "POT-Creation-Date: 2017-04-07 13:02+0200\n"
16
+ "PO-Revision-Date: 2017-04-08 10:07+0000\n"
17
17
  "Last-Translator: Lukáš Zapletal\n"
18
18
  "Language-Team: English (United Kingdom) (http://www.transifex.com/foreman/foreman/language/en_GB/)\n"
19
19
  "MIME-Version: 1.0\n"
@@ -370,6 +370,7 @@ msgid "%s - The following hosts are about to be changed"
370
370
  msgstr "%s - The following hosts are about to be changed"
371
371
 
372
372
  #: ../app/helpers/discovered_hosts_helper.rb:49
373
+ #: ../app/views/dashboard/_discovery_widget_host.html.erb:2
373
374
  msgid "N/A"
374
375
  msgstr "N/A"
375
376
 
@@ -390,7 +391,7 @@ msgid "Provision"
390
391
  msgstr "Provision"
391
392
 
392
393
  #: ../app/helpers/discovery_rules_helper.rb:26
393
- #: ../lib/foreman_discovery/engine.rb:163
394
+ #: ../lib/foreman_discovery/engine.rb:165
394
395
  msgid "Discovered Hosts"
395
396
  msgstr "Discovered Hosts"
396
397
 
@@ -449,43 +450,43 @@ msgid_plural ""
449
450
  msgstr[0] "Host group location %s must also be associated to the discovery rule"
450
451
  msgstr[1] "Host group locations %s must also be associated to the discovery rule"
451
452
 
452
- #: ../app/models/host/discovered.rb:38
453
+ #: ../app/models/host/discovered.rb:37
453
454
  msgid "Invalid facts, must be a Hash"
454
455
  msgstr "Invalid facts, must be a Hash"
455
456
 
456
- #: ../app/models/host/discovered.rb:43
457
+ #: ../app/models/host/discovered.rb:42
457
458
  msgid ""
458
459
  "Expected discovery_fact '%s' is missing, unable to detect primary interface "
459
460
  "and set hostname"
460
461
  msgstr "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
461
462
 
462
- #: ../app/models/host/discovered.rb:50
463
+ #: ../app/models/host/discovered.rb:49
463
464
  msgid ""
464
465
  "Invalid facts: hash does not contain a valid value for any of the facts in "
465
466
  "the discovery_hostname setting: %s"
466
467
  msgstr "Invalid facts: hash does not contain a valid value for any of the facts in the discovery_hostname setting: %s"
467
468
 
468
- #: ../app/models/host/discovered.rb:67
469
+ #: ../app/models/host/discovered.rb:66
469
470
  msgid "Facts could not be imported"
470
471
  msgstr "Facts could not be imported"
471
472
 
472
- #: ../app/models/host/discovered.rb:117
473
+ #: ../app/models/host/discovered.rb:116
473
474
  msgid "Unable to assign subnet, primary interface is missing IP address"
474
475
  msgstr "Unable to assign subnet, primary interface is missing IP address"
475
476
 
476
- #: ../app/models/host/discovered.rb:174
477
+ #: ../app/models/host/discovered.rb:173
477
478
  msgid "Could not get facts from proxy %{url}: %{error}"
478
479
  msgstr "Could not get facts from proxy %{url}: %{error}"
479
480
 
480
- #: ../app/models/host/discovered.rb:190
481
+ #: ../app/models/host/discovered.rb:189
481
482
  msgid "Unable to reboot %{name} via %{url}: %{msg}"
482
483
  msgstr "Unable to reboot %{name} via %{url}: %{msg}"
483
484
 
484
- #: ../app/models/host/discovered.rb:198
485
+ #: ../app/models/host/discovered.rb:197
485
486
  msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
486
487
  msgstr "Unable to perform kexec on %{name} via %{url}: %{msg}"
487
488
 
488
- #: ../app/models/host/discovered.rb:217
489
+ #: ../app/models/host/discovered.rb:216
489
490
  msgid "Invalid hostname: Could not normalize the hostname"
490
491
  msgstr "Invalid hostname: Could not normalise the hostname"
491
492
 
@@ -722,7 +723,7 @@ msgid "Create host"
722
723
  msgstr "Create host"
723
724
 
724
725
  #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:2
725
- #: ../lib/foreman_discovery/engine.rb:148
726
+ #: ../lib/foreman_discovery/engine.rb:150
726
727
  msgid "Discovered hosts"
727
728
  msgstr "Discovered hosts"
728
729
 
@@ -885,23 +886,19 @@ msgstr "Organisations"
885
886
  msgid "Target host group for this rule with all properties set"
886
887
  msgstr "Target host group for this rule with all properties set"
887
888
 
888
- #: ../app/views/discovery_rules/_form.html.erb:24
889
- msgid "Template"
890
- msgstr "Template"
891
-
892
- #: ../app/views/discovery_rules/_form.html.erb:26
889
+ #: ../app/views/discovery_rules/_form.html.erb:25
893
890
  msgid "Hostname for provisioned hosts"
894
891
  msgstr "Hostname for provisioned hosts"
895
892
 
896
- #: ../app/views/discovery_rules/_form.html.erb:27
893
+ #: ../app/views/discovery_rules/_form.html.erb:26
897
894
  msgid "Hosts limit"
898
895
  msgstr "Hosts limit"
899
896
 
900
- #: ../app/views/discovery_rules/_form.html.erb:27
897
+ #: ../app/views/discovery_rules/_form.html.erb:26
901
898
  msgid "Maximum hosts provisioned with this rule (0 = unlimited)"
902
899
  msgstr "Maximum hosts provisioned with this rule (0 = unlimited)"
903
900
 
904
- #: ../app/views/discovery_rules/_form.html.erb:28
901
+ #: ../app/views/discovery_rules/_form.html.erb:27
905
902
  msgid "Rule priority (lower integer means higher priority)"
906
903
  msgstr "Rule priority (lower integer means higher priority)"
907
904
 
@@ -944,8 +941,8 @@ msgid "Discovery Rules"
944
941
  msgstr "Discovery Rules"
945
942
 
946
943
  #: ../app/views/discovery_rules/index.html.erb:2
947
- msgid "New Rule"
948
- msgstr "New Rule"
944
+ msgid "Create Rule"
945
+ msgstr ""
949
946
 
950
947
  #: ../app/views/discovery_rules/index.html.erb:6
951
948
  msgid "DiscoveryRule|Name"
@@ -979,21 +976,33 @@ msgstr "New Discovery Rule"
979
976
  msgid "A summary of discovered hosts"
980
977
  msgstr "A summary of discovered hosts"
981
978
 
982
- #: ../lib/foreman_discovery/engine.rb:153
979
+ #: ../db/seeds.d/80_discovery_ui_notification.rb:4
980
+ msgid "Hosts"
981
+ msgstr ""
982
+
983
+ #: ../db/seeds.d/80_discovery_ui_notification.rb:6
984
+ msgid "One or more hosts have been discovered"
985
+ msgstr ""
986
+
987
+ #: ../db/seeds.d/80_discovery_ui_notification.rb:13
988
+ msgid "Details"
989
+ msgstr ""
990
+
991
+ #: ../lib/foreman_discovery/engine.rb:155
983
992
  msgid "Discovery rules"
984
993
  msgstr "Discovery rules"
985
994
 
986
- #: ../lib/foreman_discovery/engine.rb:176
995
+ #: ../lib/foreman_discovery/engine.rb:178
987
996
  msgid "Discovery Proxy"
988
997
  msgstr ""
989
998
 
990
- #: ../lib/foreman_discovery/engine.rb:177
999
+ #: ../lib/foreman_discovery/engine.rb:179
991
1000
  msgid ""
992
1001
  "Discovery Proxy to use within this subnet for managing connection to "
993
1002
  "discovered hosts"
994
1003
  msgstr ""
995
1004
 
996
- #: ../lib/foreman_discovery/engine.rb:178
1005
+ #: ../lib/foreman_discovery/engine.rb:180
997
1006
  msgid ""
998
1007
  "ID of Discovery Proxy to use within this subnet for managing connection to "
999
1008
  "discovered hosts"
@@ -10,9 +10,9 @@
10
10
  # Lukáš Zapletal, 2015
11
11
  msgid ""
12
12
  msgstr ""
13
- "Project-Id-Version: foreman_discovery 8.0.0\n"
13
+ "Project-Id-Version: foreman_discovery 9.0.0\n"
14
14
  "Report-Msgid-Bugs-To: \n"
15
- "PO-Revision-Date: 2017-01-06 08:44+0000\n"
15
+ "PO-Revision-Date: 2017-04-08 10:07+0000\n"
16
16
  "Last-Translator: Lukáš Zapletal\n"
17
17
  "Language-Team: English (United Kingdom) (http://www.transifex.com/foreman/fore"
18
18
  "man/language/en_GB/)\n"
@@ -82,6 +82,9 @@ msgstr "Clean all reported facts during provisioning (except discovery facts)"
82
82
  msgid "Could not get facts from proxy %{url}: %{error}"
83
83
  msgstr "Could not get facts from proxy %{url}: %{error}"
84
84
 
85
+ msgid "Create Rule"
86
+ msgstr ""
87
+
85
88
  msgid "Create a discovered host for testing (use /facts to create new hosts)"
86
89
  msgstr "Create a discovered host for testing (use /facts to create new hosts)"
87
90
 
@@ -109,6 +112,9 @@ msgstr "Delete rule '%s'?"
109
112
  msgid "Destroyed selected hosts"
110
113
  msgstr "Destroyed selected hosts"
111
114
 
115
+ msgid "Details"
116
+ msgstr ""
117
+
112
118
  msgid "Disable"
113
119
  msgstr "Disable"
114
120
 
@@ -290,6 +296,9 @@ msgstr "Hostname prefix"
290
296
  msgid "Hostnames must not start with numbers. A good approach is to use unique information provided by facter (MAC address, BIOS or serial ID)."
291
297
  msgstr "Hostnames must not start with numbers. A good approach is to use unique information provided by facter (MAC address, BIOS or serial ID)."
292
298
 
299
+ msgid "Hosts"
300
+ msgstr ""
301
+
293
302
  msgid "Hosts limit"
294
303
  msgstr "Hosts limit"
295
304
 
@@ -407,9 +416,6 @@ msgstr "Network facts"
407
416
  msgid "New Discovery Rule"
408
417
  msgstr "New Discovery Rule"
409
418
 
410
- msgid "New Rule"
411
- msgstr "New Rule"
412
-
413
419
  msgid "New in the last 24 hours"
414
420
  msgstr "New in the last 24 hours"
415
421
 
@@ -443,6 +449,9 @@ msgstr "No rule found for host %s"
443
449
  msgid "Not reported in more than 7 days"
444
450
  msgstr "Not reported in more than 7 days"
445
451
 
452
+ msgid "One or more hosts have been discovered"
453
+ msgstr ""
454
+
446
455
  msgid "Organization"
447
456
  msgstr "Organisation"
448
457
 
@@ -590,9 +599,6 @@ msgstr "Summary report for discovered hosts from Foreman"
590
599
  msgid "Target host group for this rule with all properties set"
591
600
  msgstr "Target host group for this rule with all properties set"
592
601
 
593
- msgid "Template"
594
- msgstr "Template"
595
-
596
602
  msgid "The default location to place discovered hosts in"
597
603
  msgstr "The default location to place discovered hosts in"
598
604
 
@@ -9,10 +9,10 @@
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
- "POT-Creation-Date: 2017-01-06 08:26+0100\n"
15
- "PO-Revision-Date: 2017-03-15 12:37+0000\n"
14
+ "POT-Creation-Date: 2017-04-07 13:02+0200\n"
15
+ "PO-Revision-Date: 2017-05-27 13:12+0000\n"
16
16
  "Last-Translator: Lukáš Zapletal\n"
17
17
  "Language-Team: Spanish (http://www.transifex.com/foreman/foreman/language/es/)\n"
18
18
  "MIME-Version: 1.0\n"
@@ -369,6 +369,7 @@ msgid "%s - The following hosts are about to be changed"
369
369
  msgstr "%s - Los siguientes hosts están a punto de ser modificados"
370
370
 
371
371
  #: ../app/helpers/discovered_hosts_helper.rb:49
372
+ #: ../app/views/dashboard/_discovery_widget_host.html.erb:2
372
373
  msgid "N/A"
373
374
  msgstr "N/D"
374
375
 
@@ -389,7 +390,7 @@ msgid "Provision"
389
390
  msgstr "Aprovisionamiento"
390
391
 
391
392
  #: ../app/helpers/discovery_rules_helper.rb:26
392
- #: ../lib/foreman_discovery/engine.rb:163
393
+ #: ../lib/foreman_discovery/engine.rb:165
393
394
  msgid "Discovered Hosts"
394
395
  msgstr "Equipos descubiertos"
395
396
 
@@ -448,43 +449,43 @@ msgid_plural ""
448
449
  msgstr[0] ""
449
450
  msgstr[1] ""
450
451
 
451
- #: ../app/models/host/discovered.rb:38
452
+ #: ../app/models/host/discovered.rb:37
452
453
  msgid "Invalid facts, must be a Hash"
453
454
  msgstr "Eventos no válidos, debe ser un Hash"
454
455
 
455
- #: ../app/models/host/discovered.rb:43
456
+ #: ../app/models/host/discovered.rb:42
456
457
  msgid ""
457
458
  "Expected discovery_fact '%s' is missing, unable to detect primary interface "
458
459
  "and set hostname"
459
460
  msgstr "No se encontró discovery_fact '%s', ha sido imposible detectar el interfaz primario y asignar el nombre de host"
460
461
 
461
- #: ../app/models/host/discovered.rb:50
462
+ #: ../app/models/host/discovered.rb:49
462
463
  msgid ""
463
464
  "Invalid facts: hash does not contain a valid value for any of the facts in "
464
465
  "the discovery_hostname setting: %s"
465
466
  msgstr ""
466
467
 
467
- #: ../app/models/host/discovered.rb:67
468
+ #: ../app/models/host/discovered.rb:66
468
469
  msgid "Facts could not be imported"
469
470
  msgstr ""
470
471
 
471
- #: ../app/models/host/discovered.rb:117
472
+ #: ../app/models/host/discovered.rb:116
472
473
  msgid "Unable to assign subnet, primary interface is missing IP address"
473
474
  msgstr "No se puede asignar la subred, a la interfaz principal le falta la dirección IP."
474
475
 
475
- #: ../app/models/host/discovered.rb:174
476
+ #: ../app/models/host/discovered.rb:173
476
477
  msgid "Could not get facts from proxy %{url}: %{error}"
477
478
  msgstr "No se pueden obtener eventos del proxy %{url}: %{error}"
478
479
 
479
- #: ../app/models/host/discovered.rb:190
480
+ #: ../app/models/host/discovered.rb:189
480
481
  msgid "Unable to reboot %{name} via %{url}: %{msg}"
481
482
  msgstr "No se puede reiniciar %{name} a través de %{url}: %{msg}."
482
483
 
483
- #: ../app/models/host/discovered.rb:198
484
+ #: ../app/models/host/discovered.rb:197
484
485
  msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
485
486
  msgstr "No se puede realizar kexec en %{name} a través de %{url}: %{msg}."
486
487
 
487
- #: ../app/models/host/discovered.rb:217
488
+ #: ../app/models/host/discovered.rb:216
488
489
  msgid "Invalid hostname: Could not normalize the hostname"
489
490
  msgstr ""
490
491
 
@@ -721,7 +722,7 @@ msgid "Create host"
721
722
  msgstr ""
722
723
 
723
724
  #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:2
724
- #: ../lib/foreman_discovery/engine.rb:148
725
+ #: ../lib/foreman_discovery/engine.rb:150
725
726
  msgid "Discovered hosts"
726
727
  msgstr "Hosts descubiertos"
727
728
 
@@ -884,23 +885,19 @@ msgstr "Organizaciones"
884
885
  msgid "Target host group for this rule with all properties set"
885
886
  msgstr "Grupo de hosts de destino para esta regla con todas las propiedades establecidas"
886
887
 
887
- #: ../app/views/discovery_rules/_form.html.erb:24
888
- msgid "Template"
889
- msgstr "Plantilla"
890
-
891
- #: ../app/views/discovery_rules/_form.html.erb:26
888
+ #: ../app/views/discovery_rules/_form.html.erb:25
892
889
  msgid "Hostname for provisioned hosts"
893
890
  msgstr "Nombre de host para hosts aprovisionados"
894
891
 
895
- #: ../app/views/discovery_rules/_form.html.erb:27
892
+ #: ../app/views/discovery_rules/_form.html.erb:26
896
893
  msgid "Hosts limit"
897
894
  msgstr "Límite de hosts"
898
895
 
899
- #: ../app/views/discovery_rules/_form.html.erb:27
896
+ #: ../app/views/discovery_rules/_form.html.erb:26
900
897
  msgid "Maximum hosts provisioned with this rule (0 = unlimited)"
901
898
  msgstr "Número máximo de hosts aprovisionados con esta regla (0 = ilimitado)"
902
899
 
903
- #: ../app/views/discovery_rules/_form.html.erb:28
900
+ #: ../app/views/discovery_rules/_form.html.erb:27
904
901
  msgid "Rule priority (lower integer means higher priority)"
905
902
  msgstr "Prioridad de regla (entero más bajo significa una prioridad más alta)"
906
903
 
@@ -943,8 +940,8 @@ msgid "Discovery Rules"
943
940
  msgstr "Reglas de descubrimiento"
944
941
 
945
942
  #: ../app/views/discovery_rules/index.html.erb:2
946
- msgid "New Rule"
947
- msgstr "Nueva regla"
943
+ msgid "Create Rule"
944
+ msgstr ""
948
945
 
949
946
  #: ../app/views/discovery_rules/index.html.erb:6
950
947
  msgid "DiscoveryRule|Name"
@@ -978,21 +975,33 @@ msgstr "Nuevo asistente de descubrimiento"
978
975
  msgid "A summary of discovered hosts"
979
976
  msgstr ""
980
977
 
981
- #: ../lib/foreman_discovery/engine.rb:153
978
+ #: ../db/seeds.d/80_discovery_ui_notification.rb:4
979
+ msgid "Hosts"
980
+ msgstr ""
981
+
982
+ #: ../db/seeds.d/80_discovery_ui_notification.rb:6
983
+ msgid "One or more hosts have been discovered"
984
+ msgstr ""
985
+
986
+ #: ../db/seeds.d/80_discovery_ui_notification.rb:13
987
+ msgid "Details"
988
+ msgstr ""
989
+
990
+ #: ../lib/foreman_discovery/engine.rb:155
982
991
  msgid "Discovery rules"
983
992
  msgstr "Reglas de descubrimiento"
984
993
 
985
- #: ../lib/foreman_discovery/engine.rb:176
994
+ #: ../lib/foreman_discovery/engine.rb:178
986
995
  msgid "Discovery Proxy"
987
996
  msgstr ""
988
997
 
989
- #: ../lib/foreman_discovery/engine.rb:177
998
+ #: ../lib/foreman_discovery/engine.rb:179
990
999
  msgid ""
991
1000
  "Discovery Proxy to use within this subnet for managing connection to "
992
1001
  "discovered hosts"
993
1002
  msgstr ""
994
1003
 
995
- #: ../lib/foreman_discovery/engine.rb:178
1004
+ #: ../lib/foreman_discovery/engine.rb:180
996
1005
  msgid ""
997
1006
  "ID of Discovery Proxy to use within this subnet for managing connection to "
998
1007
  "discovered hosts"