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
@@ -7,10 +7,10 @@
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
- "PO-Revision-Date: 2017-03-15 12:38+0000\n"
13
- "Last-Translator: Pierre-Emmanuel Dutang <dutangp@gmail.com>\n"
12
+ "PO-Revision-Date: 2017-04-08 10:07+0000\n"
13
+ "Last-Translator: Lukáš Zapletal\n"
14
14
  "Language-Team: French (http://www.transifex.com/foreman/foreman/language/fr/)\n"
15
15
  "MIME-Version: 1.0\n"
16
16
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -78,6 +78,9 @@ msgstr "Supprimer tous les facts reçus pendant le provisionning (à l'exception
78
78
  msgid "Could not get facts from proxy %{url}: %{error}"
79
79
  msgstr "Impossible de récupérer les facts depuis le proxy %{url} : %{error}"
80
80
 
81
+ msgid "Create Rule"
82
+ msgstr ""
83
+
81
84
  msgid "Create a discovered host for testing (use /facts to create new hosts)"
82
85
  msgstr "Créer un hôte détecté à des fins de test (utiliser /facts pour créer des nouveaux hôtes)"
83
86
 
@@ -105,6 +108,9 @@ msgstr "Supprimer la règle '%s' ?"
105
108
  msgid "Destroyed selected hosts"
106
109
  msgstr "Hôtes sélectionnés détruits"
107
110
 
111
+ msgid "Details"
112
+ msgstr ""
113
+
108
114
  msgid "Disable"
109
115
  msgstr "Désactiver"
110
116
 
@@ -286,6 +292,9 @@ msgstr "Prefixe de nom d'hôte"
286
292
  msgid "Hostnames must not start with numbers. A good approach is to use unique information provided by facter (MAC address, BIOS or serial ID)."
287
293
  msgstr "Les noms d'hôtes ne peuvent pas commencer par un chiffre. Il est conseillé d'utiliser des informations uniques fournies par facter (adresse MAC, BIOS ou numéro de série)."
288
294
 
295
+ msgid "Hosts"
296
+ msgstr ""
297
+
289
298
  msgid "Hosts limit"
290
299
  msgstr "Limite d'hôtes"
291
300
 
@@ -403,9 +412,6 @@ msgstr "Facts réseau"
403
412
  msgid "New Discovery Rule"
404
413
  msgstr "Nouvelle règle de détection"
405
414
 
406
- msgid "New Rule"
407
- msgstr "Nouvelle règle"
408
-
409
415
  msgid "New in the last 24 hours"
410
416
  msgstr "Nouveautés ces dernières 24 heures"
411
417
 
@@ -439,6 +445,9 @@ msgstr "Aucune règle trouvée pour l'hôte %s"
439
445
  msgid "Not reported in more than 7 days"
440
446
  msgstr "Aucun rapport reçu depuis au moins 7 jours"
441
447
 
448
+ msgid "One or more hosts have been discovered"
449
+ msgstr ""
450
+
442
451
  msgid "Organization"
443
452
  msgstr "Organisation"
444
453
 
@@ -586,9 +595,6 @@ msgstr "Rapport de synthèse des hôtes détectés depuis Foreman"
586
595
  msgid "Target host group for this rule with all properties set"
587
596
  msgstr "Groupe d'hôtes cible pour cette règle avec toutes ses propriétés définies"
588
597
 
589
- msgid "Template"
590
- msgstr "Modèle"
591
-
592
598
  msgid "The default location to place discovered hosts in"
593
599
  msgstr "Emplacement par défaut sur lequel placer les hôtes détectés"
594
600
 
@@ -5,10 +5,10 @@
5
5
  # Translators:
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: foreman_discovery 8.0.0\n"
8
+ "Project-Id-Version: foreman_discovery 9.0.0\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2017-01-06 08:26+0100\n"
11
- "PO-Revision-Date: 2017-01-06 08:44+0000\n"
10
+ "POT-Creation-Date: 2017-04-07 13:02+0200\n"
11
+ "PO-Revision-Date: 2017-04-08 10:07+0000\n"
12
12
  "Last-Translator: Lukáš Zapletal\n"
