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
@@ -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-03-15 12:38+0000\n"
10
+ "PO-Revision-Date: 2017-04-08 10:07+0000\n"
11
11
  "Last-Translator: Lukáš Zapletal\n"
12
12
  "Language-Team: Korean (http://www.transifex.com/foreman/foreman/language/ko/)\n"
13
13
  "MIME-Version: 1.0\n"
@@ -76,6 +76,9 @@ msgstr ""
76
76
  msgid "Could not get facts from proxy %{url}: %{error}"
77
77
  msgstr "프록시 %{url}에서 팩트를 가져올 수 없습니다: %{error}"
78
78
 
79
+ msgid "Create Rule"
80
+ msgstr ""
81
+
79
82
  msgid "Create a discovered host for testing (use /facts to create new hosts)"
80
83
  msgstr "검색된 호스트를 테스트용으로 생성(/facts를 사용하여 새 호스트 생성)"
81
84
 
@@ -103,6 +106,9 @@ msgstr ""
103
106
  msgid "Destroyed selected hosts"
104
107
  msgstr "선택된 호스트 삭제"
105
108
 
109
+ msgid "Details"
110
+ msgstr ""
111
+
106
112
  msgid "Disable"
107
113
  msgstr "비활성화 "
108
114
 
@@ -284,6 +290,9 @@ msgstr ""
284
290
  msgid "Hostnames must not start with numbers. A good approach is to use unique information provided by facter (MAC address, BIOS or serial ID)."
285
291
  msgstr ""
286
292
 
293
+ msgid "Hosts"
294
+ msgstr ""
295
+
287
296
  msgid "Hosts limit"
288
297
  msgstr "호스트 제한 "
289
298
 
@@ -401,9 +410,6 @@ msgstr ""
401
410
  msgid "New Discovery Rule"
402
411
  msgstr "새 검색 규칙 "
403
412
 
404
- msgid "New Rule"
405
- msgstr "새 규칙 "
406
-
407
413
  msgid "New in the last 24 hours"
408
414
  msgstr "지난 24시간 이내의 신규 항목"
409
415
 
@@ -437,6 +443,9 @@ msgstr "호스트 %s에 대한 규칙을 찾을 수 없습니다 "
437
443
  msgid "Not reported in more than 7 days"
438
444
  msgstr "7일 넘게 보고되지 않음"
439
445
 
446
+ msgid "One or more hosts have been discovered"
447
+ msgstr ""
448
+
440
449
  msgid "Organization"
441
450
  msgstr "조직 "
442
451
 
@@ -584,9 +593,6 @@ msgstr ""
584
593
  msgid "Target host group for this rule with all properties set"
585
594
  msgstr "모든 속성 모음을 갖는 규칙의 대상 호스트 그룹 "
586
595
 
587
- msgid "Template"
588
- msgstr "템플릿"
589
-
590
596
  msgid "The default location to place discovered hosts in"
591
597
  msgstr "검색된 호스트를 배치하기 위한 기본 위치 "
592
598
 
@@ -10,10 +10,10 @@
10
10
  # Valeria S Silva <valeriassilva@live.com>, 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-03-15 12:38+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: Portuguese (Brazil) (http://www.transifex.com/foreman/foreman/language/pt_BR/)\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 - Os hosts a seguir devem ser modificados em breve"
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 "Configuração"
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 ""
396
397
 
@@ -449,43 +450,43 @@ msgid_plural ""
449
450
  msgstr[0] "ocalização do grupo de hosts %s deverá também ser associado a regra descoberta"
