foreman_discovery 15.0.1 → 16.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/api/v2/discovery_rules_controller.rb +1 -1
  3. data/app/controllers/concerns/foreman/controller/discovered_extensions.rb +4 -0
  4. data/app/controllers/discovered_hosts_controller.rb +1 -0
  5. data/app/controllers/discovery_rules_controller.rb +1 -1
  6. data/app/models/discovery_rule.rb +1 -1
  7. data/app/models/host/discovered.rb +37 -15
  8. data/app/models/host/managed_extensions.rb +1 -1
  9. data/app/models/setting/discovered.rb +26 -33
  10. data/app/services/foreman_discovery/fact_parser.rb +1 -1
  11. data/app/services/foreman_discovery/host_converter.rb +30 -2
  12. data/app/services/foreman_discovery/import_hooks/subnet_and_taxonomy.rb +6 -14
  13. data/app/services/foreman_discovery/subnet_suggestion.rb +26 -0
  14. data/app/views/discovered_hosts/_discovered_host_modal.html.erb +19 -17
  15. data/app/views/foreman_discovery/debian_kexec.erb +1 -1
  16. data/config/routes.rb +2 -0
  17. data/db/migrate/20150512150432_remove_old_discovery_reader_permissions.rb +1 -1
  18. data/db/migrate/20151023144501_regenerate_red_hat_kexec.rb +1 -1
  19. data/db/migrate/20180412124505_add_priority_score_to_discovery_rules.rb +1 -1
  20. data/extra/discover-host +21 -7
  21. data/lib/foreman_discovery/engine.rb +4 -4
  22. data/lib/foreman_discovery/version.rb +1 -1
  23. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  24. data/locale/ca/foreman_discovery.edit.po +238 -139
  25. data/locale/ca/foreman_discovery.po +28 -8
  26. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  27. data/locale/de/foreman_discovery.edit.po +240 -140
  28. data/locale/de/foreman_discovery.po +31 -11
  29. data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
  30. data/locale/en/foreman_discovery.edit.po +109 -83
  31. data/locale/en/foreman_discovery.po +24 -4
  32. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  33. data/locale/en_GB/foreman_discovery.edit.po +241 -142
  34. data/locale/en_GB/foreman_discovery.po +31 -11
  35. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  36. data/locale/es/foreman_discovery.edit.po +240 -141
  37. data/locale/es/foreman_discovery.po +30 -10
  38. data/locale/foreman_discovery.pot +110 -84
  39. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  40. data/locale/fr/foreman_discovery.edit.po +237 -137
  41. data/locale/fr/foreman_discovery.po +28 -8
  42. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  43. data/locale/gl/foreman_discovery.edit.po +236 -137
  44. data/locale/gl/foreman_discovery.po +26 -6
  45. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  46. data/locale/it/foreman_discovery.edit.po +236 -137
  47. data/locale/it/foreman_discovery.po +26 -6
  48. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  49. data/locale/ja/foreman_discovery.edit.po +238 -142
  50. data/locale/ja/foreman_discovery.po +29 -9
  51. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  52. data/locale/ko/foreman_discovery.edit.po +236 -139
  53. data/locale/ko/foreman_discovery.po +28 -8
  54. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  55. data/locale/pt_BR/foreman_discovery.edit.po +239 -140
  56. data/locale/pt_BR/foreman_discovery.po +29 -9
  57. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  58. data/locale/ru/foreman_discovery.edit.po +242 -143
  59. data/locale/ru/foreman_discovery.po +29 -9
  60. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  61. data/locale/sv_SE/foreman_discovery.edit.po +237 -138
  62. data/locale/sv_SE/foreman_discovery.po +27 -7
  63. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  64. data/locale/zh_CN/foreman_discovery.edit.po +237 -141
  65. data/locale/zh_CN/foreman_discovery.po +28 -8
  66. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  67. data/locale/zh_TW/foreman_discovery.edit.po +235 -139
  68. data/locale/zh_TW/foreman_discovery.po +26 -6
  69. data/test/facts/bond0-eth0-eth1-active-passive.json +128 -0
  70. data/test/facts/facts_with_lldp_bond_candidate.json +2 -9
  71. data/test/functional/api/v2/discovered_hosts_controller_test.rb +1 -0
  72. data/test/functional/discovered_hosts_controller_test.rb +4 -4
  73. data/test/integration/discovered_hosts_test.rb +6 -11
  74. data/test/test_helper_discovery.rb +12 -0
  75. data/test/unit/discovered_extensions_test.rb +53 -0
  76. data/test/unit/discovery_attribute_set_test.rb +13 -10
  77. data/test/unit/discovery_rule_test.rb +1 -0
  78. data/test/unit/host_discovered_test.rb +32 -13
  79. data/test/unit/managed_extensions_test.rb +1 -0
  80. metadata +8 -2
@@ -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 Foreman"
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,47 +1,48 @@
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.0.1\n"
14
14
  "Report-Msgid-Bugs-To: \n"
15
- "POT-Creation-Date: 2019-07-23 17:13+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/)"
19
- "\n"
15
+ "POT-Creation-Date: 2020-05-11 14:58+0530\n"
16
+ "PO-Revision-Date: 2020-05-26 17:21+0000\n"
17
+ "Last-Translator: Transifex Bot <>\n"
18
+ "Language-Team: Russian (http://www.transifex.com/foreman/foreman/language/ru/)\n"
20
19
  "MIME-Version: 1.0\n"
21
20
  "Content-Type: text/plain; charset=UTF-8\n"
22
21
  "Content-Transfer-Encoding: 8bit\n"
23
22
  "Language: ru\n"
24
- "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<="
25
- "4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=1"
26
- "1 && n%100<=14)? 2 : 3);\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"
27
24
 
28
25
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:16
29
26
  msgid "List all discovered hosts"
30
27
  msgstr "Показать все обнаруженные узлы"
31
28
 