13
13
  "Language-Team: Galician (http://www.transifex.com/foreman/foreman/language/gl/)\n"
14
14
  "MIME-Version: 1.0\n"
@@ -365,6 +365,7 @@ msgid "%s - The following hosts are about to be changed"
365
365
  msgstr "%s - Os seguintes equipos están a piques de ser modificados"
366
366
 
367
367
  #: ../app/helpers/discovered_hosts_helper.rb:49
368
+ #: ../app/views/dashboard/_discovery_widget_host.html.erb:2
368
369
  msgid "N/A"
369
370
  msgstr "N/A"
370
371
 
@@ -385,7 +386,7 @@ msgid "Provision"
385
386
  msgstr "Aprovisionamento"
386
387
 
387
388
  #: ../app/helpers/discovery_rules_helper.rb:26
388
- #: ../lib/foreman_discovery/engine.rb:163
389
+ #: ../lib/foreman_discovery/engine.rb:165
389
390
  msgid "Discovered Hosts"
390
391
  msgstr ""
391
392
 
@@ -444,43 +445,43 @@ msgid_plural ""
444
445
  msgstr[0] ""
445
446
  msgstr[1] ""
446
447
 
447
- #: ../app/models/host/discovered.rb:38
448
+ #: ../app/models/host/discovered.rb:37
448
449
  msgid "Invalid facts, must be a Hash"
449
450
  msgstr ""
450
451
 
451
- #: ../app/models/host/discovered.rb:43
452
+ #: ../app/models/host/discovered.rb:42
452
453
  msgid ""
453
454
  "Expected discovery_fact '%s' is missing, unable to detect primary interface "
454
455
  "and set hostname"
455
456
  msgstr ""
456
457
 
457
- #: ../app/models/host/discovered.rb:50
458
+ #: ../app/models/host/discovered.rb:49
458
459
  msgid ""
459
460
  "Invalid facts: hash does not contain a valid value for any of the facts in "
460
461
  "the discovery_hostname setting: %s"
461
462
  msgstr ""
462
463
 
463
- #: ../app/models/host/discovered.rb:67
464
+ #: ../app/models/host/discovered.rb:66
464
465
  msgid "Facts could not be imported"
465
466
  msgstr ""
466
467
 
467
- #: ../app/models/host/discovered.rb:117
468
+ #: ../app/models/host/discovered.rb:116
468
469
  msgid "Unable to assign subnet, primary interface is missing IP address"
469
470
  msgstr ""
470
471
 
471
- #: ../app/models/host/discovered.rb:174
472
+ #: ../app/models/host/discovered.rb:173
472
473
  msgid "Could not get facts from proxy %{url}: %{error}"
473
474
  msgstr ""
474
475
 
475
- #: ../app/models/host/discovered.rb:190
476
+ #: ../app/models/host/discovered.rb:189
476
477
  msgid "Unable to reboot %{name} via %{url}: %{msg}"
477
478
  msgstr ""
478
479
 
479
- #: ../app/models/host/discovered.rb:198
480
+ #: ../app/models/host/discovered.rb:197
480
481
  msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
481
482
  msgstr ""
482
483
 
483
- #: ../app/models/host/discovered.rb:217
484
+ #: ../app/models/host/discovered.rb:216
484
485
  msgid "Invalid hostname: Could not normalize the hostname"
485
486
  msgstr ""
486
487
 
@@ -717,7 +718,7 @@ msgid "Create host"
717
718
  msgstr ""
718
719
 
719
720
  #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:2
720
- #: ../lib/foreman_discovery/engine.rb:148
721
+ #: ../lib/foreman_discovery/engine.rb:150
721
722
  msgid "Discovered hosts"
722
723
  msgstr ""
723
724
 
@@ -880,23 +881,19 @@ msgstr ""
880
881
  msgid "Target host group for this rule with all properties set"
881
882
  msgstr ""
882
883
 
