foreman_discovery 15.1.0 → 16.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/api/v2/discovered_hosts_controller.rb +10 -3
  3. data/app/controllers/api/v2/discovery_rules_controller.rb +1 -1
  4. data/app/controllers/concerns/foreman/controller/discovered_extensions.rb +4 -0
  5. data/app/controllers/discovered_hosts_controller.rb +1 -0
  6. data/app/controllers/discovery_rules_controller.rb +1 -1
  7. data/app/models/discovery_rule.rb +1 -1
  8. data/app/models/host/discovered.rb +39 -17
  9. data/app/models/host/managed_extensions.rb +2 -2
  10. data/app/models/setting/discovered.rb +26 -33
  11. data/app/services/foreman_discovery/fact_parser.rb +1 -1
  12. data/app/services/foreman_discovery/host_converter.rb +38 -2
  13. data/app/services/foreman_discovery/import_hooks/subnet_and_taxonomy.rb +6 -14
  14. data/app/services/foreman_discovery/node_api/node_resource.rb +1 -0
  15. data/app/services/foreman_discovery/subnet_suggestion.rb +26 -0
  16. data/app/views/discovered_hosts/_discovered_host_modal.html.erb +2 -0
  17. data/app/views/foreman_discovery/debian_kexec.erb +1 -1
  18. data/config/routes.rb +2 -0
  19. data/db/migrate/20150512150432_remove_old_discovery_reader_permissions.rb +1 -1
  20. data/db/migrate/20151023144501_regenerate_red_hat_kexec.rb +1 -1
  21. data/db/migrate/20180412124505_add_priority_score_to_discovery_rules.rb +1 -1
  22. data/extra/discover-host +21 -7
  23. data/lib/foreman_discovery/engine.rb +4 -4
  24. data/lib/foreman_discovery/version.rb +1 -1
  25. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  26. data/locale/ca/foreman_discovery.edit.po +226 -263
  27. data/locale/ca/foreman_discovery.po +28 -8
  28. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  29. data/locale/de/foreman_discovery.edit.po +229 -265
  30. data/locale/de/foreman_discovery.po +31 -11
  31. data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
  32. data/locale/en/foreman_discovery.edit.po +169 -119
  33. data/locale/en/foreman_discovery.po +24 -4
  34. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  35. data/locale/en_GB/foreman_discovery.edit.po +237 -266
  36. data/locale/en_GB/foreman_discovery.po +31 -11
  37. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  38. data/locale/es/foreman_discovery.edit.po +236 -265
  39. data/locale/es/foreman_discovery.po +30 -10
  40. data/locale/foreman_discovery.pot +110 -84
  41. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  42. data/locale/fr/foreman_discovery.edit.po +230 -262
  43. data/locale/fr/foreman_discovery.po +28 -8
  44. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  45. data/locale/gl/foreman_discovery.edit.po +221 -261
  46. data/locale/gl/foreman_discovery.po +26 -6
  47. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  48. data/locale/it/foreman_discovery.edit.po +221 -261
  49. data/locale/it/foreman_discovery.po +26 -6
  50. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  51. data/locale/ja/foreman_discovery.edit.po +235 -264
  52. data/locale/ja/foreman_discovery.po +29 -9
  53. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  54. data/locale/ko/foreman_discovery.edit.po +223 -262
  55. data/locale/ko/foreman_discovery.po +28 -8
  56. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  57. data/locale/pt_BR/foreman_discovery.edit.po +233 -264
  58. data/locale/pt_BR/foreman_discovery.po +29 -9
  59. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  60. data/locale/ru/foreman_discovery.edit.po +227 -265
  61. data/locale/ru/foreman_discovery.po +29 -9
  62. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  63. data/locale/sv_SE/foreman_discovery.edit.po +222 -262
  64. data/locale/sv_SE/foreman_discovery.po +27 -7
  65. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  66. data/locale/zh_CN/foreman_discovery.edit.po +234 -263
  67. data/locale/zh_CN/foreman_discovery.po +28 -8
  68. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  69. data/locale/zh_TW/foreman_discovery.edit.po +223 -261
  70. data/locale/zh_TW/foreman_discovery.po +26 -6
  71. data/test/facts/bond0-eth0-eth1-active-passive.json +128 -0
  72. data/test/facts/facts_with_lldp_bond_candidate.json +2 -9
  73. data/test/functional/api/v2/discovered_hosts_controller_test.rb +1 -0
  74. data/test/functional/discovered_hosts_controller_test.rb +15 -6
  75. data/test/integration/discovered_hosts_test.rb +1 -0
  76. data/test/test_helper_discovery.rb +12 -0
  77. data/test/unit/discovered_extensions_test.rb +54 -0
  78. data/test/unit/discovery_attribute_set_test.rb +1 -0
  79. data/test/unit/discovery_rule_test.rb +1 -0
  80. data/test/unit/host_discovered_test.rb +32 -13
  81. data/test/unit/managed_extensions_test.rb +2 -0
  82. metadata +36 -31
@@ -3,17 +3,17 @@
3
3
  # This file is distributed under the same license as the foreman_discovery package.
4
4
  #
5
5
  # Translators:
6
- # Dominic Cleal <dominic@cleal.org>, 2014
6
+ # 0868a4d1af5275b3f70b0a6dac4c99a4, 2014
7
7
  # Junior Alvim <alvin@intechne.com.br>, 2014
8
8
  # Luiz Henrique Vasconcelos <luizvasconceloss@yahoo.com.br>, 2014
9
9
  # Luiz Henrique Vasconcelos <luizvasconceloss@yahoo.com.br>, 2014-2015
10
10
  # Valeria S Silva <valeriassilva@live.com>, 2015
11
11
  msgid ""
12
12
  msgstr ""
13
- "Project-Id-Version: foreman_discovery 15.0.0\n"
13
+ "Project-Id-Version: foreman_discovery 16.0.1\n"
14
14
  "Report-Msgid-Bugs-To: \n"
15
- "PO-Revision-Date: 2019-04-18 19:36+0000\n"
16
- "Last-Translator: Lukáš Zapletal\n"
15
+ "PO-Revision-Date: 2020-05-26 17:21+0000\n"
16
+ "Last-Translator: Transifex Bot <>\n"
17
17
  "Language-Team: Portuguese (Brazil) (http://www.transifex.com/foreman/foreman/l"
18
18
  "anguage/pt_BR/)\n"
19
19
  "MIME-Version: 1.0\n"
@@ -37,6 +37,9 @@ msgstr "Resumo dos hosts descobertos pelo <b>Foreman</b>"
37
37
  msgid "A summary of discovered hosts"
38
38
  msgstr "Um resumo de hosts descobertos"
39
39
 
40
+ msgid "Action with sub plans"
41
+ msgstr ""
42
+
40
43
  msgid "Actions"
41
44
  msgstr "Ações"
42
45
 
@@ -139,6 +142,11 @@ msgstr "Desabilitar"
139
142
  msgid "Disable rule '%s'?"
140
143
  msgstr "Desabilitar regra '%s'?"
141
144
 
145
+ msgid "Discovered Host"
146
+ msgid_plural "Discovered Hosts"
147
+ msgstr[0] ""
148
+ msgstr[1] ""
149
+
142
150
  msgid "Discovered Hosts"
143
151
  msgstr "Hosts descobertos"
144
152
 
@@ -350,6 +358,9 @@ msgstr "Endereço IP"
350
358
  msgid "IP address"
351
359
  msgstr "Endereco de IP"
