foreman_discovery 5.0.0 → 5.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/api/v2/discovered_hosts_controller.rb +41 -51
  3. data/app/controllers/concerns/foreman/controller/discovered_extensions.rb +20 -23
  4. data/app/controllers/discovered_hosts_controller.rb +50 -46
  5. data/app/helpers/concerns/foreman_discovery/settings_helper_extensions.rb +34 -0
  6. data/app/helpers/discovery_rules_helper.rb +5 -6
  7. data/app/mailers/discovered_mailer.rb +19 -0
  8. data/app/models/discovery_rule.rb +3 -3
  9. data/app/models/host/discovered.rb +33 -11
  10. data/app/models/host/managed_extensions.rb +10 -0
  11. data/app/models/hostgroup_extensions.rb +1 -1
  12. data/app/models/setting/discovered.rb +17 -11
  13. data/app/services/foreman_discovery/fact_parser.rb +16 -0
  14. data/app/services/foreman_discovery/host_converter.rb +0 -4
  15. data/app/services/foreman_discovery/node_api/power.rb +3 -3
  16. data/app/views/discovered_hosts/_discovered_host.html.erb +4 -2
  17. data/app/views/discovered_hosts/_discovered_hosts_list.html.erb +1 -1
  18. data/app/views/discovered_mailer/_discovered_host.html.erb +10 -0
  19. data/app/views/discovered_mailer/discovered_summary.html.erb +35 -0
  20. data/app/views/discovered_mailer/discovered_summary.text.erb +24 -0
  21. data/config/routes.rb +3 -3
  22. data/db/seeds.d/70_discovery_mail_notification.rb +9 -0
  23. data/lib/foreman_discovery/engine.rb +12 -9
  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 +780 -0
  27. data/locale/ca/foreman_discovery.po +358 -261
  28. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  29. data/locale/de/foreman_discovery.edit.po +774 -0
  30. data/locale/de/foreman_discovery.po +418 -311
  31. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  32. data/locale/en_GB/foreman_discovery.edit.po +779 -0
  33. data/locale/en_GB/foreman_discovery.po +423 -313
  34. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  35. data/locale/es/foreman_discovery.edit.po +781 -0
  36. data/locale/es/foreman_discovery.po +425 -313
  37. data/locale/foreman_discovery.pot +496 -159
  38. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  39. data/locale/fr/foreman_discovery.edit.po +778 -0
  40. data/locale/fr/foreman_discovery.po +458 -322
  41. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  42. data/locale/gl/foreman_discovery.edit.po +757 -0
  43. data/locale/gl/foreman_discovery.po +306 -215
  44. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  45. data/locale/it/foreman_discovery.edit.po +771 -0
  46. data/locale/it/foreman_discovery.po +411 -301
  47. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  48. data/locale/ja/foreman_discovery.edit.po +770 -0
  49. data/locale/ja/foreman_discovery.po +395 -300
  50. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  51. data/locale/ko/foreman_discovery.edit.po +768 -0
  52. data/locale/ko/foreman_discovery.po +393 -299
  53. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  54. data/locale/pt_BR/foreman_discovery.edit.po +780 -0
  55. data/locale/pt_BR/foreman_discovery.po +438 -309
  56. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  57. data/locale/ru/foreman_discovery.edit.po +775 -0
  58. data/locale/ru/foreman_discovery.po +413 -308
  59. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  60. data/locale/sv_SE/foreman_discovery.edit.po +766 -0
  61. data/locale/sv_SE/foreman_discovery.po +321 -232
  62. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  63. data/locale/zh_CN/foreman_discovery.edit.po +769 -0
  64. data/locale/zh_CN/foreman_discovery.po +393 -302
  65. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  66. data/locale/zh_TW/foreman_discovery.edit.po +769 -0
  67. data/locale/zh_TW/foreman_discovery.po +395 -302
  68. data/test/functional/api/v2/discovered_hosts_controller_test.rb +8 -0
  69. data/test/functional/api/v2/discovery_rules_controller_test.rb +9 -0
  70. data/test/functional/discovered_hosts_controller_test.rb +26 -17
  71. data/test/functional/discovery_rules_controller_test.rb +9 -8
  72. data/test/test_helper.rb +0 -4
  73. data/test/test_helper_discovery.rb +24 -0
  74. data/test/unit/discovered_extensions_test.rb +31 -0
  75. data/test/unit/discovered_mailer_test.rb +44 -0
  76. data/test/unit/discovery_attribute_set_test.rb +12 -0
  77. data/test/unit/discovery_rule_test.rb +20 -0
  78. data/test/unit/{puppet_fact_parser_extensions_test.rb → fact_parser_test.rb} +3 -16
  79. data/test/unit/host_discovered_test.rb +56 -11
  80. metadata +29 -5
  81. data/app/lib/puppet_fact_parser_extensions.rb +0 -29