883
- #: ../app/views/discovery_rules/_form.html.erb:24
884
- msgid "Template"
885
- msgstr ""
886
-
887
- #: ../app/views/discovery_rules/_form.html.erb:26
884
+ #: ../app/views/discovery_rules/_form.html.erb:25
888
885
  msgid "Hostname for provisioned hosts"
889
886
  msgstr ""
890
887
 
891
- #: ../app/views/discovery_rules/_form.html.erb:27
888
+ #: ../app/views/discovery_rules/_form.html.erb:26
892
889
  msgid "Hosts limit"
893
890
  msgstr ""
894
891
 
895
- #: ../app/views/discovery_rules/_form.html.erb:27
892
+ #: ../app/views/discovery_rules/_form.html.erb:26
896
893
  msgid "Maximum hosts provisioned with this rule (0 = unlimited)"
897
894
  msgstr ""
898
895
 
899
- #: ../app/views/discovery_rules/_form.html.erb:28
896
+ #: ../app/views/discovery_rules/_form.html.erb:27
900
897
  msgid "Rule priority (lower integer means higher priority)"
901
898
  msgstr ""
902
899
 
@@ -939,7 +936,7 @@ msgid "Discovery Rules"
939
936
  msgstr ""
940
937
 
941
938
  #: ../app/views/discovery_rules/index.html.erb:2
942
- msgid "New Rule"
939
+ msgid "Create Rule"
943
940
  msgstr ""
944
941
 
945
942
  #: ../app/views/discovery_rules/index.html.erb:6
@@ -974,21 +971,33 @@ msgstr ""
974
971
  msgid "A summary of discovered hosts"
975
972
  msgstr ""
976
973
 
977
- #: ../lib/foreman_discovery/engine.rb:153
974
+ #: ../db/seeds.d/80_discovery_ui_notification.rb:4
975
+ msgid "Hosts"
976
+ msgstr ""
977
+
978
+ #: ../db/seeds.d/80_discovery_ui_notification.rb:6
979
+ msgid "One or more hosts have been discovered"
980
+ msgstr ""
981
+
982
+ #: ../db/seeds.d/80_discovery_ui_notification.rb:13
983
+ msgid "Details"
984
+ msgstr ""
985
+
986
+ #: ../lib/foreman_discovery/engine.rb:155
978
987
  msgid "Discovery rules"
979
988
  msgstr ""
980
989
 
981
- #: ../lib/foreman_discovery/engine.rb:176
990
+ #: ../lib/foreman_discovery/engine.rb:178
982
991
  msgid "Discovery Proxy"
983
992
  msgstr ""
984
993
 
985
- #: ../lib/foreman_discovery/engine.rb:177
994
+ #: ../lib/foreman_discovery/engine.rb:179
986
995
  msgid ""
987
996
  "Discovery Proxy to use within this subnet for managing connection to "
988
997
  "discovered hosts"
989
998
  msgstr ""
990
999
 
991
- #: ../lib/foreman_discovery/engine.rb:178
1000
+ #: ../lib/foreman_discovery/engine.rb:180
992
1001
  msgid ""
993
1002
  "ID of Discovery Proxy to use within this subnet for managing connection to "
994
1003
  "discovered hosts"
@@ -5,9 +5,9 @@
5
5
  # Translators:
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: foreman_discovery 8.0.0\n"
8
+ "Project-Id-Version: foreman_discovery 9.0.0\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
- "PO-Revision-Date: 2017-01-06 08:44+0000\n"
10
+ "PO-Revision-Date: 2017-04-08 10:07+0000\n"
11
11
  "Last-Translator: Lukáš Zapletal\n"
12
12
  "Language-Team: Galician (http://www.transifex.com/foreman/foreman/language/gl/"
13
13
  ")\n"
@@ -77,6 +77,9 @@ msgstr ""
77
77
  msgid "Could not get facts from proxy %{url}: %{error}"
78
78
  msgstr ""
79
79
 
80
+ msgid "Create Rule"
81
+ msgstr ""
82
+
80
83
  msgid "Create a discovered host for testing (use /facts to create new hosts)"
81
84
  msgstr ""
82
85
 
@@ -104,6 +107,9 @@ msgstr ""
104
107
  msgid "Destroyed selected hosts"