32
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:17 ../app/controllers/api/v2/discovery_rules_controller.rb:15
29
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:17
30
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:15
33
31
  msgid "filter results"
34
32
  msgstr "отфильтровать результаты"
35
33
 
36
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:18 ../app/controllers/api/v2/discovery_rules_controller.rb:16
34
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:18
35
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:16
37
36
  msgid "sort results"
38
37
  msgstr "отсортировать результаты"
39
38
 
40
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:19 ../app/controllers/api/v2/discovery_rules_controller.rb:17
39
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:19
40
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:17
41
41
  msgid "paginate results"
42
42
  msgstr "постраничный вывод"
43
43
 
44
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:20 ../app/controllers/api/v2/discovery_rules_controller.rb:18
44
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:20
45
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:18
45
46
  msgid "number of entries per request"
46
47
  msgstr "количество записей на запрос"
47
48
 
@@ -49,7 +50,8 @@ msgstr "количество записей на запрос"
49
50
  msgid "Show a discovered host"
50
51
  msgstr "Показать обнаруженный узел"
51
52
 
52
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:37 ../app/controllers/api/v2/discovered_hosts_controller.rb:79
53
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:37
54
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:79
53
55
  msgid "DHCP filename option (Grub2 or PXELinux by default)"
54
56
  msgstr ""
55
57
 
@@ -70,11 +72,14 @@ msgid "not required if it's a virtual machine"
70
72
  msgstr "не требуется для виртуальных машин"
71
73
 
72
74
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:76
73
- msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
75
+ msgid ""
76
+ "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
74
77
  msgstr "UUID для отслеживания состояния задач оркестрации, GET /api/orchestration/:UUID/tasks"
75
78
 
76
79
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:78
77
- msgid "required if value is not inherited from host group or default password in settings"
80
+ msgid ""
81
+ "required if value is not inherited from host group or default password in "
82
+ "settings"
78
83
  msgstr "обязательно, если пароль не унаследован от группы узлов или заданного по умолчанию пароля"
79
84
 
80
85
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:89
@@ -86,14 +91,18 @@ msgid "Upload facts for a host, creating the host if required"
86
91
  msgstr "Загрузить факты узла, требуемые для создания узла"
87
92
 
88
93
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:97
89
- 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)"
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)"
90
98
  msgstr "хэш с минимальным набором фактов узла: discovery_bootif, macaddress_eth0, ipaddress, ipaddress_eth0, interfaces: eth0 (в этих примерах подразумевается, что основной интерфейс имеет имя eth0)"
91
99
 
92
100
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:116
93
101
  msgid "Execute rules against a discovered host"
94
102
  msgstr "Применить правила к обнаруженному узлу"
95
103
 
96
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:122 ../app/controllers/discovered_hosts_controller.rb:159
104
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:122
105
+ #: ../app/controllers/discovered_hosts_controller.rb:160
97
106
  msgid "Host %{host} was provisioned with rule %{rule}"
98
107
  msgstr "%{host} был подготовлен в соответствии с правилом %{rule}"
99
108
 
@@ -101,7 +110,8 @@ msgstr "%{host} был подготовлен в соответствии с п
101
110
  msgid "Unable to provision %{host}: %{errors}"
102
111
  msgstr "Не удалось подготовить %{host}: %{errors}"
103
112
 
104
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:131 ../app/controllers/discovered_hosts_controller.rb:166
113
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:131
114
+ #: ../app/controllers/discovered_hosts_controller.rb:167
105
115
  msgid "No rule found for host %s"
106
116
  msgstr "Нет правил для %s"
107
117
 
@@ -109,11 +119,13 @@ msgstr "Нет правил для %s"
109
119
  msgid "Execute rules against all currently discovered hosts"
110
120
  msgstr "Применить правила ко всем обнаруженным узлам"
111
121
 
112
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:142 ../app/controllers/discovered_hosts_controller.rb:172
122
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:142
123
+ #: ../app/controllers/discovered_hosts_controller.rb:173
113
124
  msgid "Errors during auto provisioning: %s"
114
125
  msgstr "Ошибки при автоматической подготовке: %s"
115
126
 
116
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:175
127
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145
128
+ #: ../app/controllers/discovered_hosts_controller.rb:176
117
129
  msgid "No discovered hosts to provision"
118
130
  msgstr "Нет обнаруженных узлов"
119
131
 
@@ -133,7 +145,8 @@ msgstr "Перезагрузка обнаруженного узла"
133
145
  msgid "Rebooting all discovered hosts"
134
146
  msgstr "Перезагрузка всех обнаруженных узлов"
135
147
 
136
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:207 ../app/controllers/discovered_hosts_controller.rb:128
148
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:207
149
+ #: ../app/controllers/discovered_hosts_controller.rb:129
137
150
  msgid "Discovered hosts are rebooting now"
138
151
  msgstr "Выполняется перезагрузка обнаруженных узлов"
139
152
 
@@ -158,7 +171,8 @@ msgid "the hostgroup that is used to auto provision a host"
158
171
  msgstr "группа узлов, которая будет выбрана при автоматической подготовке узлов"
159
172
 
160
173
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:35
161
- msgid "defines a pattern to assign human-readable hostnames to the matching hosts"
174
+ msgid ""
175
+ "defines a pattern to assign human-readable hostnames to the matching hosts"
162
176
  msgstr "шаблон для присвоения узлам понятных имен"
163
177
 
164
178
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:36
@@ -166,7 +180,8 @@ msgid "enables to limit maximum amount of provisioned hosts per rule"
166
180
  msgstr "максимальное число узлов для указанного правила"
167
181
 
168
182
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:37
169
- msgid "puts the rules in order, low numbers go first. Must be greater then zero"
183
+ msgid ""
184
+ "puts the rules in order, low numbers go first. Must be greater then zero"
170
185
  msgstr "приоритет правила (должен быть больше 0). Правила выбираются по возрастанию приоритета"
171
186
 