352
360
 
361
+ msgid "IPAM must be configured for subnet '%s'"
362
+ msgstr ""
363
+
353
364
  msgid "IPMI"
354
365
  msgstr "IPMI"
355
366
 
@@ -365,6 +376,12 @@ msgstr "Erro de processamento da API da imagem: %{msg} (HTTP/%{code}, corpo: %{b
365
376
  msgid "Image API returned HTTP/%{code} with '%{body}"
366
377
  msgstr "API da imagem retornou HTTP/%{code} com '%{body}"
367
378
 
379
+ msgid "Import Puppet classes"
380
+ msgstr ""
381
+
382
+ msgid "Import facts"
383
+ msgstr ""
384
+
368
385
  msgid "In addition to @host attribute function rand for random integers is available. Examples:"
369
386
  msgstr "Além do atributo @host, a função rand para inteiros aleatórios está disponível. Exemplos:"
370
387
 
@@ -581,6 +598,9 @@ msgstr "Regex para organizar fatos da seção de armazenamento"
581
598
  msgid "Reloading kernel on %s"
582
599
  msgstr "Recarregando kernel no %s"
583
600
 
601
+ msgid "Remote action:"
602
+ msgstr ""
603
+
584
604
  msgid "Reported in the last 7 days"
585
605
  msgstr "Relatado nos últimos sete dias"
586
606
 
@@ -680,15 +700,15 @@ msgstr "Não foi possível encontrar uma regra do Discovery, nenhum host foi for
680
700
  msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
681
701
  msgstr "Não foi possível encontrar a NIC primária com o %{mac} especificado via '%{fact}'. Filtro da NIC: %{filter}"
682
702
 
683
- msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
684
- msgstr "Não foi possível executar kexec no %{name} por %{url}: %{msg}"
703
+ msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
704
+ msgstr ""
705
+
706
+ msgid "Unable to perform reboot on %{name} (%{url}): %{msg}"
707
+ msgstr ""
685
708
 
686
709
  msgid "Unable to provision %{host}: %{errors}"
687
710
  msgstr "Não foi possível provisionar %{host}: %{errors}"
688
711
 
689
- msgid "Unable to reboot %{name} via %{url}: %{msg}"
690
- msgstr "Não foi possível reinicializar %{name} por %{url}: %{msg}"
691
-
692
712
  msgid "Update a rule"
693
713
  msgstr "Atualizar uma regra"
694
714
 
@@ -1,48 +1,46 @@
1
1
  # SOME DESCRIPTIVE TITLE.
2
2
  # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
3
  # This file is distributed under the same license as the foreman_discovery package.
4
- #
4
+ #
5
5
  # Translators:
6
6
  # Denis Denis <stereodenis@gmail.com>, 2014
7
- # Dominic Cleal <dominic@cleal.org>, 2014
7
+ # 0868a4d1af5275b3f70b0a6dac4c99a4, 2014
8
8
  # Denis Denis <stereodenis@gmail.com>, 2014
9
9
  # Vladimir Pavlov <v.pavlov@i-teco.ru>, 2015
10
10
  # Yulia <yulia.poyarkova@redhat.com>, 2016
11
11
  msgid ""
12
12
  msgstr ""
13
- "Project-Id-Version: foreman_discovery 15.0.0\n"
13
+ "Project-Id-Version: foreman_discovery 16.3.4\n"
14
14
  "Report-Msgid-Bugs-To: \n"
15
- "POT-Creation-Date: 2019-05-13 15:39+0200\n"
16
- "PO-Revision-Date: 2019-04-18 19:36+0000\n"
17
- "Last-Translator: Lukáš Zapletal\n"
18
- "Language-Team: Russian (http://www.transifex.com/foreman/foreman/language/ru/)\n"
15
+ "PO-Revision-Date: 2020-05-26 17:21+0000\n"
16
+ "Last-Translator: Transifex Bot <>\n"
17
+ "Language-Team: Russian (http://www.transifex.com/foreman/foreman/language/ru/)"
18
+ "\n"
19
19
  "MIME-Version: 1.0\n"
20
20
  "Content-Type: text/plain; charset=UTF-8\n"
21
21
  "Content-Transfer-Encoding: 8bit\n"
22
22
  "Language: ru\n"
23
- "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
23
+ "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<="
24
+ "4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=1"
25
+ "1 && n%100<=14)? 2 : 3);\n"
24
26
 
25
27
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:16
26
28
  msgid "List all discovered hosts"
27
29
  msgstr "Показать все обнаруженные узлы"
28
30
 
29
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:17
30
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:15
31
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:17 ../app/controllers/api/v2/discovery_rules_controller.rb:15
31
32
  msgid "filter results"
32
33
  msgstr "отфильтровать результаты"
33
34
 
34
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:18
35
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:16
35
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:18 ../app/controllers/api/v2/discovery_rules_controller.rb:16
36
36
  msgid "sort results"
37
37
  msgstr "отсортировать результаты"
38
38
 
39
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:19
40
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:17
39
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:19 ../app/controllers/api/v2/discovery_rules_controller.rb:17
41
40
  msgid "paginate results"
42
41
  msgstr "постраничный вывод"
43
42
 
44
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:20
45
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:18
43
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:20 ../app/controllers/api/v2/discovery_rules_controller.rb:18
46
44
  msgid "number of entries per request"
47
45
  msgstr "количество записей на запрос"
48
46
 
@@ -50,8 +48,7 @@ msgstr "количество записей на запрос"
50
48
  msgid "Show a discovered host"
51
49
  msgstr "Показать обнаруженный узел"
52
50
 
53
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:37
54
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:79
51
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:37 ../app/controllers/api/v2/discovered_hosts_controller.rb:85
55
52
  msgid "DHCP filename option (Grub2 or PXELinux by default)"
56
53
  msgstr ""
57
54
 
@@ -63,6 +60,10 @@ msgstr "Создать узел на базе обнаруженного для
63
60
  msgid "Provision a discovered host"
64
61
  msgstr "Подготовить обнаруженный узел"
65
62
 
63
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:54 ../app/controllers/api/v2/discovered_hosts_controller.rb:57 ../app/controllers/api/v2/discovered_hosts_controller.rb:58 ../app/controllers/api/v2/discovered_hosts_controller.rb:61 ../app/controllers/api/v2/discovered_hosts_controller.rb:64
64
+ msgid "required if host is managed and value is not inherited from host group"
65
+ msgstr ""
66
+
66
67
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:55
67
68
  msgid "not required if using a subnet with DHCP proxy"
68
69
  msgstr "не требуется, если используется подсеть с DHCP прокси"
@@ -71,82 +72,99 @@ msgstr "не требуется, если используется подсет
71
72
  msgid "not required if it's a virtual machine"
72
73
  msgstr "не требуется для виртуальных машин"
73
74
 
74
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:76
75
- msgid ""
76
- "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
75
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:62
76
+ msgid "required if not imaged based provisioning and host is managed and value is not inherited from host group"
77
+ msgstr ""
78
+
79
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:63
80
+ msgid "required if host is managed and custom partition has not been defined"
81
+ msgstr ""
82
+
83
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:69
84
+ msgid "Host's owner type"
85
+ msgstr ""
86
+
87
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:72
88
+ msgid "Host's parameters (array or indexed hash)"
89
+ msgstr ""
90
+
91
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:73
92
+ msgid "Name of the parameter"
93
+ msgstr ""
94
+
95
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:74
96
+ msgid "Parameter value"
97
+ msgstr ""
98
+
99
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:75
100
+ msgid "Type of value"
101
+ msgstr ""
102
+
103
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:82
104
+ msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
77
105
  msgstr "UUID для отслеживания состояния задач оркестрации, GET /api/orchestration/:UUID/tasks"