450
451
  msgstr[1] "localização de grupo de hosts %s deverá também ser associado a regra descoberta"
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 "Fatos inválidos, deve ser um 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 " discovery_fact '%s' esperado ausente, não é possível detectar a interface primária e definir o nome do host "
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 ""
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 ""
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 "Não é possível especificar a subrede, a interface primária possui endereço IP ausente"
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 "Não foi possível obter fatos do 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 "Não é possível reinicializar %{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 "Não é possível desempenhar kexec em %{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 ""
491
492
 
@@ -722,7 +723,7 @@ msgid "Create host"
722
723
  msgstr ""
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 "Hosts descobertos"
728
729
 
@@ -885,23 +886,19 @@ msgstr "Organizações"
885
886
  msgid "Target host group for this rule with all properties set"
886
887
  msgstr "Grupo de host alvo para esta regra com todos os conjuntos de propriedades."
887
888
 
888
- #: ../app/views/discovery_rules/_form.html.erb:24
889
- msgid "Template"
890
- msgstr "Modelo"
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 para hosts fornecidos"
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 "Limite de Hosts"
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 "Máximo de hosts fornecido com esta regra (0=ilimitado)"
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 "Prioridade de regras (inteiro mais baixo significa maior prioridade)"
907
904
 
@@ -944,8 +941,8 @@ msgid "Discovery Rules"
944
941
  msgstr "Regras de descobertos"
945
942
 
946
943
  #: ../app/views/discovery_rules/index.html.erb:2
947
- msgid "New Rule"
948
- msgstr "Nova Regra"
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 "Nova Regra de Descoberta"
979
976
  msgid "A summary of discovered hosts"
980
977
  msgstr ""
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 "Regras de descobertas"
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
  # Valeria S Silva <valeriassilva@live.com>, 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-03-15 12:38+0000\n"
15
+ "PO-Revision-Date: 2017-04-08 10:07+0000\n"
16
16
  "Last-Translator: Lukáš Zapletal\n"
17
17
  "Language-Team: Portuguese (Brazil) (http://www.transifex.com/foreman/foreman/l"
18
18
  "anguage/pt_BR/)\n"
@@ -82,6 +82,9 @@ msgstr ""
82
82
  msgid "Could not get facts from proxy %{url}: %{error}"
83
83
  msgstr "Não foi possível obter fatos do 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 "Criar um host descoberto para o teste (uso / fatos para criar novos hospedeiros )"
87
90
 
@@ -109,6 +112,9 @@ msgstr ""
109
112
  msgid "Destroyed selected hosts"
110
113
  msgstr "Hosts selecionados foram destruídos"
111
114
 
115
+ msgid "Details"
116
+ msgstr ""
117
+
112
118
  msgid "Disable"
113
119
  msgstr "Desabilitar"
114
120
 
@@ -290,6 +296,9 @@ msgstr ""
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 ""
292
298
 
299
+ msgid "Hosts"
300
+ msgstr ""
301
+
293
302
  msgid "Hosts limit"
294
303
  msgstr "Limite de Hosts"
295
304
 
@@ -407,9 +416,6 @@ msgstr ""
407
416
  msgid "New Discovery Rule"
408
417
  msgstr "Nova Regra de Descoberta"
409
418
 
410
- msgid "New Rule"
411
- msgstr "Nova Regra"
412
-
413
419
  msgid "New in the last 24 hours"
414
420
  msgstr "Novo(a) nas últimas 24 horas "
415
421
 
@@ -443,6 +449,9 @@ msgstr "Nenhuma regra encontrada para o host %s"
443
449
  msgid "Not reported in more than 7 days"
444
450
  msgstr "Não relatado(a) por mais de 7 dias "
445
451
 
452
+ msgid "One or more hosts have been discovered"
453
+ msgstr ""
454
+
446
455
  msgid "Organization"
447
456
  msgstr "Organização"
448
457
 
@@ -590,9 +599,6 @@ msgstr ""
590
599
  msgid "Target host group for this rule with all properties set"
591
600
  msgstr "Grupo de host alvo para esta regra com todos os conjuntos de propriedades."
592
601
 
593
- msgid "Template"
594
- msgstr "Modelo"
595
-
596
602
  msgid "The default location to place discovered hosts in"
597
603
  msgstr "O local padrão onde colocar hosts descobertos"
598
604
 
@@ -10,10 +10,10 @@
10
10
  # Yulia <yulia.poyarkova@redhat.com>, 2016
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-03-15 12:38+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: Russian (http://www.transifex.com/foreman/foreman/language/ru/)\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 — узлы будут изменены"
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 "нет"
375
376
 
@@ -390,7 +391,7 @@ msgid "Provision"
390
391
  msgstr "Подготовить"
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 "Обнаруженные узлы"
396
397
 
@@ -453,43 +454,43 @@ msgstr[1] "С правилом также необходимо связать м
453
454
  msgstr[2] "С правилом также необходимо связать местоположения групп узлов: %s"
454
455
  msgstr[3] "С правилом также необходимо связать местоположения групп узлов: %s"
455
456
 
456
- #: ../app/models/host/discovered.rb:38
457
+ #: ../app/models/host/discovered.rb:37
457
458
  msgid "Invalid facts, must be a Hash"
458
459
  msgstr "Недопустимый формат фактов: ожидаются переменные и их значения"
459
460
 
460
- #: ../app/models/host/discovered.rb:43
461
+ #: ../app/models/host/discovered.rb:42
461
462
  msgid ""
462
463
  "Expected discovery_fact '%s' is missing, unable to detect primary interface "
463
464
  "and set hostname"
464
465
  msgstr "Отсутствует факт «%s»: невозможно определить основной интерфейс и имя узла"
465
466
 
466
- #: ../app/models/host/discovered.rb:50
467
+ #: ../app/models/host/discovered.rb:49
467
468
  msgid ""
468
469
  "Invalid facts: hash does not contain a valid value for any of the facts in "
469
470
  "the discovery_hostname setting: %s"
470
471
  msgstr "Недействительные факты: строка не содержит ни одного действительного значения фактов в соответствии с заданным в discovery_hostname: %s"
471
472
 
472
- #: ../app/models/host/discovered.rb:67
473
+ #: ../app/models/host/discovered.rb:66
473
474
  msgid "Facts could not be imported"
474
475
  msgstr ""
475
476
 
476
- #: ../app/models/host/discovered.rb:117
477
+ #: ../app/models/host/discovered.rb:116
477
478
  msgid "Unable to assign subnet, primary interface is missing IP address"
478
479
  msgstr "Не удалось выбрать подсеть: не определен IP-адрес основного интерфейса"
479
480
 
480
- #: ../app/models/host/discovered.rb:174
481
+ #: ../app/models/host/discovered.rb:173
481
482
  msgid "Could not get facts from proxy %{url}: %{error}"
482
483
  msgstr "Не удалось получить факты с %{url}: %{error}"
483
484
 
484
- #: ../app/models/host/discovered.rb:190
485
+ #: ../app/models/host/discovered.rb:189
485
486
  msgid "Unable to reboot %{name} via %{url}: %{msg}"
486
487
  msgstr "Не удалось перезагрузить %{name} с %{url}: %{msg}"
487
488
 
488
- #: ../app/models/host/discovered.rb:198
489
+ #: ../app/models/host/discovered.rb:197
489
490
  msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
490
491
  msgstr "Не удалось выполнить kexec на %{name} с %{url}: %{msg}"
491
492
 
492
- #: ../app/models/host/discovered.rb:217
493
+ #: ../app/models/host/discovered.rb:216
493
494
  msgid "Invalid hostname: Could not normalize the hostname"
494
495
  msgstr "Не удалось нормализовать имя узла"
495
496
 
@@ -726,7 +727,7 @@ msgid "Create host"
726
727
  msgstr ""
727
728
 
728
729
  #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:2
729
- #: ../lib/foreman_discovery/engine.rb:148
730
+ #: ../lib/foreman_discovery/engine.rb:150
730
731
  msgid "Discovered hosts"
731
732
  msgstr "Обнаруженные узлы"
732
733
 
@@ -889,23 +890,19 @@ msgstr "Организации"
889
890
  msgid "Target host group for this rule with all properties set"
890
891
  msgstr "Группа узлов для этого правила с настроенными параметрами"
891
892
 
892
- #: ../app/views/discovery_rules/_form.html.erb:24
893
- msgid "Template"
894
- msgstr "Шаблон"
895
-
896
- #: ../app/views/discovery_rules/_form.html.erb:26
893
+ #: ../app/views/discovery_rules/_form.html.erb:25
897
894
  msgid "Hostname for provisioned hosts"
898
895
  msgstr "Имя узла"
899
896
 
900
- #: ../app/views/discovery_rules/_form.html.erb:27
897
+ #: ../app/views/discovery_rules/_form.html.erb:26
901
898
  msgid "Hosts limit"
902
899
  msgstr "Число узлов"
903
900
 
904
- #: ../app/views/discovery_rules/_form.html.erb:27
901
+ #: ../app/views/discovery_rules/_form.html.erb:26
905
902
  msgid "Maximum hosts provisioned with this rule (0 = unlimited)"
906
903
  msgstr "Максимальное число инициализируемых узлов в соответствии с правилом (0 снимает ограничения)"
907
904
 
908
- #: ../app/views/discovery_rules/_form.html.erb:28
905
+ #: ../app/views/discovery_rules/_form.html.erb:27
909
906
  msgid "Rule priority (lower integer means higher priority)"
910
907
  msgstr "Приоритет (чем ниже число, тем выше приоритет)"
911
908
 
@@ -948,8 +945,8 @@ msgid "Discovery Rules"
948
945
  msgstr "Правила обнаружения"
949
946
 
950
947
  #: ../app/views/discovery_rules/index.html.erb:2
951
- msgid "New Rule"
952
- msgstr "Добавить"
948
+ msgid "Create Rule"
949
+ msgstr ""
953
950
 
954
951
  #: ../app/views/discovery_rules/index.html.erb:6
955
952
  msgid "DiscoveryRule|Name"
@@ -983,21 +980,33 @@ msgstr "Новое правило"
983
980
  msgid "A summary of discovered hosts"
984
981
  msgstr "Сводка состояния обнаруженных узлов"
985
982
 
986
- #: ../lib/foreman_discovery/engine.rb:153
983
+ #: ../db/seeds.d/80_discovery_ui_notification.rb:4
984
+ msgid "Hosts"
985
+ msgstr ""
986
+
987
+ #: ../db/seeds.d/80_discovery_ui_notification.rb:6
988
+ msgid "One or more hosts have been discovered"
989
+ msgstr ""
990
+
991
+ #: ../db/seeds.d/80_discovery_ui_notification.rb:13
992
+ msgid "Details"
993
+ msgstr ""
994
+
995
+ #: ../lib/foreman_discovery/engine.rb:155
987
996
  msgid "Discovery rules"
988
997
  msgstr "Правила обнаружения"
989
998
 
990
- #: ../lib/foreman_discovery/engine.rb:176
999
+ #: ../lib/foreman_discovery/engine.rb:178
991
1000
  msgid "Discovery Proxy"
992
1001
  msgstr ""
993
1002
 
994
- #: ../lib/foreman_discovery/engine.rb:177
1003
+ #: ../lib/foreman_discovery/engine.rb:179
995
1004
  msgid ""
996
1005
  "Discovery Proxy to use within this subnet for managing connection to "
997
1006
  "discovered hosts"
998
1007
  msgstr ""
999
1008
 
1000
- #: ../lib/foreman_discovery/engine.rb:178
1009
+ #: ../lib/foreman_discovery/engine.rb:180
1001
1010
  msgid ""
1002
1011
  "ID of Discovery Proxy to use within this subnet for managing connection to "
1003
1012
  "discovered hosts"