172
187
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:38
@@ -205,11 +220,11 @@ msgstr "Не удалось найти правило: необходимо ук
205
220
  msgid "No hostgroup associated with rule '%s'"
206
221
  msgstr "Правило «%s» не связано ни с одной группой узлов"
207
222
 
208
- #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:69
223
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:73
209
224
  msgid "Errors during reboot: %s"
210
225
  msgstr "Ошибки при перезагрузке: %s"
211
226
 
212
- #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:87
227
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:91
213
228
  msgid "No discovered hosts to reboot"
214
229
  msgstr "Нет узлов для перезагрузки"
215
230
 
@@ -217,91 +232,91 @@ msgstr "Нет узлов для перезагрузки"
217
232
  msgid "Successfully provisioned %s"
218
233
  msgstr ""
219
234
 
220
- #: ../app/controllers/discovered_hosts_controller.rb:96
235
+ #: ../app/controllers/discovered_hosts_controller.rb:97
221
236
  msgid "Facts refreshed for %s"
222
237
  msgstr "Факты %s были обновлены"
223
238
 
224
- #: ../app/controllers/discovered_hosts_controller.rb:98
239
+ #: ../app/controllers/discovered_hosts_controller.rb:99
225
240
  msgid "Failed to refresh facts for %s"
226
241
  msgstr "Не удалось обновить факты %s"
227
242
 
228
- #: ../app/controllers/discovered_hosts_controller.rb:101
243
+ #: ../app/controllers/discovered_hosts_controller.rb:102
229
244
  msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
230
245
  msgstr "Не удалось обновить факты %{hostname}. Ошибка: %{error_message}"
231
246
 
232
- #: ../app/controllers/discovered_hosts_controller.rb:108
247
+ #: ../app/controllers/discovered_hosts_controller.rb:109
233
248
  msgid "Host of type %s can not be rebooted"
234
249
  msgstr "Узел типа %s не может быть перезагружен"
235
250
 
236
- #: ../app/controllers/discovered_hosts_controller.rb:112
251
+ #: ../app/controllers/discovered_hosts_controller.rb:113
237
252
  msgid "Rebooting host %s"
238
253
  msgstr "Перезагрузка %s"
239
254
 
240
- #: ../app/controllers/discovered_hosts_controller.rb:114
255
+ #: ../app/controllers/discovered_hosts_controller.rb:115
241
256
  msgid "Failed to reboot host %s"
242
257
  msgstr "Не удалось перезагрузить %s"
243
258
 
244
- #: ../app/controllers/discovered_hosts_controller.rb:117
259
+ #: ../app/controllers/discovered_hosts_controller.rb:118
245
260
  msgid "Failed to reboot host %{hostname} with error %{error_message}"
246
261
  msgstr "Не удалось перезагрузить %{hostname}. Ошибка: %{error_message}"
247
262
 
248
- #: ../app/controllers/discovered_hosts_controller.rb:131
263
+ #: ../app/controllers/discovered_hosts_controller.rb:132
249
264
  msgid "Failed to reboot hosts with error %s"
250
265
  msgstr "Не удалось перезагрузить узлы. Ошибка: %s"
251
266
 
252
- #: ../app/controllers/discovered_hosts_controller.rb:149
267
+ #: ../app/controllers/discovered_hosts_controller.rb:150
253
268
  msgid "Destroyed selected hosts"
254
269
  msgstr "Узлы удалены"
255
270
 
256
- #: ../app/controllers/discovered_hosts_controller.rb:151
271
+ #: ../app/controllers/discovered_hosts_controller.rb:152
257
272
  msgid "The following hosts were not deleted: %s"
258
273
  msgstr "Узлы не были удалены: %s"
259
274
 
260
- #: ../app/controllers/discovered_hosts_controller.rb:163
275
+ #: ../app/controllers/discovered_hosts_controller.rb:164
261
276
  msgid "Failed to auto provision host %s: %s"
262
277
  msgstr "Не удалось автоматически подготовить узел %s: %s"
263
278
 
264
- #: ../app/controllers/discovered_hosts_controller.rb:191
279
+ #: ../app/controllers/discovered_hosts_controller.rb:192
265
280
  msgid "Discovered hosts are provisioning now"
266
281
  msgstr "Выполняется подготовка обнаруженных узлов"
267
282
 
268
- #: ../app/controllers/discovered_hosts_controller.rb:223
283
+ #: ../app/controllers/discovered_hosts_controller.rb:224
269
284
  msgid "Highlights"
270
285
  msgstr "Основные"
271
286
 
272
- #: ../app/controllers/discovered_hosts_controller.rb:223
287
+ #: ../app/controllers/discovered_hosts_controller.rb:224
273
288
  msgid "Storage"
274
289
  msgstr "Хранение данных"
275
290
 
276
- #: ../app/controllers/discovered_hosts_controller.rb:223
291
+ #: ../app/controllers/discovered_hosts_controller.rb:224
277
292
  msgid "Hardware"
278
293
  msgstr "Физическое"
279
294
 
280
- #: ../app/controllers/discovered_hosts_controller.rb:223
295
+ #: ../app/controllers/discovered_hosts_controller.rb:224
281
296
  msgid "Network"
282
297
  msgstr "Сеть"
283
298
 
284
- #: ../app/controllers/discovered_hosts_controller.rb:223
299
+ #: ../app/controllers/discovered_hosts_controller.rb:224
285
300
  msgid "Software"
286
301
  msgstr "Программы"
287
302
 
288
- #: ../app/controllers/discovered_hosts_controller.rb:223
303
+ #: ../app/controllers/discovered_hosts_controller.rb:224
289
304
  msgid "IPMI"
290
305
  msgstr "IPMI"
291
306
 
292
- #: ../app/controllers/discovered_hosts_controller.rb:223
307
+ #: ../app/controllers/discovered_hosts_controller.rb:224
293
308
  msgid "Miscellaneous"
294
309
  msgstr "Дополнительно"
295
310
 