78
106
 
79
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:78
80
- msgid ""
81
- "required if value is not inherited from host group or default password in "
82
- "settings"
107
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:84
108
+ msgid "required if value is not inherited from host group or default password in settings"
83
109
  msgstr "обязательно, если пароль не унаследован от группы узлов или заданного по умолчанию пароля"
84
110
 
85
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:89
111
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:95
86
112
  msgid "Delete a discovered host"
87
113
  msgstr "Удалить обнаруженный узел"
88
114
 
89
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:96
115
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:102
90
116
  msgid "Upload facts for a host, creating the host if required"
91
117
  msgstr "Загрузить факты узла, требуемые для создания узла"
92
118
 
93
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:97
94
- msgid ""
95
- "hash containing facts for the host with minimum set of facts: "
96
- "discovery_bootif, macaddress_eth0, ipaddress, ipaddress_eth0, interfaces: "
97
- "eth0 (example in case primary interface is named eth0)"
119
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:103
120
+ msgid "hash containing facts for the host with minimum set of facts: discovery_bootif, macaddress_eth0, ipaddress, ipaddress_eth0, interfaces: eth0 (example in case primary interface is named eth0)"
98
121
  msgstr "хэш с минимальным набором фактов узла: discovery_bootif, macaddress_eth0, ipaddress, ipaddress_eth0, interfaces: eth0 (в этих примерах подразумевается, что основной интерфейс имеет имя eth0)"
99
122
 
100
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:116
123
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:129
101
124
  msgid "Execute rules against a discovered host"
102
125
  msgstr "Применить правила к обнаруженному узлу"
103
126
 
104
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:122
105
- #: ../app/controllers/discovered_hosts_controller.rb:159
127
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:135 ../app/controllers/discovered_hosts_controller.rb:160
106
128
  msgid "Host %{host} was provisioned with rule %{rule}"
107
129
  msgstr "%{host} был подготовлен в соответствии с правилом %{rule}"
108
130
 
109
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:125
131
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:138
110
132
  msgid "Unable to provision %{host}: %{errors}"
111
133
  msgstr "Не удалось подготовить %{host}: %{errors}"
112
134
 
113
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:131
114
- #: ../app/controllers/discovered_hosts_controller.rb:166
135
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:144 ../app/controllers/discovered_hosts_controller.rb:167
115
136
  msgid "No rule found for host %s"
116
137
  msgstr "Нет правил для %s"
117
138
 
118
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:138
139
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:151
119
140
  msgid "Execute rules against all currently discovered hosts"
120
141
  msgstr "Применить правила ко всем обнаруженным узлам"
121
142
 
122
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:142
123
- #: ../app/controllers/discovered_hosts_controller.rb:172
143
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:155 ../app/controllers/discovered_hosts_controller.rb:173
124
144
  msgid "Errors during auto provisioning: %s"
125
145
  msgstr "Ошибки при автоматической подготовке: %s"
126
146
 
127
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145
128
- #: ../app/controllers/discovered_hosts_controller.rb:175
147
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:158 ../app/controllers/discovered_hosts_controller.rb:176
129
148
  msgid "No discovered hosts to provision"
130
149
  msgstr "Нет обнаруженных узлов"
131
150
 
132
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:167
151
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:180
133
152
  msgid "%s discovered hosts were provisioned"
134
153
  msgstr "Подготовлено узлов: %s"
135
154
 
136
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:178
155
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:191
137
156
  msgid "Refreshing the facts of a discovered host"
138
157
  msgstr "Обновление фактов узла"
139
158
 
140
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:187
159
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:200
141
160
  msgid "Rebooting a discovered host"
142
161
  msgstr "Перезагрузка обнаруженного узла"
143
162
 
144
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:196
163
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:209
145
164
  msgid "Rebooting all discovered hosts"
146
165
  msgstr "Перезагрузка всех обнаруженных узлов"
147
166
 
148
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:207
149
- #: ../app/controllers/discovered_hosts_controller.rb:128
167
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:220 ../app/controllers/discovered_hosts_controller.rb:129
150
168
  msgid "Discovered hosts are rebooting now"
151
169
  msgstr "Выполняется перезагрузка обнаруженных узлов"
152
170
 
@@ -171,8 +189,7 @@ msgid "the hostgroup that is used to auto provision a host"
171
189
  msgstr "группа узлов, которая будет выбрана при автоматической подготовке узлов"
172
190
 
173
191
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:35
174
- msgid ""
175
- "defines a pattern to assign human-readable hostnames to the matching hosts"
192
+ msgid "defines a pattern to assign human-readable hostnames to the matching hosts"
176
193
  msgstr "шаблон для присвоения узлам понятных имен"
177
194
 
178
195
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:36
@@ -180,8 +197,7 @@ msgid "enables to limit maximum amount of provisioned hosts per rule"
180
197
  msgstr "максимальное число узлов для указанного правила"
181
198
 
182
199
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:37
183
- msgid ""
184
- "puts the rules in order, low numbers go first. Must be greater then zero"
200
+ msgid "puts the rules in order, low numbers go first. Must be greater then zero"
185
201
  msgstr "приоритет правила (должен быть больше 0). Правила выбираются по возрастанию приоритета"
186
202
 
187
203
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:38
@@ -220,11 +236,11 @@ msgstr "Не удалось найти правило: необходимо ук
220
236
  msgid "No hostgroup associated with rule '%s'"
221
237
  msgstr "Правило «%s» не связано ни с одной группой узлов"
222
238
 
223
- #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:69
239
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:73
224
240
  msgid "Errors during reboot: %s"
225
241
  msgstr "Ошибки при перезагрузке: %s"
226
242
 
227
- #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:87
243
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:91
228
244
  msgid "No discovered hosts to reboot"
229
245
  msgstr "Нет узлов для перезагрузки"
230
246
 
@@ -232,91 +248,91 @@ msgstr "Нет узлов для перезагрузки"
232
248
  msgid "Successfully provisioned %s"
233
249
  msgstr ""
234
250
 
235
- #: ../app/controllers/discovered_hosts_controller.rb:96
251
+ #: ../app/controllers/discovered_hosts_controller.rb:97
236
252
  msgid "Facts refreshed for %s"
237
253
  msgstr "Факты %s были обновлены"
238
254
 
239
- #: ../app/controllers/discovered_hosts_controller.rb:98
255
+ #: ../app/controllers/discovered_hosts_controller.rb:99
240
256
  msgid "Failed to refresh facts for %s"
241
257
  msgstr "Не удалось обновить факты %s"
242
258
 
243
- #: ../app/controllers/discovered_hosts_controller.rb:101
259
+ #: ../app/controllers/discovered_hosts_controller.rb:102
244
260
  msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
245
261
  msgstr "Не удалось обновить факты %{hostname}. Ошибка: %{error_message}"
246
262
 
247
- #: ../app/controllers/discovered_hosts_controller.rb:108
263
+ #: ../app/controllers/discovered_hosts_controller.rb:109
248
264
  msgid "Host of type %s can not be rebooted"
249
265
  msgstr "Узел типа %s не может быть перезагружен"
250
266
 