105
108
  msgstr "Eliminados equipos seleccionados"
106
109
 
110
+ msgid "Details"
111
+ msgstr ""
112
+
107
113
  msgid "Disable"
108
114
  msgstr ""
109
115
 
@@ -285,6 +291,9 @@ msgstr ""
285
291
  msgid "Hostnames must not start with numbers. A good approach is to use unique information provided by facter (MAC address, BIOS or serial ID)."
286
292
  msgstr ""
287
293
 
294
+ msgid "Hosts"
295
+ msgstr ""
296
+
288
297
  msgid "Hosts limit"
289
298
  msgstr ""
290
299
 
@@ -402,9 +411,6 @@ msgstr ""
402
411
  msgid "New Discovery Rule"
403
412
  msgstr ""
404
413
 
405
- msgid "New Rule"
406
- msgstr ""
407
-
408
414
  msgid "New in the last 24 hours"
409
415
  msgstr ""
410
416
 
@@ -438,6 +444,9 @@ msgstr ""
438
444
  msgid "Not reported in more than 7 days"
439
445
  msgstr ""
440
446
 
447
+ msgid "One or more hosts have been discovered"
448
+ msgstr ""
449
+
441
450
  msgid "Organization"
442
451
  msgstr "Organización"
443
452
 
@@ -585,9 +594,6 @@ msgstr ""
585
594
  msgid "Target host group for this rule with all properties set"
586
595
  msgstr ""
587
596
 
588
- msgid "Template"
589
- msgstr ""
590
-
591
597
  msgid "The default location to place discovered hosts in"
592
598
  msgstr ""
593
599
 
@@ -7,10 +7,10 @@
7
7
  # caifti <caifti@gmail.com>, 2014
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"
12
+ "POT-Creation-Date: 2017-04-07 13:02+0200\n"
13
+ "PO-Revision-Date: 2017-04-08 10:07+0000\n"
14
14
  "Last-Translator: Lukáš Zapletal\n"
15
15
  "Language-Team: Italian (http://www.transifex.com/foreman/foreman/language/it/)\n"
16
16
  "MIME-Version: 1.0\n"
@@ -367,6 +367,7 @@ msgid "%s - The following hosts are about to be changed"
367
367
  msgstr "%s - I seguenti host stanno per essere modificati"
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 "Provisioning"
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 ""
393
394
 
@@ -446,43 +447,43 @@ msgid_plural ""
446
447
  msgstr[0] ""
447
448
  msgstr[1] ""
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 "Eventi non validi, deve essere 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 ""
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 ""
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 ""
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 ""
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 "Impossibile ottenere gli eventi dal 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 ""
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 ""
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 ""
488
489
 
@@ -719,7 +720,7 @@ msgid "Create host"
719
720
  msgstr ""
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 "Host trovati"
725
726
 
@@ -882,23 +883,19 @@ msgstr "Organizzazioni"
882
883
  msgid "Target host group for this rule with all properties set"
883
884
  msgstr "Gruppo di host di destinazione per questa regola con tutte le proprietà impostate"
884
885
 
885
- #: ../app/views/discovery_rules/_form.html.erb:24
886
- msgid "Template"
887
- msgstr "Template"
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 "Hostname per gli host con provisioning"
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 host"
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 "Numero di host massimo con provisioning con questa regola (0 = unlimited)"
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à regola (valore intero più basso, priorità più alta)"
904
901
 
@@ -941,8 +938,8 @@ msgid "Discovery Rules"
941
938
  msgstr "Regola per la scoperta"
942
939
 
943
940
  #: ../app/views/discovery_rules/index.html.erb:2
944
- msgid "New Rule"
945
- msgstr "Nuova regola"
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 "Nuova regola per la scoperta"
976
973
  msgid "A summary of discovered hosts"
977
974
  msgstr ""
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 "Regola per la scoperta"
982
991
 
983
- #: ../lib/foreman_discovery/engine.rb:176
992
+ #: ../lib/foreman_discovery/engine.rb:178
984
993
  msgid "Discovery Proxy"
985
994
  msgstr ""
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 ""
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"