296
- #: ../app/controllers/discovered_hosts_controller.rb:301
311
+ #: ../app/controllers/discovered_hosts_controller.rb:302
297
312
  msgid "No hosts were found with that id or name"
298
313
  msgstr "Нет узла с таким идентификатором или именем"
299
314
 
300
- #: ../app/controllers/discovered_hosts_controller.rb:305
315
+ #: ../app/controllers/discovered_hosts_controller.rb:306
301
316
  msgid "No hosts selected"
302
317
  msgstr "Не выбран узел"
303
318
 
304
- #: ../app/controllers/discovered_hosts_controller.rb:311
319
+ #: ../app/controllers/discovered_hosts_controller.rb:312
305
320
  msgid "Something went wrong while selecting hosts - %s"
306
321
  msgstr "Непредвиденное поведение при выборе узлов: %s"
307
322
 
@@ -317,15 +332,21 @@ msgstr "Правило отключено"
317
332
  msgid "%s ago"
318
333
  msgstr "%s назад"
319
334
 
320
- #: ../app/helpers/discovered_hosts_helper.rb:14 ../app/helpers/discovered_hosts_helper.rb:29 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:37
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
321
338
  msgid "Auto Provision"
322
339
  msgstr "Автоматическая подготовка"
323
340
 
324
- #: ../app/helpers/discovered_hosts_helper.rb:15 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:38
341
+ #: ../app/helpers/discovered_hosts_helper.rb:15
342
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:38
325
343
  msgid "Refresh facts"
326
344
  msgstr "Обновить факты"
327
345
 
328
- #: ../app/helpers/discovered_hosts_helper.rb:16 ../app/helpers/discovered_hosts_helper.rb:30 ../app/models/setting/discovered.rb:26 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:39
346
+ #: ../app/helpers/discovered_hosts_helper.rb:16
347
+ #: ../app/helpers/discovered_hosts_helper.rb:30
348
+ #: ../app/models/setting/discovered.rb:22
349
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:39
329
350
  msgid "Reboot"
330
351
  msgstr "Перезагрузить"
331
352
 
@@ -333,11 +354,13 @@ msgstr "Перезагрузить"
333
354
  msgid "Back"
334
355
  msgstr "Назад"
335
356
 
336
- #: ../app/helpers/discovered_hosts_helper.rb:21 ../app/helpers/discovered_hosts_helper.rb:35
357
+ #: ../app/helpers/discovered_hosts_helper.rb:21
358
+ #: ../app/helpers/discovered_hosts_helper.rb:35
337
359
  msgid "Select Action"
338
360
  msgstr "Действия"
339
361
 
340
- #: ../app/helpers/discovered_hosts_helper.rb:23 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:40
362
+ #: ../app/helpers/discovered_hosts_helper.rb:23
363
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:40
341
364
  msgid "Delete %s?"
342
365
  msgstr "Удалить %s?"
343
366
 
@@ -357,7 +380,8 @@ msgstr "Удалить"
357
380
  msgid "%s - The following hosts are about to be changed"
358
381
  msgstr "%s — узлы будут изменены"
359
382
 
360
- #: ../app/helpers/discovered_hosts_helper.rb:46 ../app/views/dashboard/_discovery_widget_host.html.erb:2
383
+ #: ../app/helpers/discovered_hosts_helper.rb:46
384
+ #: ../app/views/dashboard/_discovery_widget_host.html.erb:2
361
385
  msgid "N/A"
362
386
  msgstr "нет"
363
387
 
@@ -377,7 +401,12 @@ msgstr "Были данные за последние 7 дней"
377
401
  msgid "Provision"
378
402
  msgstr "Подготовить"
379
403
 
380
- #: ../app/helpers/discovery_rules_helper.rb:26 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:1 ../app/views/discovered_hosts/welcome.html.erb:1 ../app/views/discovered_hosts/welcome.html.erb:6 ../lib/foreman_discovery/engine.rb:158 ../lib/foreman_discovery/engine.rb:173
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
381
410
  msgid "Discovered Hosts"
382
411
  msgstr "Обнаруженные узлы"
383
412
 
@@ -426,8 +455,10 @@ msgid "must be present."
426
455
  msgstr ""
427
456
 
428
457
  #: ../app/models/discovery_rule.rb:52
429
- msgid "Host group organization %s must also be associated to the discovery rule"
430
- msgid_plural "Host group organizations %s must also be associated to the discovery rule"
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"
431
462
  msgstr[0] "С правилом также необходимо связать организацию группы узлов, %s"
432
463
  msgstr[1] "С правилом также необходимо связать организации группы узлов: %s"
433
464
  msgstr[2] "С правилом также необходимо связать организации группы узлов: %s"
@@ -435,7 +466,8 @@ msgstr[3] "С правилом также необходимо связать о
435
466
 
436
467
  #: ../app/models/discovery_rule.rb:56
437
468
  msgid "Host group location %s must also be associated to the discovery rule"
438
- msgid_plural "Host group locations %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"
439
471
  msgstr[0] "С правилом также необходимо связать местоположение группы узлов, %s"
440
472
  msgstr[1] "С правилом также необходимо связать местоположения групп узлов: %s"
441
473
  msgstr[2] "С правилом также необходимо связать местоположения групп узлов: %s"
@@ -458,11 +490,15 @@ msgid "Invalid facts, must be a Hash"
458
490
  msgstr "Недопустимый формат фактов: ожидаются переменные и их значения"
459
491
 
460
492
  #: ../app/models/host/discovered.rb:56
461
- msgid "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
493
+ msgid ""
494
+ "Expected discovery_fact '%s' is missing, unable to detect primary interface "
495
+ "and set hostname"
462
496
  msgstr "Отсутствует факт «%s»: невозможно определить основной интерфейс и имя узла"
463
497
 
464
498
  #: ../app/models/host/discovered.rb:69