251
- #: ../app/controllers/discovered_hosts_controller.rb:112
267
+ #: ../app/controllers/discovered_hosts_controller.rb:113
252
268
  msgid "Rebooting host %s"
253
269
  msgstr "Перезагрузка %s"
254
270
 
255
- #: ../app/controllers/discovered_hosts_controller.rb:114
271
+ #: ../app/controllers/discovered_hosts_controller.rb:115
256
272
  msgid "Failed to reboot host %s"
257
273
  msgstr "Не удалось перезагрузить %s"
258
274
 
259
- #: ../app/controllers/discovered_hosts_controller.rb:117
275
+ #: ../app/controllers/discovered_hosts_controller.rb:118
260
276
  msgid "Failed to reboot host %{hostname} with error %{error_message}"
261
277
  msgstr "Не удалось перезагрузить %{hostname}. Ошибка: %{error_message}"
262
278
 
263
- #: ../app/controllers/discovered_hosts_controller.rb:131
279
+ #: ../app/controllers/discovered_hosts_controller.rb:132
264
280
  msgid "Failed to reboot hosts with error %s"
265
281
  msgstr "Не удалось перезагрузить узлы. Ошибка: %s"
266
282
 
267
- #: ../app/controllers/discovered_hosts_controller.rb:149
283
+ #: ../app/controllers/discovered_hosts_controller.rb:150
268
284
  msgid "Destroyed selected hosts"
269
285
  msgstr "Узлы удалены"
270
286
 
271
- #: ../app/controllers/discovered_hosts_controller.rb:151
287
+ #: ../app/controllers/discovered_hosts_controller.rb:152
272
288
  msgid "The following hosts were not deleted: %s"
273
289
  msgstr "Узлы не были удалены: %s"
274
290
 
275
- #: ../app/controllers/discovered_hosts_controller.rb:163
291
+ #: ../app/controllers/discovered_hosts_controller.rb:164
276
292
  msgid "Failed to auto provision host %s: %s"
277
293
  msgstr "Не удалось автоматически подготовить узел %s: %s"
278
294
 
279
- #: ../app/controllers/discovered_hosts_controller.rb:191
295
+ #: ../app/controllers/discovered_hosts_controller.rb:192
280
296
  msgid "Discovered hosts are provisioning now"
281
297
  msgstr "Выполняется подготовка обнаруженных узлов"
282
298
 
283
- #: ../app/controllers/discovered_hosts_controller.rb:223
299
+ #: ../app/controllers/discovered_hosts_controller.rb:226
284
300
  msgid "Highlights"
285
301
  msgstr "Основные"
286
302
 
287
- #: ../app/controllers/discovered_hosts_controller.rb:223
303
+ #: ../app/controllers/discovered_hosts_controller.rb:226
288
304
  msgid "Storage"
289
305
  msgstr "Хранение данных"
290
306
 
291
- #: ../app/controllers/discovered_hosts_controller.rb:223
307
+ #: ../app/controllers/discovered_hosts_controller.rb:226
292
308
  msgid "Hardware"
293
309
  msgstr "Физическое"
294
310
 
295
- #: ../app/controllers/discovered_hosts_controller.rb:223
311
+ #: ../app/controllers/discovered_hosts_controller.rb:226
296
312
  msgid "Network"
297
313
  msgstr "Сеть"
298
314
 
299
- #: ../app/controllers/discovered_hosts_controller.rb:223
315
+ #: ../app/controllers/discovered_hosts_controller.rb:226
300
316
  msgid "Software"
301
317
  msgstr "Программы"
302
318
 
303
- #: ../app/controllers/discovered_hosts_controller.rb:223
319
+ #: ../app/controllers/discovered_hosts_controller.rb:226
304
320
  msgid "IPMI"
305
321
  msgstr "IPMI"
306
322
 
307
- #: ../app/controllers/discovered_hosts_controller.rb:223
323
+ #: ../app/controllers/discovered_hosts_controller.rb:226
308
324
  msgid "Miscellaneous"
309
325
  msgstr "Дополнительно"
310
326
 
311
- #: ../app/controllers/discovered_hosts_controller.rb:301
327
+ #: ../app/controllers/discovered_hosts_controller.rb:304
312
328
  msgid "No hosts were found with that id or name"
313
329
  msgstr "Нет узла с таким идентификатором или именем"
314
330
 
315
- #: ../app/controllers/discovered_hosts_controller.rb:305
331
+ #: ../app/controllers/discovered_hosts_controller.rb:308
316
332
  msgid "No hosts selected"
317
333
  msgstr "Не выбран узел"
318
334
 
319
- #: ../app/controllers/discovered_hosts_controller.rb:311
335
+ #: ../app/controllers/discovered_hosts_controller.rb:314
320
336
  msgid "Something went wrong while selecting hosts - %s"
321
337
  msgstr "Непредвиденное поведение при выборе узлов: %s"
322
338
 
@@ -332,21 +348,15 @@ msgstr "Правило отключено"
332
348
  msgid "%s ago"
333
349
  msgstr "%s назад"
334
350
 
335
- #: ../app/helpers/discovered_hosts_helper.rb:14
336
- #: ../app/helpers/discovered_hosts_helper.rb:29
337
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:37
351
+ #: ../app/helpers/discovered_hosts_helper.rb:14 ../app/helpers/discovered_hosts_helper.rb:29 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:37
338
352
  msgid "Auto Provision"
339
353
  msgstr "Автоматическая подготовка"
340
354
 
341
- #: ../app/helpers/discovered_hosts_helper.rb:15
342
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:38
355
+ #: ../app/helpers/discovered_hosts_helper.rb:15 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:38
343
356
  msgid "Refresh facts"
344
357
  msgstr "Обновить факты"
345
358
 
346
- #: ../app/helpers/discovered_hosts_helper.rb:16
347
- #: ../app/helpers/discovered_hosts_helper.rb:30
348
- #: ../app/models/setting/discovered.rb:26
349
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:39
359
+ #: ../app/helpers/discovered_hosts_helper.rb:16 ../app/helpers/discovered_hosts_helper.rb:30 ../app/models/setting/discovered.rb:24 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:39
350
360
  msgid "Reboot"
351
361
  msgstr "Перезагрузить"
352
362
 
@@ -354,13 +364,11 @@ msgstr "Перезагрузить"
354
364
  msgid "Back"
355
365
  msgstr "Назад"
356
366
 
357
- #: ../app/helpers/discovered_hosts_helper.rb:21
358
- #: ../app/helpers/discovered_hosts_helper.rb:35
367
+ #: ../app/helpers/discovered_hosts_helper.rb:21 ../app/helpers/discovered_hosts_helper.rb:35
359
368
  msgid "Select Action"
360
369
  msgstr "Действия"
361
370
 
362
- #: ../app/helpers/discovered_hosts_helper.rb:23
363
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:40
371
+ #: ../app/helpers/discovered_hosts_helper.rb:23 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:40
364
372
  msgid "Delete %s?"
365
373
  msgstr "Удалить %s?"
366
374
 
@@ -380,8 +388,7 @@ msgstr "Удалить"
380
388
  msgid "%s - The following hosts are about to be changed"
381
389
  msgstr "%s — узлы будут изменены"
382
390
 
383
- #: ../app/helpers/discovered_hosts_helper.rb:46
384
- #: ../app/views/dashboard/_discovery_widget_host.html.erb:2
391
+ #: ../app/helpers/discovered_hosts_helper.rb:46 ../app/views/dashboard/_discovery_widget_host.html.erb:2
385
392
  msgid "N/A"