@@ -0,0 +1,775 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) 2015 Foreman developers
3
+ # This file is distributed under the same license as the foreman_discovery package.
4
+ #
5
+ # Translators:
6
+ # Evgrafov Denis <stereodenis@gmail.com>, 2014
7
+ # Dominic Cleal <dominic@cleal.org>, 2014
8
+ # Evgrafov Denis <stereodenis@gmail.com>, 2014
9
+ # Vladimir Pavlov <v.pavlov@i-teco.ru>, 2015
10
+ msgid ""
11
+ msgstr ""
12
+ "Project-Id-Version: Foreman\n"
13
+ "Report-Msgid-Bugs-To: foreman-dev@googlegroups.com\n"
14
+ "PO-Revision-Date: 2015-10-15 09:16+0000\n"
15
+ "Last-Translator: Lukáš Zapletal\n"
16
+ "Language-Team: Russian (http://www.transifex.com/foreman/foreman/language/ru/)"
17
+ "\n"
18
+ "MIME-Version: 1.0\n"
19
+ "Content-Type: text/plain; charset=UTF-8\n"
20
+ "Content-Transfer-Encoding: 8bit\n"
21
+ "Language: ru\n"
22
+ "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<="
23
+ "4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=1"
24
+ "1 && n%100<=14)? 2 : 3);\n"
25
+
26
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:15
27
+ msgid "List all discovered hosts"
28
+ msgstr "Показать все обнаруженные узлы"
29
+
30
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:16 ../app/controllers/api/v2/discovery_rules_controller.rb:14
31
+ msgid "filter results"
32
+ msgstr "результаты фильтрации"
33
+
34
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:17 ../app/controllers/api/v2/discovery_rules_controller.rb:15
35
+ msgid "sort results"
36
+ msgstr "сортировка"
37
+
38
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:18 ../app/controllers/api/v2/discovery_rules_controller.rb:16
39
+ msgid "paginate results"
40
+ msgstr "постранично"
41
+
42
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:19 ../app/controllers/api/v2/discovery_rules_controller.rb:17
43
+ msgid "number of entries per request"
44
+ msgstr "число записей в запросе"
45
+
46
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:25
47
+ msgid "Show a discovered host"
48
+ msgstr "Показать обнаруженный узел"
49
+
50
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:39
51
+ msgid "Create a discovered host for testing (use /facts to create new hosts)"
52
+ msgstr ""
53
+
54
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:47
55
+ msgid "Provision a discovered host"
56
+ msgstr "Инициализация обнаруженного узла"
57
+
58
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:52
59
+ msgid "not required if using a subnet with DHCP proxy"
60
+ msgstr "не требуется, если используется подсеть с DHCP-прокси"
61
+
62
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:53
63
+ msgid "not required if it's a virtual machine"
64
+ msgstr "не требуется для виртуальных машин"
65
+
66
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:73
67
+ msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
68
+ msgstr "UUID для отслеживания статуса задач оркестрации: GET /api/orchestration/:UUID/tasks"
69
+
70
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:75
71
+ msgid "required if value is not inherited from host group or default password in settings"
72
+ msgstr "обязательно, если пароль не наследуется от группы узлов или из стандартного значения в параметрах"
73
+
74
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:85
75
+ msgid "Delete a discovered host"
76
+ msgstr "Удалить обнаруженный узел"
77
+
78
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:92
79
+ msgid "Upload facts for a host, creating the host if required"
80
+ msgstr "Обновить статистику и, если необходимо, создать узел"
81
+
82
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:93
83
+ 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)"
84
+ msgstr ""
85
+
86
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:112
87
+ msgid "Execute rules against a discovered host"
88
+ msgstr "Применить правила к обнаруженному узлу"
89
+
90
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:118 ../app/controllers/discovered_hosts_controller.rb:147
91
+ msgid "Host %{host} was provisioned with rule %{rule}"
92
+ msgstr "%{host} инициализирован в соответствии с правилом %{rule}"
93
+
94
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:121
95
+ msgid "Unable to provision %{host}: %{errors}"
96
+ msgstr ""
97
+
98
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:127 ../app/controllers/discovered_hosts_controller.rb:154
99
+ msgid "No rule found for host %s"
100
+ msgstr "Нет правил для %s"
101
+
102
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:134
103
+ msgid "Execute rules against all currently discovered hosts"
104
+ msgstr "Применить правила ко всем обнаруженным узлам"
105
+
106
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:138 ../app/controllers/discovered_hosts_controller.rb:160
107
+ msgid "Errors during auto provisioning: %s"
108
+ msgstr "Ошибки при автоматической инициализации: %s"
109
+
110
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:141 ../app/controllers/discovered_hosts_controller.rb:163
111
+ msgid "No discovered hosts to provision"
112
+ msgstr "Нет обнаруженных узлов"
113
+
114
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:163
115
+ msgid "%s discovered hosts were provisioned"
116
+ msgstr ""
117
+
118
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:174
119
+ msgid "Refreshing the facts of a discovered host"
120
+ msgstr "Обновление фактов обнаруженного узла"
121
+
122
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:183
123
+ msgid "Rebooting a discovered host"
124
+ msgstr "Перезагрузка обнаруженного узла"
125
+
126
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:192
127
+ msgid "Rebooting all discovered hosts"
128
+ msgstr ""
129
+
130
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:203 ../app/controllers/discovered_hosts_controller.rb:105
131
+ msgid "Discovered hosts are rebooting now"
132
+ msgstr ""
133
+
134
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:13
135
+ msgid "List all discovery rules"
136
+ msgstr "Показать все правила обнаружения"
137
+
138
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:23
139
+ msgid "Show a discovery rule"
140
+ msgstr "Показать правило"
141
+
142
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:31
143
+ msgid "represents rule name shown to the users"
144
+ msgstr ""
145
+
146
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:32
147
+ msgid "query to match discovered hosts for the particular rule"
148
+ msgstr ""
149
+
150
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:33
151
+ msgid "the hostgroup that is used to auto provision a host"
152
+ msgstr ""
153
+
154
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:34
155
+ msgid "defines a pattern to assign human-readable hostnames to the matching hosts"
156
+ msgstr ""
157
+
158
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:35
159
+ msgid "enables to limit maximum amount of provisioned hosts per rule"
160
+ msgstr ""
161
+
162
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:36
163
+ msgid "puts the rules in order, low numbers go first. Must be greater then zero"
164
+ msgstr ""
165
+
166
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:37
167
+ msgid "flag is used for temporary shutdown of rules"
168
+ msgstr ""
169
+
170
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:41
171
+ msgid "Create a discovery rule"
172
+ msgstr "Создать правило"
173
+
174
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:49
175
+ msgid "Update a rule"
176
+ msgstr "Обновить правило"
177
+
178
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:57
179
+ msgid "Delete a rule"
180
+ msgstr "Удалить правило"
181
+
182
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:6
183
+ msgid "Unable to find a discovery rule, no host provided (check permissions)"
184
+ msgstr ""
185
+
186
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:47
187
+ msgid "No hostgroup associated with rule '%s'"
188
+ msgstr ""
189
+
190
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:63
191
+ msgid "Errors during reboot: %s"
192
+ msgstr ""
193
+
194
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:81
195
+ msgid "No discovered hosts to reboot"
196
+ msgstr ""
197
+
198
+ #: ../app/controllers/discovered_hosts_controller.rb:73
199
+ msgid "Facts refreshed for %s"
200
+ msgstr "Факты %s обновлены"
201
+
202
+ #: ../app/controllers/discovered_hosts_controller.rb:75
203
+ msgid "Failed to refresh facts for %s"
204
+ msgstr "Не удалось обновить факты %s"
205
+
206
+ #: ../app/controllers/discovered_hosts_controller.rb:78
207
+ msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
208
+ msgstr ""
209
+
210
+ #: ../app/controllers/discovered_hosts_controller.rb:85
211
+ msgid "Host of type %s can not be rebooted"
212
+ msgstr "Узел типа %s не может быть перезагружен"
213
+
214
+ #: ../app/controllers/discovered_hosts_controller.rb:89
215
+ msgid "Rebooting host %s"
216
+ msgstr "Перезагрузка %s"
217
+
218
+ #: ../app/controllers/discovered_hosts_controller.rb:91
219
+ msgid "Failed to reboot host %s"
220
+ msgstr "Не удалось перезагрузить %s"
221
+
222
+ #: ../app/controllers/discovered_hosts_controller.rb:94
223
+ msgid "Failed to reboot host %{hostname} with error %{error_message}"
224
+ msgstr "Не удалось перезагрузить %{hostname}. Ошибка: %{error_message}"
225
+
226
+ #: ../app/controllers/discovered_hosts_controller.rb:108
227
+ msgid "Failed to reboot hosts with error %s"
228
+ msgstr ""
229
+
230
+ #: ../app/controllers/discovered_hosts_controller.rb:122
231
+ msgid "Destroyed selected hosts"
232
+ msgstr "Узлы удалены"
233
+
234
+ #: ../app/controllers/discovered_hosts_controller.rb:124
235
+ msgid "The following hosts were not deleted: %s"
236
+ msgstr "Хосты не были удалены: %s"
237
+
238
+ #: ../app/controllers/discovered_hosts_controller.rb:151
239
+ msgid "Failed to auto provision host %s: %s"
240
+ msgstr "Не удалось автоматически инициализировать узел %s: %s"
241
+
242
+ #: ../app/controllers/discovered_hosts_controller.rb:179
243
+ msgid "Discovered hosts are provisioning now"
244
+ msgstr "Выполняется инициализация обнаруженных узлов"
245
+
246
+ #: ../app/controllers/discovered_hosts_controller.rb:267
247
+ msgid "No hosts were found with that id or name"
248
+ msgstr "Нет хоста с таким идентификатором или именем"
249
+
250
+ #: ../app/controllers/discovered_hosts_controller.rb:271
251
+ msgid "No hosts selected"
252
+ msgstr "Хост не выбран"
253
+
254
+ #: ../app/controllers/discovered_hosts_controller.rb:277
255
+ msgid "Something went wrong while selecting hosts - %s"
256
+ msgstr "Непредвиденное поведение при выборе узлов: %s"
257
+
258
+ #: ../app/controllers/discovery_rules_controller.rb:66
259
+ msgid "Rule disabled"
260
+ msgstr "Правило отключено"
261
+
262
+ #: ../app/controllers/discovery_rules_controller.rb:66
263
+ msgid "Rule enabled"
264
+ msgstr "Правило включено"
265
+
266
+ #: ../app/helpers/discovered_hosts_helper.rb:11
267
+ msgid "%s ago"
268
+ msgstr "%s назад"
269
+
270
+ #: ../app/helpers/discovered_hosts_helper.rb:15 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:42
271
+ msgid "Provision"
272
+ msgstr "Подготовка"
273
+
274
+ #: ../app/helpers/discovered_hosts_helper.rb:16 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:43
275
+ msgid "Auto Provision"
276
+ msgstr "Автоматически инициализировать"
277
+
278
+ #: ../app/helpers/discovered_hosts_helper.rb:17 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:44
279
+ msgid "Refresh facts"
280
+ msgstr "Обновить факты"
281
+
282
+ #: ../app/helpers/discovered_hosts_helper.rb:18 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:45
283
+ msgid "Reboot"
284
+ msgstr "Перезагрузить"
285
+
286
+ #: ../app/helpers/discovered_hosts_helper.rb:21
287
+ msgid "Back"
288
+ msgstr ""
289
+
290
+ #: ../app/helpers/discovered_hosts_helper.rb:23 ../app/helpers/discovered_hosts_helper.rb:46
291
+ msgid "Select Action"
292
+ msgstr "Выберите действие"
293
+
294
+ #: ../app/helpers/discovered_hosts_helper.rb:30
295
+ msgid "Expand All"
296
+ msgstr ""
297
+
298
+ #: ../app/helpers/discovered_hosts_helper.rb:35
299
+ msgid "Delete"
300
+ msgstr "Удалить"
301
+
302
+ #: ../app/helpers/discovered_hosts_helper.rb:36
303
+ msgid "Are you sure?"
304
+ msgstr "Вы уверены?"
305
+
306
+ #: ../app/helpers/discovered_hosts_helper.rb:42
307
+ msgid "Delete hosts"
308
+ msgstr "Удалить узлы"
309
+
310
+ #: ../app/helpers/discovered_hosts_helper.rb:43
311
+ msgid "Assign Organization"
312
+ msgstr "Назначить организацию"
313
+
314
+ #: ../app/helpers/discovered_hosts_helper.rb:44
315
+ msgid "Assign Location"
316
+ msgstr "Выбрать расположение"
317
+
318
+ #: ../app/helpers/discovered_hosts_helper.rb:48
319
+ msgid "%s - The following hosts are about to be changed"
320
+ msgstr "%s — узлы будут изменены"
321
+
322
+ #: ../app/helpers/discovered_hosts_helper.rb:57
323
+ msgid "N/A"
324
+ msgstr "нет"
325
+
326
+ #: ../app/helpers/discovered_hosts_helper.rb:69
327
+ msgid "New in the last 24 hours"
328
+ msgstr ""
329
+
330
+ #: ../app/helpers/discovered_hosts_helper.rb:73
331
+ msgid "Not reported in more than 7 days"
332
+ msgstr ""
333
+
334
+ #: ../app/helpers/discovered_hosts_helper.rb:77
335
+ msgid "Reported in the last 7 days"
336
+ msgstr ""
337
+
338
+ #: ../app/helpers/discovery_rules_helper.rb:26
339
+ msgid "Discovered Hosts"
340
+ msgstr ""
341
+
342
+ #: ../app/helpers/discovery_rules_helper.rb:27
343
+ msgid "Associated Hosts"
344
+ msgstr ""
345
+
346
+ #: ../app/helpers/discovery_rules_helper.rb:29
347
+ msgid "Disable rule '%s'?"
348
+ msgstr ""
349
+
350
+ #: ../app/helpers/discovery_rules_helper.rb:29
351
+ msgid "Disable"
352
+ msgstr "Отключить"
353
+
354
+ #: ../app/helpers/discovery_rules_helper.rb:31
355
+ msgid "Enable"
356
+ msgstr "Включить"
357
+
358
+ #: ../app/helpers/discovery_rules_helper.rb:31
359
+ msgid "Enable rule '%s'?"
360
+ msgstr ""
361
+
362
+ #: ../app/helpers/discovery_rules_helper.rb:33
363
+ msgid "Delete rule '%s'?"
364
+ msgstr ""
365
+
366
+ #: ../app/mailers/discovered_mailer.rb:4
367
+ msgid "Must specify a user with email enabled"
368
+ msgstr ""
369
+
370
+ #: ../app/mailers/discovered_mailer.rb:15
371
+ msgid "Discovered hosts summary"
372
+ msgstr ""
373
+
374
+ #: ../app/models/discovery_rule.rb:11
375
+ msgid "can't contain white spaces."
376
+ msgstr "не может содержать пробелы."
377
+
378
+ #: ../app/models/discovery_rule.rb:13
379
+ msgid "must start with a letter or ERB."
380
+ msgstr "должен начинаться с буквы или ERB"
381
+
382
+ #: ../app/models/discovery_rule.rb:49
383
+ msgid "Host group organization %s must also be associated to the discovery rule"
384
+ msgid_plural "Host group organizations %s must also be associated to the discovery rule"
385
+ msgstr[0] ""
386
+ msgstr[1] ""
387
+
388
+ #: ../app/models/discovery_rule.rb:55
389
+ msgid "Host group location %s must also be associated to the discovery rule"
390
+ msgid_plural "Host group locations %s must also be associated to the discovery rule"
391
+ msgstr[0] ""
392
+ msgstr[1] ""
393
+
394
+ #: ../app/models/host/discovered.rb:34
395
+ msgid "Invalid facts, must be a Hash"
396
+ msgstr "Недопустимый формат фактов: ожидаются переменные и их значения"
397
+
398
+ #: ../app/models/host/discovered.rb:39
399
+ msgid "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
400
+ msgstr ""
401
+
402
+ #: ../app/models/host/discovered.rb:46
403
+ msgid "Invalid facts: hash does not contain a valid value for any of the facts in the discovery_hostname setting: %s"
404
+ msgstr ""
405
+
406
+ #: ../app/models/host/discovered.rb:107
407
+ msgid "Unable to assign subnet, primary interface is missing IP address"
408
+ msgstr ""
409
+
410
+ #: ../app/models/host/discovered.rb:149
411
+ msgid "Could not get facts from proxy %{url}: %{error}"
412
+ msgstr "Не удалось получить факты с %{url}: %{error}"
413
+
414
+ #: ../app/models/host/discovered.rb:165
415
+ msgid "Unable to reboot %{name} via %{url}: %{msg}"
416
+ msgstr ""
417
+
418
+ #: ../app/models/host/discovered.rb:173
419
+ msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
420
+ msgstr ""
421
+
422
+ #: ../app/models/host/discovered.rb:192
423
+ msgid "Invalid hostname: Could not normalize the hostname"
424
+ msgstr ""
425
+
426
+ #: ../app/models/host/managed_extensions.rb:24
427
+ msgid "Reloading kernel on %s"
428
+ msgstr ""
429
+
430
+ #: ../app/models/host/managed_extensions.rb:26
431
+ msgid "Rebooting %s"
432
+ msgstr "Перезагрузка %s"
433
+
434
+ #: ../app/models/host/managed_extensions.rb:45
435
+ msgid "Operating system not set for host/hostgroup"
436
+ msgstr ""
437
+
438
+ #: ../app/models/host/managed_extensions.rb:47
439
+ msgid "Medium not set for host/hostgroup"
440
+ msgstr ""
441
+
442
+ #: ../app/models/host/managed_extensions.rb:54
443
+ msgid "Kexec template not associated with operating system"
444
+ msgstr ""
445
+
446
+ #: ../app/models/setting/discovered.rb:19
447
+ msgid "Fact name to use for primary interface detection"
448
+ msgstr ""
449
+
450
+ #: ../app/models/setting/discovered.rb:20
451
+ msgid "List of facts to use for the hostname (separated by comma, first wins)"
452
+ msgstr ""
453
+
454
+ #: ../app/models/setting/discovered.rb:21
455
+ msgid "Automatically provision newly discovered hosts, according to the provisioning rules"
456
+ msgstr "Автоматически инициализировать обнаруженные узлы в соответствии с заранее определенными правилами"
457
+
458
+ #: ../app/models/setting/discovered.rb:22
459
+ msgid "Automatically reboot discovered host during provisioning"
460
+ msgstr ""
461
+
462
+ #: ../app/models/setting/discovered.rb:28
463
+ msgid "The default prefix to use for the host name, must start with a letter"
464
+ msgstr "Префикс имени узла (должен начинаться с буквы)"
465
+
466
+ #: ../app/models/setting/discovered.rb:34
467
+ msgid "Extra facter columns to show in host lists (separate by comma)"
468
+ msgstr ""
469
+
470
+ #: ../app/models/setting/discovered.rb:41
471
+ msgid "The default location to place discovered hosts in"
472
+ msgstr "Рабочий участок для размещения обнаруженных узлов"
473
+
474
+ #: ../app/models/setting/discovered.rb:48
475
+ msgid "The default organization to place discovered hosts in"
476
+ msgstr "Организация, в которую по умолчанию будут добавляться обнаруженные узлы"
477
+
478
+ #: ../app/models/setting/discovered.rb:55
479
+ msgid "Regex to organize facts for highlights section"
480
+ msgstr ""
481
+
482
+ #: ../app/models/setting/discovered.rb:56
483
+ msgid "Regex to organize facts for storage section"
484
+ msgstr ""
485
+
486
+ #: ../app/models/setting/discovered.rb:57
487
+ msgid "Regex to organize facts for software section"
488
+ msgstr ""
489
+
490
+ #: ../app/models/setting/discovered.rb:58
491
+ msgid "Regex to organize facts for hardware section"
492
+ msgstr ""
493
+
494
+ #: ../app/models/setting/discovered.rb:59
495
+ msgid "Regex to organize facts for network section"
496
+ msgstr ""
497
+
498
+ #: ../app/models/setting/discovered.rb:60
499
+ msgid "Regex to organize facts for ipmi section"
500
+ msgstr ""
501
+
502
+ #: ../app/services/foreman_discovery/fact_parser.rb:9
503
+ msgid "Unable to detect primary interface using MAC '%{mac}' specified by discovery_fact '%{fact}'"
504
+ msgstr ""
505
+
506
+ #: ../app/services/foreman_discovery/node_api/node_resource.rb:75
507
+ msgid "Image API returned HTTP/%{code} with '%{body}"
508
+ msgstr ""
509
+
510
+ #: ../app/services/foreman_discovery/node_api/node_resource.rb:78
511
+ msgid "Image API processing error: %{msg} (HTTP/%{code}, body: %{body})"
512
+ msgstr ""
513
+
514
+ #: ../app/views/dashboard/_discovery_widget.html.erb:9
515
+ msgid "No discovered hosts available"
516
+ msgstr "Нет обнаруженных узлов"
517
+
518
+ #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:3
519
+ msgid "Host"
520
+ msgstr "Узел"
521
+
522
+ #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:4 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:7 ../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
523
+ msgid "Model"
524
+ msgstr "Модель"
525
+
526
+ #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:5 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:9 ../app/views/discovered_mailer/discovered_summary.html.erb:20 ../app/views/discovered_mailer/discovered_summary.text.erb:12
527
+ msgid "CPUs"
528
+ msgstr "CPU"
529
+
530
+ #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:6 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:10 ../app/views/discovered_mailer/discovered_summary.html.erb:21 ../app/views/discovered_mailer/discovered_summary.text.erb:13
531
+ msgid "Memory"
532
+ msgstr "Память"
533
+
534
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:2 ../lib/foreman_discovery/engine.rb:136
535
+ msgid "Discovered hosts"
536
+ msgstr "Обнаруженные узлы"
537
+
538
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
539
+ msgid "items selected. Uncheck to Clear"
540
+ msgstr "выбрано. Чтобы очистить, снимите флажок"
541
+
542
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
543
+ msgid "Select all items in this page"
544
+ msgstr "Выберите все элементы на этой странице"
545
+
546
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:6 ../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
547
+ msgid "Name"
548
+ msgstr "Имя"
549
+
550
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:8 ../app/views/discovered_mailer/discovered_summary.html.erb:19 ../app/views/discovered_mailer/discovered_summary.text.erb:11
551
+ msgid "IP Address"
552
+ msgstr "IP"
553
+
554
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:11 ../app/views/discovered_mailer/discovered_summary.html.erb:22 ../app/views/discovered_mailer/discovered_summary.text.erb:14
555
+ msgid "Disk count"
556
+ msgstr "Число дисков"
557
+
558
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:12 ../app/views/discovered_mailer/discovered_summary.html.erb:23 ../app/views/discovered_mailer/discovered_summary.text.erb:15
559
+ msgid "Disks size"
560
+ msgstr "Размер дисков"
561
+
562
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17 ../app/views/discovered_hosts/_selected_hosts.html.erb:10
563
+ msgid "Location"
564
+ msgstr "Расположение"
565
+
566
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:20 ../app/views/discovered_hosts/_selected_hosts.html.erb:13
567
+ msgid "Organization"
568
+ msgstr "Организация"
569
+
570
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:22
571
+ msgid "Subnet"
572
+ msgstr "Подсеть"
573
+
574
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:23
575
+ msgid "Last facts upload"
576
+ msgstr "Обновление фактов"
577
+
578
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:46
579
+ msgid "Delete %s?"
580
+ msgstr "Удалить %s?"
581
+
582
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:57
583
+ msgid "Please Confirm"
584
+ msgstr "Подтвердите"
585
+
586
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:63
587
+ msgid "Cancel"
588
+ msgstr "Отмена"
589
+
590
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:64
591
+ msgid "Submit"
592
+ msgstr "Отправить"
593
+
594
+ #: ../app/views/discovered_hosts/index.html.erb:2
595
+ msgid "Reboot All"
596
+ msgstr ""
597
+
598
+ #: ../app/views/discovered_hosts/index.html.erb:3
599
+ msgid "Auto Provision All"
600
+ msgstr "Автоматически инициализировать все"
601
+
602
+ #: ../app/views/discovered_hosts/multiple_destroy.html.erb:4
603
+ msgid "Warning"
604
+ msgstr "Предупреждение"
605
+
606
+ #: ../app/views/discovered_hosts/multiple_destroy.html.erb:5
607
+ msgid "This might take a while, as all hosts, facts and reports will be destroyed as well"
608
+ msgstr "Это может занять некоторое время, так как в ходе выполнения будут удалены узлы, статистика и все отчеты"
609
+
610
+ #: ../app/views/discovered_hosts/select_multiple_location.html.erb:5
611
+ msgid "Select location"
612
+ msgstr "Выберите расположение"
613
+
614
+ #: ../app/views/discovered_hosts/select_multiple_organization.html.erb:5
615
+ msgid "Select organization"
616
+ msgstr "Выберите организацию"
617
+
618
+ #: ../app/views/discovered_hosts/show.html.erb:1
619
+ msgid "Discovered host: %s"
620
+ msgstr "Обнаружен узел: %s"
621
+
622
+ #: ../app/views/discovered_hosts/show.html.erb:32
623
+ msgid "Identifier"
624
+ msgstr ""
625
+
626
+ #: ../app/views/discovered_hosts/show.html.erb:33
627
+ msgid "MAC address"
628
+ msgstr ""
629
+
630
+ #: ../app/views/discovered_hosts/show.html.erb:34
631
+ msgid "IP address"
632
+ msgstr ""
633
+
634
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:6
635
+ msgid "Summary report for discovered hosts from Foreman"
636
+ msgstr ""
637
+
638
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:9
639
+ msgid "<b>Foreman</b> Discovered hosts summary"
640
+ msgstr ""
641
+
642
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:10 ../app/views/discovered_mailer/discovered_summary.text.erb:5
643
+ msgid "Summary from %{time} ago to %{now}"
644
+ msgstr ""
645
+
646
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:11 ../app/views/discovered_mailer/discovered_summary.text.erb:3
647
+ msgid "Discovered hosts from Foreman server at %{foreman_url}"
648
+ msgstr ""
649
+
650
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:31
651
+ msgid "No discovered hosts for the selected period"
652
+ msgstr ""
653
+
654
+ #: ../app/views/discovered_mailer/discovered_summary.text.erb:1
655
+ msgid "Foreman discovered hosts summary"
656
+ msgstr ""
657
+
658
+ #: ../app/views/discovered_mailer/discovered_summary.text.erb:21
659
+ msgid "No new discovered hosts for this period"
660
+ msgstr ""
661
+
662
+ #: ../app/views/discovery_rules/_form.html.erb:5
663
+ msgid "Primary"
664
+ msgstr ""
665
+
666
+ #: ../app/views/discovery_rules/_form.html.erb:7
667
+ msgid "Locations"
668
+ msgstr ""
669
+
670
+ #: ../app/views/discovery_rules/_form.html.erb:10
671
+ msgid "Organizations"
672
+ msgstr ""
673
+
674
+ #: ../app/views/discovery_rules/_form.html.erb:22
675
+ msgid "Target host group for this rule with all properties set"
676
+ msgstr "Целевая группа узлов для этого правила с настроенными параметрами"
677
+
678
+ #: ../app/views/discovery_rules/_form.html.erb:24
679
+ msgid "Template"
680
+ msgstr "Шаблон"
681
+
682
+ #: ../app/views/discovery_rules/_form.html.erb:26
683
+ msgid "Specify target hostname template pattern in the same syntax as in Provisioning Templates (ERB)."
684
+ msgstr "Определите шаблон целевого узла, используя синтаксис шаблонов инициализации (ERB)."
685
+
686
+ #: ../app/views/discovery_rules/_form.html.erb:29
687
+ msgid "Domain will be appended automatically. A hostname based on MAC address will be used when left blank. In addition to @host attribute function rand for random integers is available. Examples:"
688
+ msgstr "Домен будет добавлен автоматически. Если имя узла не задано, будет использоваться MAC-адрес. Помимо атрибута @host, доступна функция rand для генерации случайных чисел. Примеры: "
689
+
690
+ #: ../app/views/discovery_rules/_form.html.erb:42
691
+ msgid "When creating hostname patterns, make sure the resulting host names are unique. Hostnames must not start with numbers. A good approach is to use unique information provided by facter (MAC address, BIOS or serial ID)."
692
+ msgstr "Имя узла, полученное в результате преобразования шаблона, должно быть уникальным и не может начинаться с числа. Для этой цели можно использовать индивидуальные данные (MAC-адрес, серийный номер и пр.)"
693
+
694
+ #: ../app/views/discovery_rules/_form.html.erb:43
695
+ msgid "Hostname for provisioned hosts"
696
+ msgstr "Имя узла"
697
+
698
+ #: ../app/views/discovery_rules/_form.html.erb:44
699
+ msgid "Hosts limit"
700
+ msgstr "Число узлов"
701
+
702
+ #: ../app/views/discovery_rules/_form.html.erb:44
703
+ msgid "Maximum hosts provisioned with this rule (0 = unlimited)"
704
+ msgstr "Максимальное число инициализируемых узлов в соответствии с правилом (0 снимает ограничения)"
705
+
706
+ #: ../app/views/discovery_rules/_form.html.erb:45
707
+ msgid "Rule priority (lower integer means higher priority)"
708
+ msgstr "Приоритет (чем ниже число, тем выше приоритет)"
709
+
710
+ #: ../app/views/discovery_rules/edit.html.erb:1
711
+ msgid "Edit Discovery Rule"
712
+ msgstr "Изменить правило"
713
+
714
+ #: ../app/views/discovery_rules/index.html.erb:1
715
+ msgid "Discovery Rules"
716
+ msgstr "Правила поиска"
717
+
718
+ #: ../app/views/discovery_rules/index.html.erb:2
719
+ msgid "New Rule"
720
+ msgstr "Добавить"
721
+
722
+ #: ../app/views/discovery_rules/index.html.erb:6
723
+ msgid "DiscoveryRule|Name"
724
+ msgstr "Имя"
725
+
726
+ #: ../app/views/discovery_rules/index.html.erb:7
727
+ msgid "DiscoveryRule|Priority"
728
+ msgstr "Приоритет"
729
+
730
+ #: ../app/views/discovery_rules/index.html.erb:8
731
+ msgid "DiscoveryRule|Query"
732
+ msgstr "Запрос"
733
+
734
+ #: ../app/views/discovery_rules/index.html.erb:9
735
+ msgid "Host group"
736
+ msgstr "Группа узлов"
737
+
738
+ #: ../app/views/discovery_rules/index.html.erb:10
739
+ msgid "Hosts/limit"
740
+ msgstr "Узлы/максимум"
741
+
742
+ #: ../app/views/discovery_rules/index.html.erb:11
743
+ msgid "DiscoveryRule|Enabled"
744
+ msgstr "Включено"
745
+
746
+ #: ../app/views/discovery_rules/new.html.erb:1
747
+ msgid "New Discovery Rule"
748
+ msgstr "Новое правило"
749
+
750
+ #: ../db/seeds.d/70_discovery_mail_notification.rb:3
751
+ msgid "A summary of discovered hosts"
752
+ msgstr ""
753
+
754
+ #: ../lib/foreman_discovery/engine.rb:141
755
+ msgid "Discovery rules"
756
+ msgstr ""
757
+
758
+ #: ../lib/foreman_discovery/engine.rb:146
759
+ msgid "Discovery widget"
760
+ msgstr ""
761
+
762
+ #~ msgid "Disable rule?"
763
+ #~ msgstr "Отключить правило?"
764
+
765
+ #~ msgid "Enable rule?"
766
+ #~ msgstr "Включить правило?"
767
+
768
+ #~ msgid "Fact"
769
+ #~ msgstr "Аргумент"
770
+
771
+ #~ msgid "Facts discovered on this host"
772
+ #~ msgstr "Обнаружена статистика хоста"
773
+
774
+ #~ msgid "Value"
775
+ #~ msgstr "Значение"