465
- msgid "Invalid facts: hash does not contain a valid value for any of the facts in the discovery_hostname setting: %s"
499
+ msgid ""
500
+ "Invalid facts: hash does not contain a valid value for any of the facts in "
501
+ "the discovery_hostname setting: %s"
466
502
  msgstr "Недействительные факты: строка не содержит ни одного действительного значения фактов в соответствии с заданным в discovery_hostname: %s"
467
503
 
468
504
  #: ../app/models/host/discovered.rb:95
@@ -473,15 +509,15 @@ msgstr ""
473
509
  msgid "Could not get facts from proxy %{url}: %{error}"
474
510
  msgstr "Не удалось получить факты с %{url}: %{error}"
475
511
 
476
- #: ../app/models/host/discovered.rb:158
477
- msgid "Unable to reboot %{name} via %{url}: %{msg}"
478
- msgstr "Не удалось перезагрузить %{name} с %{url}: %{msg}"
512
+ #: ../app/models/host/discovered.rb:162
513
+ msgid "Unable to perform reboot on %{name} (%{url}): %{msg}"
514
+ msgstr ""
479
515
 
480
- #: ../app/models/host/discovered.rb:166
481
- msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
482
- msgstr "Не удалось выполнить kexec на %{name} с %{url}: %{msg}"
516
+ #: ../app/models/host/discovered.rb:181
517
+ msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
518
+ msgstr ""
483
519
 
484
- #: ../app/models/host/discovered.rb:185
520
+ #: ../app/models/host/discovered.rb:207
485
521
  msgid "Invalid hostname: Could not normalize the hostname"
486
522
  msgstr "Не удалось нормализовать имя узла"
487
523
 
@@ -509,183 +545,191 @@ msgstr ""
509
545
  msgid "Rebuild DNS for %s"
510
546
  msgstr ""
511
547
 
512
- #: ../app/models/setting/discovered.rb:19
548
+ #: ../app/models/setting/discovered.rb:15
513
549
  msgid "The default location to place discovered hosts in"
514
550
  msgstr "Местоположение для обнаруженных узлов по умолчанию"
515
551
 
516
- #: ../app/models/setting/discovered.rb:19
552
+ #: ../app/models/setting/discovered.rb:15
517
553
  msgid "Discovery location"
518
554
  msgstr ""
519
555
 
520
- #: ../app/models/setting/discovered.rb:20
556
+ #: ../app/models/setting/discovered.rb:16
521
557
  msgid "The default organization to place discovered hosts in"
522
558
  msgstr "Организация для обнаруженных узлов по умолчанию"
523
559
 
524
- #: ../app/models/setting/discovered.rb:20
560
+ #: ../app/models/setting/discovered.rb:16
525
561
  msgid "Discovery organization"
526
562
  msgstr ""
527
563
 
528
- #: ../app/models/setting/discovered.rb:21
564
+ #: ../app/models/setting/discovered.rb:17
529
565
  msgid "Fact name to use for primary interface detection"
530
566
  msgstr "Имя факта, определяющего основной сетевой интерфейс и имя узла"
531
567
 
532
- #: ../app/models/setting/discovered.rb:21
568
+ #: ../app/models/setting/discovered.rb:17
533
569
  msgid "Interface fact"
534
570
  msgstr ""
535
571
 
536
- #: ../app/models/setting/discovered.rb:22
537
- msgid "Automatic bond interface (if another interface is detected on the same VLAN via LLDP)"
572
+ #: ../app/models/setting/discovered.rb:18
573
+ msgid ""
574
+ "Automatic bond interface (if another interface is detected on the same VLAN "
575
+ "via LLDP)"
538
576
  msgstr ""
539
577
 
540
- #: ../app/models/setting/discovered.rb:22
578
+ #: ../app/models/setting/discovered.rb:18
541
579
  msgid "Create bond interfaces"
542
580
  msgstr ""
543
581
 
544
- #: ../app/models/setting/discovered.rb:23
582
+ #: ../app/models/setting/discovered.rb:19
545
583
  msgid "Clean all reported facts during provisioning (except discovery facts)"
546
584
  msgstr ""
547
585
 
548
- #: ../app/models/setting/discovered.rb:23
586
+ #: ../app/models/setting/discovered.rb:19
549
587
  msgid "Clean all facts"
550
588
  msgstr ""
551
589
 
552
- #: ../app/models/setting/discovered.rb:24
590
+ #: ../app/models/setting/discovered.rb:20
553
591
  msgid "List of facts to use for the hostname (separated by comma, first wins)"
554
592
  msgstr "Список фактов для узла с указанным именем (через запятую, до первого совпадения)"
555
593
 
556
- #: ../app/models/setting/discovered.rb:24
594
+ #: ../app/models/setting/discovered.rb:20
557
595
  msgid "Hostname facts"
558
596
  msgstr ""
559
597
 
560
- #: ../app/models/setting/discovered.rb:25
561
- msgid "Automatically provision newly discovered hosts, according to the provisioning rules"
598
+ #: ../app/models/setting/discovered.rb:21
599
+ msgid ""
600
+ "Automatically provision newly discovered hosts, according to the "
601
+ "provisioning rules"
562
602
  msgstr "Автоматически подготовить обнаруженные узлы в соответствии с заранее определенными правилами"
563
603
 
564
- #: ../app/models/setting/discovered.rb:25
604
+ #: ../app/models/setting/discovered.rb:21
565
605
  msgid "Auto provisioning"
566
606
  msgstr ""
567
607
 
568
- #: ../app/models/setting/discovered.rb:26
608
+ #: ../app/models/setting/discovered.rb:22
569
609
  msgid "Automatically reboot or kexec discovered host during provisioning"
570
610
  msgstr ""
571
611
 
572
- #: ../app/models/setting/discovered.rb:27
612
+ #: ../app/models/setting/discovered.rb:23
573
613
  msgid "The default prefix to use for the host name, must start with a letter"
574
614
  msgstr "Префикс имени узла (должен начинаться с буквы)"
575
615
 