386
393
  msgstr "нет"
387
394
 
@@ -401,12 +408,7 @@ msgstr "Были данные за последние 7 дней"
401
408
  msgid "Provision"
402
409
  msgstr "Подготовить"
403
410
 
404
- #: ../app/helpers/discovery_rules_helper.rb:26
405
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:1
406
- #: ../app/views/discovered_hosts/welcome.html.erb:1
407
- #: ../app/views/discovered_hosts/welcome.html.erb:6
408
- #: ../lib/foreman_discovery/engine.rb:158
409
- #: ../lib/foreman_discovery/engine.rb:173
411
+ #: ../app/helpers/discovery_rules_helper.rb:26 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:1 ../app/views/discovered_hosts/welcome.html.erb:8 ../lib/foreman_discovery/engine.rb:159 ../lib/foreman_discovery/engine.rb:174
410
412
  msgid "Discovered Hosts"
411
413
  msgstr "Обнаруженные узлы"
412
414
 
@@ -455,10 +457,8 @@ msgid "must be present."
455
457
  msgstr ""
456
458
 
457
459
  #: ../app/models/discovery_rule.rb:52
458
- msgid ""
459
- "Host group organization %s must also be associated to the discovery rule"
460
- msgid_plural ""
461
- "Host group organizations %s must also be associated to the discovery rule"
460
+ msgid "Host group organization %s must also be associated to the discovery rule"
461
+ msgid_plural "Host group organizations %s must also be associated to the discovery rule"
462
462
  msgstr[0] "С правилом также необходимо связать организацию группы узлов, %s"
463
463
  msgstr[1] "С правилом также необходимо связать организации группы узлов: %s"
464
464
  msgstr[2] "С правилом также необходимо связать организации группы узлов: %s"
@@ -466,58 +466,57 @@ msgstr[3] "С правилом также необходимо связать о
466
466
 
467
467
  #: ../app/models/discovery_rule.rb:56
468
468
  msgid "Host group location %s must also be associated to the discovery rule"
469
- msgid_plural ""
470
- "Host group locations %s must also be associated to the discovery rule"
469
+ msgid_plural "Host group locations %s must also be associated to the discovery rule"
471
470
  msgstr[0] "С правилом также необходимо связать местоположение группы узлов, %s"
472
471
  msgstr[1] "С правилом также необходимо связать местоположения групп узлов: %s"
473
472
  msgstr[2] "С правилом также необходимо связать местоположения групп узлов: %s"
474
473
  msgstr[3] "С правилом также необходимо связать местоположения групп узлов: %s"
475
474
 
476
- #: ../app/models/host/discovered.rb:41
475
+ #: ../app/models/host/discovered.rb:40
477
476
  msgid "Fact + prefix"
478
477
  msgstr ""
479
478
 
480
- #: ../app/models/host/discovered.rb:42
479
+ #: ../app/models/host/discovered.rb:41
481
480
  msgid "Random name"
482
481
  msgstr ""
483
482
 
484
- #: ../app/models/host/discovered.rb:43
483
+ #: ../app/models/host/discovered.rb:42
485
484
  msgid "MAC-based name"
486
485
  msgstr ""
487
486
 
488
- #: ../app/models/host/discovered.rb:52
487
+ #: ../app/models/host/discovered.rb:55
489
488
  msgid "Invalid facts, must be a Hash"
490
489
  msgstr "Недопустимый формат фактов: ожидаются переменные и их значения"
491
490
 
492
- #: ../app/models/host/discovered.rb:57
493
- msgid ""
494
- "Expected discovery_fact '%s' is missing, unable to detect primary interface "
495
- "and set hostname"
491
+ #: ../app/models/host/discovered.rb:60
492
+ msgid "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
496
493
  msgstr "Отсутствует факт «%s»: невозможно определить основной интерфейс и имя узла"
497
494
 
498
- #: ../app/models/host/discovered.rb:70
499
- msgid ""
500
- "Invalid facts: hash does not contain a valid value for any of the facts in "
501
- "the discovery_hostname setting: %s"
495
+ #: ../app/models/host/discovered.rb:73
496
+ msgid "Invalid facts: hash does not contain a valid value for any of the facts in the discovery_hostname setting: %s"
502
497
  msgstr "Недействительные факты: строка не содержит ни одного действительного значения фактов в соответствии с заданным в discovery_hostname: %s"
503
498
 
504
- #: ../app/models/host/discovered.rb:96
499
+ #: ../app/models/host/discovered.rb:100
505
500
  msgid "Facts could not be imported"
506
501
  msgstr ""
507
502
 
508
- #: ../app/models/host/discovered.rb:151
503
+ #: ../app/models/host/discovered.rb:146
509
504
  msgid "Could not get facts from proxy %{url}: %{error}"
510
505
  msgstr "Не удалось получить факты с %{url}: %{error}"
511
506
 
512
- #: ../app/models/host/discovered.rb:159
513
- msgid "Unable to reboot %{name} via %{url}: %{msg}"
514
- msgstr "Не удалось перезагрузить %{name} с %{url}: %{msg}"
507
+ #: ../app/models/host/discovered.rb:160
508
+ msgid "Unable to perform reboot on %{name} (%{url}): %{msg}"
509
+ msgstr ""
515
510
 
516
- #: ../app/models/host/discovered.rb:167
517
- msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
518
- msgstr "Не удалось выполнить kexec на %{name} с %{url}: %{msg}"
511
+ #: ../app/models/host/discovered.rb:164 ../app/models/host/discovered.rb:183
512
+ msgid "Unable to perform %{action} on %{ips}"
513
+ msgstr ""
519
514
 
520
- #: ../app/models/host/discovered.rb:186
515
+ #: ../app/models/host/discovered.rb:179
516
+ msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
517
+ msgstr ""
518
+
519
+ #: ../app/models/host/discovered.rb:203
521
520
  msgid "Invalid hostname: Could not normalize the hostname"
522
521
  msgstr "Не удалось нормализовать имя узла"
523
522
 
@@ -545,191 +544,183 @@ msgstr ""
545
544
  msgid "Rebuild DNS for %s"
546
545
  msgstr ""
547
546
 
548
- #: ../app/models/setting/discovered.rb:19
547
+ #: ../app/models/setting/discovered.rb:17
549
548
  msgid "The default location to place discovered hosts in"
550
549
  msgstr "Местоположение для обнаруженных узлов по умолчанию"
551
550
 
552
- #: ../app/models/setting/discovered.rb:19
551
+ #: ../app/models/setting/discovered.rb:17
553
552
  msgid "Discovery location"
554
553
  msgstr ""
555
554
 
556
- #: ../app/models/setting/discovered.rb:20
555
+ #: ../app/models/setting/discovered.rb:18
557
556
  msgid "The default organization to place discovered hosts in"
558
557
  msgstr "Организация для обнаруженных узлов по умолчанию"
559
558
 
560
- #: ../app/models/setting/discovered.rb:20
559
+ #: ../app/models/setting/discovered.rb:18
561
560
  msgid "Discovery organization"
562
561
  msgstr ""
563
562
 
564
- #: ../app/models/setting/discovered.rb:21
563
+ #: ../app/models/setting/discovered.rb:19
565
564
  msgid "Fact name to use for primary interface detection"
566
565
  msgstr "Имя факта, определяющего основной сетевой интерфейс и имя узла"
567
566
 
568
- #: ../app/models/setting/discovered.rb:21
567
+ #: ../app/models/setting/discovered.rb:19
569
568
  msgid "Interface fact"
570
569
  msgstr ""
571
570
 
572
- #: ../app/models/setting/discovered.rb:22
573
- msgid ""
574
- "Automatic bond interface (if another interface is detected on the same VLAN "
575
- "via LLDP)"
571
+ #: ../app/models/setting/discovered.rb:20
572
+ msgid "Automatic bond interface (if another interface is detected on the same VLAN via LLDP)"
576
573
  msgstr ""
577
574
 
578
- #: ../app/models/setting/discovered.rb:22
575
+ #: ../app/models/setting/discovered.rb:20
579
576
  msgid "Create bond interfaces"
580
577
  msgstr ""
581
578
 
582
- #: ../app/models/setting/discovered.rb:23
579
+ #: ../app/models/setting/discovered.rb:21
583
580
  msgid "Clean all reported facts during provisioning (except discovery facts)"
584
581
  msgstr ""
585
582
 
586
- #: ../app/models/setting/discovered.rb:23
583
+ #: ../app/models/setting/discovered.rb:21
587
584
  msgid "Clean all facts"
588
585
  msgstr ""
589
586
 
590
- #: ../app/models/setting/discovered.rb:24
587
+ #: ../app/models/setting/discovered.rb:22
591
588
  msgid "List of facts to use for the hostname (separated by comma, first wins)"
592
589
  msgstr "Список фактов для узла с указанным именем (через запятую, до первого совпадения)"
593
590
 
594
- #: ../app/models/setting/discovered.rb:24
591
+ #: ../app/models/setting/discovered.rb:22
595
592
  msgid "Hostname facts"
596
593
  msgstr ""
597
594
 
598
- #: ../app/models/setting/discovered.rb:25
599
- msgid ""
600
- "Automatically provision newly discovered hosts, according to the "
601
- "provisioning rules"
595
+ #: ../app/models/setting/discovered.rb:23
596
+ msgid "Automatically provision newly discovered hosts, according to the provisioning rules"
602
597
  msgstr "Автоматически подготовить обнаруженные узлы в соответствии с заранее определенными правилами"
603
598
 
604
- #: ../app/models/setting/discovered.rb:25
599
+ #: ../app/models/setting/discovered.rb:23
605
600
  msgid "Auto provisioning"
606
601
  msgstr ""
607
602
 
608
- #: ../app/models/setting/discovered.rb:26
603
+ #: ../app/models/setting/discovered.rb:24
609
604
  msgid "Automatically reboot or kexec discovered host during provisioning"
610
605
  msgstr ""
611
606
 
612
- #: ../app/models/setting/discovered.rb:27
607
+ #: ../app/models/setting/discovered.rb:25
613
608
  msgid "The default prefix to use for the host name, must start with a letter"
614
609
  msgstr "Префикс имени узла (должен начинаться с буквы)"
615
610
 
616
- #: ../app/models/setting/discovered.rb:27
611
+ #: ../app/models/setting/discovered.rb:25
617
612
  msgid "Hostname prefix"
618
613
  msgstr ""
619
614
 
620
- #: ../app/models/setting/discovered.rb:28
615
+ #: ../app/models/setting/discovered.rb:26
621
616
  msgid "Extra facter columns to show in host lists (separate by comma)"
622
617
  msgstr "Дополнительные столбцы Facter в списке узлов (через запятую)"
623
618
 
624
- #: ../app/models/setting/discovered.rb:28
619
+ #: ../app/models/setting/discovered.rb:26
625
620
  msgid "Fact columns"
626
621
  msgstr ""
627
622
 
628
- #: ../app/models/setting/discovered.rb:29
623
+ #: ../app/models/setting/discovered.rb:27
629
624
  msgid "Regex to organize facts for highlights section - e.g. ^(abc|cde)$"
630
625
  msgstr "Регулярное выражение для организации фактов в списке «Основные», например: ^(abc|cde)$"
631
626
 
632
- #: ../app/models/setting/discovered.rb:29
627
+ #: ../app/models/setting/discovered.rb:27
633
628
  msgid "Highlighted facts"
634
629
  msgstr ""
635
630
 
636
- #: ../app/models/setting/discovered.rb:30
631
+ #: ../app/models/setting/discovered.rb:28
637
632
  msgid "Regex to organize facts for storage section"
638
633
  msgstr "Регулярное выражение для организации фактов в секции «Хранилище»"
639
634
 
640
- #: ../app/models/setting/discovered.rb:30
635
+ #: ../app/models/setting/discovered.rb:28
641
636
  msgid "Storage facts"
642
637
  msgstr ""
643
638
 
644
- #: ../app/models/setting/discovered.rb:31
639
+ #: ../app/models/setting/discovered.rb:29
645
640
  msgid "Regex to organize facts for software section"
646
641
  msgstr "Регулярное выражение для организации фактов в секции «Программное обеспечение»"
647
642
 
648
- #: ../app/models/setting/discovered.rb:31
643
+ #: ../app/models/setting/discovered.rb:29
649
644
  msgid "Software facts"
650
645
  msgstr ""
651
646
 
652
- #: ../app/models/setting/discovered.rb:32
647
+ #: ../app/models/setting/discovered.rb:30
653
648
  msgid "Regex to organize facts for hardware section"
654
649
  msgstr "Регулярное выражение для организации фактов в секции «Оборудование»"
655
650
 
656
- #: ../app/models/setting/discovered.rb:32
651
+ #: ../app/models/setting/discovered.rb:30
657
652
  msgid "Hardware facts"
658
653
  msgstr ""
659
654
 
660
- #: ../app/models/setting/discovered.rb:33
655
+ #: ../app/models/setting/discovered.rb:31
661
656
  msgid "Regex to organize facts for network section"
662
657
  msgstr "Регулярное выражение для организации фактов в секции «Сеть»"
663
658
 
664
- #: ../app/models/setting/discovered.rb:33
659
+ #: ../app/models/setting/discovered.rb:31
665
660
  msgid "Network facts"
666
661
  msgstr ""
667
662
 
668
- #: ../app/models/setting/discovered.rb:34
663
+ #: ../app/models/setting/discovered.rb:32
669
664
  msgid "Regex to organize facts for ipmi section"
670
665
  msgstr "Регулярное выражение для организации фактов в секции «IPMI»"
671
666
 
672
- #: ../app/models/setting/discovered.rb:34
667
+ #: ../app/models/setting/discovered.rb:32
673
668
  msgid "IPMI facts"
674
669
  msgstr ""
675
670
 
676
- #: ../app/models/setting/discovered.rb:35
677
- msgid ""
678
- "Automatically generate PXE configuration to pin a newly discovered host to "
679
- "discovery"
671
+ #: ../app/models/setting/discovered.rb:33
672
+ msgid "Automatically generate PXE configuration to pin a newly discovered host to discovery"
680
673
  msgstr ""
681
674
 
682
- #: ../app/models/setting/discovered.rb:35
675
+ #: ../app/models/setting/discovered.rb:33
683
676
  msgid "Lock PXE"
684
677
  msgstr ""
685
678
 
686
- #: ../app/models/setting/discovered.rb:36
679
+ #: ../app/models/setting/discovered.rb:34
687
680
  msgid "PXELinux template to be used when pinning a host to discovery"
688
681
  msgstr ""
689
682
 
690
- #: ../app/models/setting/discovered.rb:36
683
+ #: ../app/models/setting/discovered.rb:34
691
684
  msgid "Locked PXELinux template name"