576
- #: ../app/models/setting/discovered.rb:27
616
+ #: ../app/models/setting/discovered.rb:23
577
617
  msgid "Hostname prefix"
578
618
  msgstr ""
579
619
 
580
- #: ../app/models/setting/discovered.rb:28
620
+ #: ../app/models/setting/discovered.rb:24
581
621
  msgid "Extra facter columns to show in host lists (separate by comma)"
582
622
  msgstr "Дополнительные столбцы Facter в списке узлов (через запятую)"
583
623
 
584
- #: ../app/models/setting/discovered.rb:28
624
+ #: ../app/models/setting/discovered.rb:24
585
625
  msgid "Fact columns"
586
626
  msgstr ""
587
627
 
588
- #: ../app/models/setting/discovered.rb:29
628
+ #: ../app/models/setting/discovered.rb:25
589
629
  msgid "Regex to organize facts for highlights section - e.g. ^(abc|cde)$"
590
630
  msgstr "Регулярное выражение для организации фактов в списке «Основные», например: ^(abc|cde)$"
591
631
 
592
- #: ../app/models/setting/discovered.rb:29
632
+ #: ../app/models/setting/discovered.rb:25
593
633
  msgid "Highlighted facts"
594
634
  msgstr ""
595
635
 
596
- #: ../app/models/setting/discovered.rb:30
636
+ #: ../app/models/setting/discovered.rb:26
597
637
  msgid "Regex to organize facts for storage section"
598
638
  msgstr "Регулярное выражение для организации фактов в секции «Хранилище»"
599
639
 
600
- #: ../app/models/setting/discovered.rb:30
640
+ #: ../app/models/setting/discovered.rb:26
601
641
  msgid "Storage facts"
602
642
  msgstr ""
603
643
 
604
- #: ../app/models/setting/discovered.rb:31
644
+ #: ../app/models/setting/discovered.rb:27
605
645
  msgid "Regex to organize facts for software section"
606
646
  msgstr "Регулярное выражение для организации фактов в секции «Программное обеспечение»"
607
647
 
608
- #: ../app/models/setting/discovered.rb:31
648
+ #: ../app/models/setting/discovered.rb:27
609
649
  msgid "Software facts"
610
650
  msgstr ""
611
651
 
612
- #: ../app/models/setting/discovered.rb:32
652
+ #: ../app/models/setting/discovered.rb:28
613
653
  msgid "Regex to organize facts for hardware section"
614
654
  msgstr "Регулярное выражение для организации фактов в секции «Оборудование»"
615
655
 
616
- #: ../app/models/setting/discovered.rb:32
656
+ #: ../app/models/setting/discovered.rb:28
617
657
  msgid "Hardware facts"
618
658
  msgstr ""
619
659
 
620
- #: ../app/models/setting/discovered.rb:33
660
+ #: ../app/models/setting/discovered.rb:29
621
661
  msgid "Regex to organize facts for network section"
622
662
  msgstr "Регулярное выражение для организации фактов в секции «Сеть»"
623
663
 
624
- #: ../app/models/setting/discovered.rb:33
664
+ #: ../app/models/setting/discovered.rb:29
625
665
  msgid "Network facts"
626
666
  msgstr ""
627
667
 
628
- #: ../app/models/setting/discovered.rb:34
668
+ #: ../app/models/setting/discovered.rb:30
629
669
  msgid "Regex to organize facts for ipmi section"
630
670
  msgstr "Регулярное выражение для организации фактов в секции «IPMI»"
631
671
 
632
- #: ../app/models/setting/discovered.rb:34
672
+ #: ../app/models/setting/discovered.rb:30
633
673
  msgid "IPMI facts"
634
674
  msgstr ""
635
675
 
636
- #: ../app/models/setting/discovered.rb:35
637
- msgid "Automatically generate PXE configuration to pin a newly discovered host to discovery"
676
+ #: ../app/models/setting/discovered.rb:31
677
+ msgid ""
678
+ "Automatically generate PXE configuration to pin a newly discovered host to "
679
+ "discovery"
638
680
  msgstr ""
639
681
 
640
- #: ../app/models/setting/discovered.rb:35
682
+ #: ../app/models/setting/discovered.rb:31
641
683
  msgid "Lock PXE"
642
684
  msgstr ""
643
685
 
644
- #: ../app/models/setting/discovered.rb:36
686
+ #: ../app/models/setting/discovered.rb:32
645
687
  msgid "PXELinux template to be used when pinning a host to discovery"
646
688
  msgstr ""
647
689
 
648
- #: ../app/models/setting/discovered.rb:36
690
+ #: ../app/models/setting/discovered.rb:32
649
691
  msgid "Locked PXELinux template name"
650
692
  msgstr ""
651
693
 
652
- #: ../app/models/setting/discovered.rb:37
694
+ #: ../app/models/setting/discovered.rb:33
653
695
  msgid "PXEGrub template to be used when pinning a host to discovery"
654
696
  msgstr ""
655
697
 
656
- #: ../app/models/setting/discovered.rb:37
698
+ #: ../app/models/setting/discovered.rb:33
657
699
  msgid "Locked PXEGrub template name"
658
700
  msgstr ""
659
701
 
660
- #: ../app/models/setting/discovered.rb:38
702
+ #: ../app/models/setting/discovered.rb:34
661
703
  msgid "PXEGrub2 template to be used when pinning a host to discovery"
662
704
  msgstr ""
663
705
 
664
- #: ../app/models/setting/discovered.rb:38
706
+ #: ../app/models/setting/discovered.rb:34
665
707
  msgid "Locked PXEGrub2 template name"
666
708
  msgstr ""
667
709
 
668
- #: ../app/models/setting/discovered.rb:39
710
+ #: ../app/models/setting/discovered.rb:35
669
711
  msgid "Force DNS entries creation when provisioning discovered host"
670
712
  msgstr ""
671
713
 
672
- #: ../app/models/setting/discovered.rb:39
714
+ #: ../app/models/setting/discovered.rb:35
673
715
  msgid "Force DNS"
674
716
  msgstr ""
675
717
 
676
- #: ../app/models/setting/discovered.rb:40
677
- msgid "Do not allow to discover existing managed host matching MAC of a provisioning NIC (errors out early)"
718
+ #: ../app/models/setting/discovered.rb:36
719
+ msgid ""
720
+ "Do not allow to discover existing managed host matching MAC of a "
721
+ "provisioning NIC (errors out early)"
678
722
  msgstr ""
679
723
 
680
- #: ../app/models/setting/discovered.rb:40
724
+ #: ../app/models/setting/discovered.rb:36
681
725
  msgid "Error on existing NIC"
682
726
  msgstr ""
683
727
 
684
- #: ../app/models/setting/discovered.rb:41
728
+ #: ../app/models/setting/discovered.rb:37
685
729
  msgid "Discovery hostname naming pattern"
686
730
  msgstr ""
687
731
 
688
- #: ../app/models/setting/discovered.rb:41
732
+ #: ../app/models/setting/discovered.rb:37
689
733
  msgid "Type of name generator"
690
734
  msgstr ""
691
735
 
@@ -698,7 +742,13 @@ msgid "Discovered host '%{host}' has all NICs filtered out, filter: %{filter}"
698
742
  msgstr ""
699
743
 
700
744
  #: ../app/services/foreman_discovery/fact_parser.rb:12
701
- msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
745
+ msgid ""
746
+ "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: "
747
+ "%{filter}"
748
+ msgstr ""
749
+
750
+ #: ../app/services/foreman_discovery/host_converter.rb:39
751
+ msgid "IPAM must be configured for subnet '%s'"
702
752
  msgstr ""
703
753
 
704
754
  #: ../app/services/foreman_discovery/node_api/node_resource.rb:75
@@ -709,6 +759,14 @@ msgstr "API образа вернул ошибку HTTP/%{code}: '%{body}"
709
759
  msgid "Image API processing error: %{msg} (HTTP/%{code}, body: %{body})"
710
760
  msgstr "API образа вернул ошибку HTTP/%{code}: %{msg} (body: %{body})"
711
761
 
762
+ #: ../app/views/dashboard/_discovery_widget.html.erb:5
763
+ msgid "Discovered Host"
764
+ msgid_plural "Discovered Hosts"
765
+ msgstr[0] ""
766
+ msgstr[1] ""
767
+ msgstr[2] ""
768
+ msgstr[3] ""
769
+
712
770
  #: ../app/views/dashboard/_discovery_widget.html.erb:9
713
771
  msgid "No discovered hosts available"
714
772
  msgstr "Нет обнаруженных узлов"
@@ -717,23 +775,33 @@ msgstr "Нет обнаруженных узлов"
717
775
  msgid "Host"
718
776
  msgstr "Узел"
719
777
 
720
- #: ../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
778
+ #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:4
779
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:6
780
+ #: ../app/views/discovered_hosts/_selected_hosts.html.erb:8
781
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:18
782
+ #: ../app/views/discovered_mailer/discovered_summary.text.erb:10
721
783
  msgid "Model"
722
784
  msgstr "Модель"
723
785
 
724
- #: ../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
786
+ #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:5
787
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:8
788
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:20
789
+ #: ../app/views/discovered_mailer/discovered_summary.text.erb:12
725
790
  msgid "CPUs"
726
791
  msgstr "Процессоры"
727
792
 
728
- #: ../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
793
+ #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:6
794
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:9
795
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:21
796
+ #: ../app/views/discovered_mailer/discovered_summary.text.erb:13
729
797
  msgid "Memory"
730
798
  msgstr "Память"
731
799
 
732
- #: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:23
800
+ #: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:25
733
801
  msgid "Customize Host"
734
802
  msgstr ""
735
803
 
736
- #: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:24
804
+ #: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:26
737
805
  msgid "Create Host"
738
806
  msgstr ""
739
807
 
@@ -745,11 +813,16 @@ msgstr "Выбрать все элементы на странице"
745
813
  msgid "items selected. Uncheck to Clear"
746
814
  msgstr "выбрано. Чтобы очистить, снимите флажок"
747
815
 
748
- #: ../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
816
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
817
+ #: ../app/views/discovered_hosts/_selected_hosts.html.erb:7
818
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:17
819
+ #: ../app/views/discovered_mailer/discovered_summary.text.erb:9
749
820
  msgid "Name"
750
821
  msgstr "Имя"
751
822
 
752
- #: ../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
823
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:7
824
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:19
825
+ #: ../app/views/discovered_mailer/discovered_summary.text.erb:11
753
826
  msgid "IP Address"
754
827
  msgstr "IP"
755
828
 
@@ -761,11 +834,13 @@ msgstr ""
761
834
  msgid "Disks Size"
762
835
  msgstr ""
763
836
 
764
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:15 ../app/views/discovered_hosts/_selected_hosts.html.erb:9
837
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:15
838
+ #: ../app/views/discovered_hosts/_selected_hosts.html.erb:9
765
839
  msgid "Location"
766
840
  msgstr "Местоположение"
767
841
 
768
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:16 ../app/views/discovered_hosts/_selected_hosts.html.erb:10
842
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:16
843
+ #: ../app/views/discovered_hosts/_selected_hosts.html.erb:10
769
844
  msgid "Organization"
770
845
  msgstr "Организация"
771
846
 
@@ -777,7 +852,8 @@ msgstr "Подсеть"
777
852
  msgid "Last Facts Upload"
778
853
  msgstr ""
779
854
 
780
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:19 ../app/views/discovery_rules/index.html.erb:12
855
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:19
856
+ #: ../app/views/discovery_rules/index.html.erb:12
781
857
  msgid "Actions"
782
858
  msgstr "Действия"
783
859
 
@@ -798,7 +874,9 @@ msgid "Provision %s"
798
874
  msgstr ""
799
875
 
800
876
  #: ../app/views/discovered_hosts/multiple_destroy.html.erb:3