692
685
  msgstr ""
693
686
 
694
- #: ../app/models/setting/discovered.rb:37
687
+ #: ../app/models/setting/discovered.rb:35
695
688
  msgid "PXEGrub template to be used when pinning a host to discovery"
696
689
  msgstr ""
697
690
 
698
- #: ../app/models/setting/discovered.rb:37
691
+ #: ../app/models/setting/discovered.rb:35
699
692
  msgid "Locked PXEGrub template name"
700
693
  msgstr ""
701
694
 
702
- #: ../app/models/setting/discovered.rb:38
695
+ #: ../app/models/setting/discovered.rb:36
703
696
  msgid "PXEGrub2 template to be used when pinning a host to discovery"
704
697
  msgstr ""
705
698
 
706
- #: ../app/models/setting/discovered.rb:38
699
+ #: ../app/models/setting/discovered.rb:36
707
700
  msgid "Locked PXEGrub2 template name"
708
701
  msgstr ""
709
702
 
710
- #: ../app/models/setting/discovered.rb:39
703
+ #: ../app/models/setting/discovered.rb:37
711
704
  msgid "Force DNS entries creation when provisioning discovered host"
712
705
  msgstr ""
713
706
 
714
- #: ../app/models/setting/discovered.rb:39
707
+ #: ../app/models/setting/discovered.rb:37
715
708
  msgid "Force DNS"
716
709
  msgstr ""
717
710
 
718
- #: ../app/models/setting/discovered.rb:40
719
- msgid ""
720
- "Do not allow to discover existing managed host matching MAC of a "
721
- "provisioning NIC (errors out early)"
711
+ #: ../app/models/setting/discovered.rb:38
712
+ msgid "Do not allow to discover existing managed host matching MAC of a provisioning NIC (errors out early)"
722
713
  msgstr ""
723
714
 
724
- #: ../app/models/setting/discovered.rb:40
715
+ #: ../app/models/setting/discovered.rb:38
725
716
  msgid "Error on existing NIC"
726
717
  msgstr ""
727
718
 
728
- #: ../app/models/setting/discovered.rb:41
719
+ #: ../app/models/setting/discovered.rb:39
729
720
  msgid "Discovery hostname naming pattern"
730
721
  msgstr ""
731
722
 
732
- #: ../app/models/setting/discovered.rb:41
723
+ #: ../app/models/setting/discovered.rb:39
733
724
  msgid "Type of name generator"
734
725
  msgstr ""
735
726
 
@@ -742,19 +733,27 @@ msgid "Discovered host '%{host}' has all NICs filtered out, filter: %{filter}"
742
733
  msgstr ""
743
734
 
744
735
  #: ../app/services/foreman_discovery/fact_parser.rb:12
745
- msgid ""
746
- "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: "
747
- "%{filter}"
736
+ msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
737
+ msgstr ""
738
+
739
+ #: ../app/services/foreman_discovery/host_converter.rb:47
740
+ msgid "IPAM must be configured for subnet '%s'"
748
741
  msgstr ""
749
742
 
750
- #: ../app/services/foreman_discovery/node_api/node_resource.rb:75
743
+ #: ../app/services/foreman_discovery/node_api/node_resource.rb:76
751
744
  msgid "Image API returned HTTP/%{code} with '%{body}"
752
745
  msgstr "API образа вернул ошибку HTTP/%{code}: '%{body}"
753
746
 
754
- #: ../app/services/foreman_discovery/node_api/node_resource.rb:78
747
+ #: ../app/services/foreman_discovery/node_api/node_resource.rb:79
755
748
  msgid "Image API processing error: %{msg} (HTTP/%{code}, body: %{body})"
756
749
  msgstr "API образа вернул ошибку HTTP/%{code}: %{msg} (body: %{body})"
757
750
 
751
+ #: ../app/views/dashboard/_discovery_widget.html.erb:5
752
+ msgid "Discovered Host"
753
+ msgid_plural "Discovered Hosts"
754
+ msgstr[0] ""
755
+ msgstr[1] ""
756
+
758
757
  #: ../app/views/dashboard/_discovery_widget.html.erb:9
759
758
  msgid "No discovered hosts available"
760
759
  msgstr "Нет обнаруженных узлов"
@@ -763,25 +762,15 @@ msgstr "Нет обнаруженных узлов"
763
762
  msgid "Host"
764
763
  msgstr "Узел"
765
764
 
766
- #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:4
767
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:6
768
- #: ../app/views/discovered_hosts/_selected_hosts.html.erb:8
769
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:18
770
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:10
765
+ #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:4 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:6 ../app/views/discovered_hosts/_selected_hosts.html.erb:8 ../app/views/discovered_mailer/discovered_summary.html.erb:18 ../app/views/discovered_mailer/discovered_summary.text.erb:10
771
766
  msgid "Model"
772
767
  msgstr "Модель"
773
768
 
774
- #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:5
775
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:8
776
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:20
777
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:12
769
+ #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:5 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:8 ../app/views/discovered_mailer/discovered_summary.html.erb:20 ../app/views/discovered_mailer/discovered_summary.text.erb:12
778
770
  msgid "CPUs"
779
771
  msgstr "Процессоры"
780
772
 
781
- #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:6
782
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:9
783
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:21
784
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:13
773
+ #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:6 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:9 ../app/views/discovered_mailer/discovered_summary.html.erb:21 ../app/views/discovered_mailer/discovered_summary.text.erb:13
785
774
  msgid "Memory"
786
775
  msgstr "Память"
787
776
 
@@ -801,16 +790,11 @@ msgstr "Выбрать все элементы на странице"
801
790
  msgid "items selected. Uncheck to Clear"
802
791
  msgstr "выбрано. Чтобы очистить, снимите флажок"
803
792
 
804
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
805
- #: ../app/views/discovered_hosts/_selected_hosts.html.erb:7
806
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:17
807
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:9
793
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5 ../app/views/discovered_hosts/_selected_hosts.html.erb:7 ../app/views/discovered_mailer/discovered_summary.html.erb:17 ../app/views/discovered_mailer/discovered_summary.text.erb:9
808
794
  msgid "Name"
809
795
  msgstr "Имя"
810
796
 
811
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:7
812
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:19
813
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:11
797
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:7 ../app/views/discovered_mailer/discovered_summary.html.erb:19 ../app/views/discovered_mailer/discovered_summary.text.erb:11
814
798
  msgid "IP Address"
815
799
  msgstr "IP"
816
800
 
@@ -822,13 +806,11 @@ msgstr ""
822
806
  msgid "Disks Size"
823
807
  msgstr ""
824
808
 
825
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:15
826
- #: ../app/views/discovered_hosts/_selected_hosts.html.erb:9
809
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:15 ../app/views/discovered_hosts/_selected_hosts.html.erb:9
827
810
  msgid "Location"
828
811
  msgstr "Местоположение"
829
812
 
830
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:16
831
- #: ../app/views/discovered_hosts/_selected_hosts.html.erb:10
813
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:16 ../app/views/discovered_hosts/_selected_hosts.html.erb:10
832
814
  msgid "Organization"
833
815
  msgstr "Организация"
834
816
 
@@ -840,8 +822,7 @@ msgstr "Подсеть"
840
822
  msgid "Last Facts Upload"
841
823
  msgstr ""
842
824
 
843
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:19
844
- #: ../app/views/discovery_rules/index.html.erb:12
825
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:19 ../app/views/discovery_rules/index.html.erb:12
845
826
  msgid "Actions"
846
827
  msgstr "Действия"
847
828
 
@@ -862,9 +843,7 @@ msgid "Provision %s"
862
843
  msgstr ""
863
844
 
864
845
  #: ../app/views/discovered_hosts/multiple_destroy.html.erb:3
865
- msgid ""
866
- "This might take a while, as all hosts, facts and reports will be destroyed "
867
- "as well"
846
+ msgid "This might take a while, as all hosts, facts and reports will be destroyed as well"
868
847
  msgstr "Это может занять некоторое время, так как в ходе выполнения будут удалены узлы, статистика и все отчеты"
869
848
 
870
849
  #: ../app/views/discovered_hosts/select_multiple_location.html.erb:5
@@ -903,20 +882,6 @@ msgstr "IP-адрес"
903
882
  msgid "Collapse All"
904
883
  msgstr "Свернуть все"
905
884
 
906
- #: ../app/views/discovered_hosts/welcome.html.erb:7
907
- msgid "No discovered hosts found in this context."
908
- msgstr ""
909
-
910
- #: ../app/views/discovered_hosts/welcome.html.erb:8
911
- msgid ""
912
- "This page shows discovered bare-metal or virtual nodes waiting to be "
913
- "provisioned."
914
- msgstr ""
915
-
916
- #: ../app/views/discovered_hosts/welcome.html.erb:9
917
- msgid "Learn more about this in the documentation."
918
- msgstr ""
919
-
920
885
  #: ../app/views/discovered_mailer/discovered_summary.html.erb:6
921
886
  msgid "Summary report for discovered hosts from Foreman"
922
887
  msgstr "Сводный отчет Foreman по обнаруженным узлам"
@@ -925,23 +890,19 @@ msgstr "Сводный отчет Foreman по обнаруженным узла
925
890
  msgid "<b>Foreman</b> Discovered hosts summary"
926
891
  msgstr "Сводка обнаруженных узлов от <b>Foreman</b>"
927
892
 
928
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:10
929
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:5
893
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:10 ../app/views/discovered_mailer/discovered_summary.text.erb:5
930
894
  msgid "Summary from %{time} ago to %{now}"
931
895
  msgstr "Сводка за %{time} — %{now}"
932
896
 
933
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:11
934
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:3
897
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:11 ../app/views/discovered_mailer/discovered_summary.text.erb:3
935
898
  msgid "Discovered hosts from Foreman server at %{foreman_url}"
936
899
  msgstr "Узлы, обнаруженные сервером Foreman %{foreman_url}"
937
900
 
938
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:22
939
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:14
901
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:22 ../app/views/discovered_mailer/discovered_summary.text.erb:14
940
902
  msgid "Disk count"
941
903
  msgstr "Количество дисков"
942
904
 
943
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:23
944
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:15
905
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:23 ../app/views/discovered_mailer/discovered_summary.text.erb:15
945
906
  msgid "Disks size"
946
907
  msgstr "Размер диска"
947
908
 
@@ -990,41 +951,30 @@ msgid "Rule priority (lower integer means higher priority)"
990
951
  msgstr "Приоритет (чем ниже число, тем выше приоритет)"
991
952
 
992
953
  #: ../app/views/discovery_rules/_template_inline.erb:2
993
- msgid ""
994
- "Specify target hostname template pattern in the same syntax as in "
995
- "Provisioning Templates (ERB)."
954
+ msgid "Specify target hostname template pattern in the same syntax as in Provisioning Templates (ERB)."
996
955
  msgstr "Определите шаблон для узла, используя синтаксис, аналогичный используемому в подготовительных шаблонах (ERB)."
997
956
 
998
957
  #: ../app/views/discovery_rules/_template_inline.erb:4
999
- msgid ""
1000
- "Domain will be appended automatically. A hostname based on MAC address will "
1001
- "be used when left blank."
958
+ msgid "Domain will be appended automatically. A hostname based on MAC address will be used when left blank."
1002
959
  msgstr ""
1003
960
 
1004
961
  #: ../app/views/discovery_rules/_template_inline.erb:5
1005
- msgid ""
1006
- "In addition to @host attribute function rand for random integers is "
1007
- "available. Examples:"
962
+ msgid "In addition to @host attribute function rand for random integers is available. Examples:"
1008
963
  msgstr ""
1009
964
 
1010
965
  #: ../app/views/discovery_rules/_template_inline.erb:8
1011
- msgid ""
1012
- "When creating hostname patterns, make sure the resulting host names are "
1013
- "unique."
966
+ msgid "When creating hostname patterns, make sure the resulting host names are unique."
1014
967
  msgstr ""
1015
968
 
1016
969
  #: ../app/views/discovery_rules/_template_inline.erb:9
1017
- msgid ""
1018
- "Hostnames must not start with numbers. A good approach is to use unique "
1019
- "information provided by facter (MAC address, BIOS or serial ID)."
970
+ msgid "Hostnames must not start with numbers. A good approach is to use unique information provided by facter (MAC address, BIOS or serial ID)."
1020
971
  msgstr ""
1021
972
 
1022
973
  #: ../app/views/discovery_rules/edit.html.erb:1
1023
974
  msgid "Edit %s"
1024
975
  msgstr "Изменить %s"
1025
976
 
1026
- #: ../app/views/discovery_rules/index.html.erb:1
1027
- #: ../lib/foreman_discovery/engine.rb:163
977
+ #: ../app/views/discovery_rules/index.html.erb:1 ../lib/foreman_discovery/engine.rb:164
1028
978
  msgid "Discovery Rules"
1029
979
  msgstr "Правила обнаружения"
1030
980
 
@@ -1080,22 +1030,34 @@ msgstr ""
1080
1030
  msgid "Details"
1081
1031
  msgstr "Свойства"
1082
1032
 
1083
- #: ../lib/foreman_discovery/engine.rb:179
1033
+ #: ../lib/foreman_discovery/engine.rb:180
1084
1034
  msgid "Discovery Kexec template"
1085
1035
  msgstr ""
1086
1036
 
1087
- #: ../lib/foreman_discovery/engine.rb:188
1037
+ #: ../lib/foreman_discovery/engine.rb:189
1088
1038
  msgid "Discovery Proxy"
1089
1039
  msgstr ""
1090
1040
 
1091
- #: ../lib/foreman_discovery/engine.rb:189
1092
- msgid ""
1093
- "Discovery Proxy to use within this subnet for managing connection to "
1094
- "discovered hosts"
1041
+ #: ../lib/foreman_discovery/engine.rb:190
1042
+ msgid "Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1095
1043
  msgstr ""
1096
1044
 
1097
- #: ../lib/foreman_discovery/engine.rb:190
1098
- msgid ""
1099
- "ID of Discovery Proxy to use within this subnet for managing connection to "
1100
- "discovered hosts"
1045
+ #: ../lib/foreman_discovery/engine.rb:191
1046
+ msgid "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1047
+ msgstr ""
1048
+
1049
+ #: action_names.rb:2
1050
+ msgid "Remote action:"
1051
+ msgstr ""
1052
+
1053
+ #: action_names.rb:3
1054
+ msgid "Import Puppet classes"
1055
+ msgstr ""
1056
+
1057
+ #: action_names.rb:4
1058
+ msgid "Import facts"
1059
+ msgstr ""
1060
+
1061
+ #: action_names.rb:5
1062
+ msgid "Action with sub plans"
1101
1063
  msgstr ""