801
- msgid "This might take a while, as all hosts, facts and reports will be destroyed as well"
877
+ msgid ""
878
+ "This might take a while, as all hosts, facts and reports will be destroyed "
879
+ "as well"
802
880
  msgstr "Это может занять некоторое время, так как в ходе выполнения будут удалены узлы, статистика и все отчеты"
803
881
 
804
882
  #: ../app/views/discovered_hosts/select_multiple_location.html.erb:5
@@ -842,7 +920,9 @@ msgid "No discovered hosts found in this context."
842
920
  msgstr ""
843
921
 
844
922
  #: ../app/views/discovered_hosts/welcome.html.erb:8
845
- msgid "This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
923
+ msgid ""
924
+ "This page shows discovered bare-metal or virtual nodes waiting to be "
925
+ "provisioned."
846
926
  msgstr ""
847
927
 
848
928
  #: ../app/views/discovered_hosts/welcome.html.erb:9
@@ -857,19 +937,23 @@ msgstr "Сводный отчет Foreman по обнаруженным узла
857
937
  msgid "<b>Foreman</b> Discovered hosts summary"
858
938
  msgstr "Сводка обнаруженных узлов от <b>Foreman</b>"
859
939
 
860
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:10 ../app/views/discovered_mailer/discovered_summary.text.erb:5
940
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:10
941
+ #: ../app/views/discovered_mailer/discovered_summary.text.erb:5
861
942
  msgid "Summary from %{time} ago to %{now}"
862
943
  msgstr "Сводка за %{time} — %{now}"
863
944
 
864
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:11 ../app/views/discovered_mailer/discovered_summary.text.erb:3
945
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:11
946
+ #: ../app/views/discovered_mailer/discovered_summary.text.erb:3
865
947
  msgid "Discovered hosts from Foreman server at %{foreman_url}"
866
948
  msgstr "Узлы, обнаруженные сервером Foreman %{foreman_url}"
867
949
 
868
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:22 ../app/views/discovered_mailer/discovered_summary.text.erb:14
950
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:22
951
+ #: ../app/views/discovered_mailer/discovered_summary.text.erb:14
869
952
  msgid "Disk count"
870
953
  msgstr "Количество дисков"
871
954
 
872
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:23 ../app/views/discovered_mailer/discovered_summary.text.erb:15
955
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:23
956
+ #: ../app/views/discovered_mailer/discovered_summary.text.erb:15
873
957
  msgid "Disks size"
874
958
  msgstr "Размер диска"
875
959
 
@@ -918,30 +1002,41 @@ msgid "Rule priority (lower integer means higher priority)"
918
1002
  msgstr "Приоритет (чем ниже число, тем выше приоритет)"
919
1003
 
920
1004
  #: ../app/views/discovery_rules/_template_inline.erb:2
921
- msgid "Specify target hostname template pattern in the same syntax as in Provisioning Templates (ERB)."
1005
+ msgid ""
1006
+ "Specify target hostname template pattern in the same syntax as in "
1007
+ "Provisioning Templates (ERB)."
922
1008
  msgstr "Определите шаблон для узла, используя синтаксис, аналогичный используемому в подготовительных шаблонах (ERB)."
923
1009
 
924
1010
  #: ../app/views/discovery_rules/_template_inline.erb:4
925
- msgid "Domain will be appended automatically. A hostname based on MAC address will be used when left blank."
1011
+ msgid ""
1012
+ "Domain will be appended automatically. A hostname based on MAC address will "
1013
+ "be used when left blank."
926
1014
  msgstr ""
927
1015
 
928
1016
  #: ../app/views/discovery_rules/_template_inline.erb:5
929
- msgid "In addition to @host attribute function rand for random integers is available. Examples:"
1017
+ msgid ""
1018
+ "In addition to @host attribute function rand for random integers is "
1019
+ "available. Examples:"
930
1020
  msgstr ""
931
1021
 
932
1022
  #: ../app/views/discovery_rules/_template_inline.erb:8
933
- msgid "When creating hostname patterns, make sure the resulting host names are unique."
1023
+ msgid ""
1024
+ "When creating hostname patterns, make sure the resulting host names are "
1025
+ "unique."
934
1026
  msgstr ""
935
1027
 
936
1028
  #: ../app/views/discovery_rules/_template_inline.erb:9
937
- msgid "Hostnames must not start with numbers. A good approach is to use unique information provided by facter (MAC address, BIOS or serial ID)."
1029
+ msgid ""
1030
+ "Hostnames must not start with numbers. A good approach is to use unique "
1031
+ "information provided by facter (MAC address, BIOS or serial ID)."
938
1032
  msgstr ""
939
1033
 
940
1034
  #: ../app/views/discovery_rules/edit.html.erb:1
941
1035
  msgid "Edit %s"
942
1036
  msgstr "Изменить %s"
943
1037
 
944
- #: ../app/views/discovery_rules/index.html.erb:1 ../lib/foreman_discovery/engine.rb:163
1038
+ #: ../app/views/discovery_rules/index.html.erb:1
1039
+ #: ../lib/foreman_discovery/engine.rb:163
945
1040
  msgid "Discovery Rules"
946
1041
  msgstr "Правила обнаружения"
947
1042
 
@@ -1006,9 +1101,13 @@ msgid "Discovery Proxy"
1006
1101
  msgstr ""
1007
1102
 
1008
1103
  #: ../lib/foreman_discovery/engine.rb:189
1009
- msgid "Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1104
+ msgid ""
1105
+ "Discovery Proxy to use within this subnet for managing connection to "
1106
+ "discovered hosts"
1010
1107
  msgstr ""
1011
1108
 
1012
1109
  #: ../lib/foreman_discovery/engine.rb:190
1013
- msgid "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1110
+ msgid ""
1111
+ "ID of Discovery Proxy to use within this subnet for managing connection to "
1112
+ "discovered hosts"
1014
1113
  msgstr ""