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
@@ -1,179 +1,180 @@
1
1
  # SOME DESCRIPTIVE TITLE.
2
2
  # Copyright (C) 2015 Foreman developers
3
3
  # This file is distributed under the same license as the foreman_discovery package.
4
- #
4
+ #
5
5
  # Translators:
6
6
  # Evgrafov Denis <stereodenis@gmail.com>, 2014
7
- # Dominic Cleal <dcleal@redhat.com>, 2014
7
+ # Dominic Cleal <dominic@cleal.org>, 2014
8
8
  # Evgrafov Denis <stereodenis@gmail.com>, 2014
9
9
  # Vladimir Pavlov <v.pavlov@i-teco.ru>, 2015
10
10
  msgid ""
11
11
  msgstr ""
12
- "Project-Id-Version: foreman_discovery 4.1.1\n"
12
+ "Project-Id-Version: Foreman\n"
13
13
  "Report-Msgid-Bugs-To: foreman-dev@googlegroups.com\n"
14
- "POT-Creation-Date: 2015-10-15 09:33+0200\n"
15
14
  "PO-Revision-Date: 2015-10-15 09:16+0000\n"
16
15
  "Last-Translator: Lukáš Zapletal\n"
17
- "Language-Team: Russian (http://www.transifex.com/foreman/foreman/language/ru/)\n"
16
+ "Language-Team: Russian (http://www.transifex.com/foreman/foreman/language/ru/)"
17
+ "\n"
18
18
  "MIME-Version: 1.0\n"
19
19
  "Content-Type: text/plain; charset=UTF-8\n"
20
20
  "Content-Transfer-Encoding: 8bit\n"
21
21
  "Language: ru\n"
22
- "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"
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"
23
25
 
24
- msgid "%s - The following hosts are about to be changed"
25
- msgstr "%s узлы будут изменены"
26
-
27
- msgid "%s ago"
28
- msgstr "%s назад"
29
-
30
- msgid "%s discovered hosts were provisioned"
31
- msgstr ""
32
-
33
- msgid "Are you sure?"
34
- msgstr "Вы уверены?"
26
+ msgid "List all discovered hosts"
27
+ msgstr "Показать все обнаруженные узлы"
35
28
 
36
- msgid "Assign Location"
37
- msgstr "Выбрать расположение"
29
+ msgid "filter results"
30
+ msgstr "результаты фильтрации"
38
31
 
39
- msgid "Assign Organization"
40
- msgstr "Назначить организацию"
32
+ msgid "sort results"
33
+ msgstr "сортировка"
41
34
 
42
- msgid "Auto Provision"
43
- msgstr "Автоматически инициализировать"
35
+ msgid "paginate results"
36
+ msgstr "постранично"
44
37
 
45
- msgid "Auto Provision All"
46
- msgstr "Автоматически инициализировать все"
38
+ msgid "number of entries per request"
39
+ msgstr "число записей в запросе"
47
40
 
48
- msgid ""
49
- "Automatically provision newly discovered hosts, according to the "
50
- "provisioning rules"
51
- msgstr "Автоматически инициализировать обнаруженные узлы в соответствии с заранее определенными правилами"
41
+ msgid "Show a discovered host"
42
+ msgstr "Показать обнаруженный узел"
52
43
 
53
- msgid "Automatically reboot discovered host during provisioning"
44
+ msgid "Create a discovered host for testing (use /facts to create new hosts)"
54
45
  msgstr ""
55
46
 
56
- msgid "CPUs"
57
- msgstr "CPU"
47
+ msgid "Provision a discovered host"
48
+ msgstr "Инициализация обнаруженного узла"
58
49
 
59
- msgid "Cancel"
60
- msgstr "Отмена"
50
+ msgid "not required if using a subnet with DHCP proxy"
51
+ msgstr "не требуется, если используется подсеть с DHCP-прокси"
61
52
 
62
- msgid "Could not get facts from proxy %{url}: %{error}"
63
- msgstr "Не удалось получить факты с %{url}: %{error}"
53
+ msgid "not required if it's a virtual machine"
54
+ msgstr "не требуется для виртуальных машин"
64
55
 
65
- msgid "Create a discovered host for testing (use /facts to create new hosts)"
56
+ msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
66
57
  msgstr ""
58
+ "UUID для отслеживания статуса задач оркестрации: GET /api/orchestration/:UUID/"
59
+ "tasks"
67
60
 
68
- msgid "Create a discovery rule"
69
- msgstr "Создать правило"
70
-
71
- msgid "Delete"
72
- msgstr "Удалить"
73
-
74
- msgid "Delete %s?"
75
- msgstr "Удалить %s?"
61
+ msgid ""
62
+ "required if value is not inherited from host group or default password in sett"
63
+ "ings"
64
+ msgstr ""
65
+ "обязательно, если пароль не наследуется от группы узлов или из стандартного зн"
66
+ "ачения в параметрах"
76
67
 
77
68
  msgid "Delete a discovered host"
78
69
  msgstr "Удалить обнаруженный узел"
79
70
 
80
- msgid "Delete a rule"
81
- msgstr "Удалить правило"
71
+ msgid "Upload facts for a host, creating the host if required"
72
+ msgstr "Обновить статистику и, если необходимо, создать узел"
82
73
 
83
- msgid "Delete hosts"
84
- msgstr "Удалить узлы"
74
+ msgid ""
75
+ "hash containing facts for the host with minimum set of facts: discovery_bootif"
76
+ ", macaddress_eth0, ipaddress, ipaddress_eth0, interfaces: eth0 (example in cas"
77
+ "e primary interface is named eth0)"
78
+ msgstr ""
85
79
 
86
- msgid "Destroyed selected hosts"
87
- msgstr "Узлы удалены"
80
+ msgid "Execute rules against a discovered host"
81
+ msgstr "Применить правила к обнаруженному узлу"
88
82
 
89
- msgid "Disable"
90
- msgstr "Отключить"
83
+ msgid "Host %{host} was provisioned with rule %{rule}"
84
+ msgstr "%{host} инициализирован в соответствии с правилом %{rule}"
91
85
 
92
- msgid "Disable rule?"
93
- msgstr "Отключить правило?"
86
+ msgid "Unable to provision %{host}: %{errors}"
87
+ msgstr ""
94
88
 
95
- msgid "Discovered host: %s"
96
- msgstr "Обнаружен узел: %s"
89
+ msgid "No rule found for host %s"
90
+ msgstr "Нет правил для %s"
97
91
 
98
- msgid "Discovered hosts"
99
- msgstr "Обнаруженные узлы"
92
+ msgid "Execute rules against all currently discovered hosts"
93
+ msgstr "Применить правила ко всем обнаруженным узлам"
100
94
 
101
- msgid "Discovered hosts are provisioning now"
102
- msgstr "Выполняется инициализация обнаруженных узлов"
95
+ msgid "Errors during auto provisioning: %s"
96
+ msgstr "Ошибки при автоматической инициализации: %s"
103
97
 
104
- msgid "Discovered hosts are rebooting now"
98
+ msgid "No discovered hosts to provision"
99
+ msgstr "Нет обнаруженных узлов"
100
+
101
+ msgid "%s discovered hosts were provisioned"
105
102
  msgstr ""
106
103
 
107
- msgid "Discovery Rules"
108
- msgstr "Правила поиска"
104
+ msgid "Refreshing the facts of a discovered host"
105
+ msgstr "Обновление фактов обнаруженного узла"
109
106
 
110
- msgid "DiscoveryRule|Enabled"
111
- msgstr "Включено"
107
+ msgid "Rebooting a discovered host"
108
+ msgstr "Перезагрузка обнаруженного узла"
112
109
 
113
- msgid "DiscoveryRule|Name"
114
- msgstr "Имя"
110
+ msgid "Rebooting all discovered hosts"
111
+ msgstr ""
115
112
 
116
- msgid "DiscoveryRule|Priority"
117
- msgstr "Приоритет"
113
+ msgid "Discovered hosts are rebooting now"
114
+ msgstr ""
118
115
 
119
- msgid "DiscoveryRule|Query"
120
- msgstr "Запрос"
116
+ msgid "List all discovery rules"
117
+ msgstr "Показать все правила обнаружения"
121
118
 
122
- msgid "Disk count"
123
- msgstr "Число дисков"
119
+ msgid "Show a discovery rule"
120
+ msgstr "Показать правило"
124
121
 
125
- msgid "Disks size"
126
- msgstr "Размер дисков"
122
+ msgid "represents rule name shown to the users"
123
+ msgstr ""
127
124
 
128
- msgid ""
129
- "Domain will be appended automatically. A hostname based on MAC address will "
130
- "be used when left blank. In addition to @host attribute function rand for "
131
- "random integers is available. Examples:"
132
- msgstr "Домен будет добавлен автоматически. Если имя узла не задано, будет использоваться MAC-адрес. Помимо атрибута @host, доступна функция rand для генерации случайных чисел. Примеры: "
125
+ msgid "query to match discovered hosts for the particular rule"
126
+ msgstr ""
133
127
 
134
- msgid "Edit Discovery Rule"
135
- msgstr "Изменить правило"
128
+ msgid "the hostgroup that is used to auto provision a host"
129
+ msgstr ""
136
130
 
137
- msgid "Enable"
138
- msgstr "Включить"
131
+ msgid "defines a pattern to assign human-readable hostnames to the matching hosts"
132
+ msgstr ""
139
133
 
140
- msgid "Enable rule?"
141
- msgstr "Включить правило?"
134
+ msgid "enables to limit maximum amount of provisioned hosts per rule"
135
+ msgstr ""
142
136
 
143
- msgid "Errors during auto provisioning: %s"
144
- msgstr "Ошибки при автоматической инициализации: %s"
137
+ msgid "puts the rules in order, low numbers go first. Must be greater then zero"
138
+ msgstr ""
145
139
 
146
- msgid "Errors during reboot: %s"
140
+ msgid "flag is used for temporary shutdown of rules"
147
141
  msgstr ""
148
142
 
149
- msgid "Execute rules against a discovered host"
150
- msgstr "Применить правила к обнаруженному узлу"
143
+ msgid "Create a discovery rule"
144
+ msgstr "Создать правило"
151
145
 
152
- msgid "Execute rules against all currently discovered hosts"
153
- msgstr "Применить правила ко всем обнаруженным узлам"
146
+ msgid "Update a rule"
147
+ msgstr "Обновить правило"
154
148
 
155
- msgid ""
156
- "Expected discovery_fact '%s' is missing, unable to detect primary interface "
157
- "and set hostname"
158
- msgstr ""
149
+ msgid "Delete a rule"
150
+ msgstr "Удалить правило"
159
151
 
160
- msgid "Extra facter columns to show in host lists (separate by comma)"
152
+ msgid "Unable to find a discovery rule, no host provided (check permissions)"
161
153
  msgstr ""
162
154
 
163
- msgid "Fact"
164
- msgstr "Аргумент"
155
+ msgid "No hostgroup associated with rule '%s'"
156
+ msgstr ""
165
157
 
166
- msgid "Fact name to use for primary interface detection and hostname"
158
+ msgid "Errors during reboot: %s"
167
159
  msgstr ""
168
160
 
169
- msgid "Facts discovered on this host"
170
- msgstr "Обнаружена статистика хоста"
161
+ msgid "No discovered hosts to reboot"
162
+ msgstr ""
171
163
 
172
164
  msgid "Facts refreshed for %s"
173
165
  msgstr "Факты %s обновлены"
174
166
 
175
- msgid "Failed to auto provision host %s: %s"
176
- msgstr "Не удалось автоматически инициализировать узел %s: %s"
167
+ msgid "Failed to refresh facts for %s"
168
+ msgstr "Не удалось обновить факты %s"
169
+
170
+ msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
171
+ msgstr ""
172
+
173
+ msgid "Host of type %s can not be rebooted"
174
+ msgstr "Узел типа %s не может быть перезагружен"
175
+
176
+ msgid "Rebooting host %s"
177
+ msgstr "Перезагрузка %s"
177
178
 
178
179
  msgid "Failed to reboot host %s"
179
180
  msgstr "Не удалось перезагрузить %s"
@@ -181,333 +182,437 @@ msgstr "Не удалось перезагрузить %s"
181
182
  msgid "Failed to reboot host %{hostname} with error %{error_message}"
182
183
  msgstr "Не удалось перезагрузить %{hostname}. Ошибка: %{error_message}"
183
184
 
184
- msgid "Failed to refresh facts for %s"
185
- msgstr "Не удалось обновить факты %s"
185
+ msgid "Failed to reboot hosts with error %s"
186
+ msgstr ""
186
187
 
187
- msgid "Host"
188
- msgstr "Узел"
188
+ msgid "Destroyed selected hosts"
189
+ msgstr "Узлы удалены"
189
190
 
190
- msgid "Host %{host} was provisioned with rule %{rule}"
191
- msgstr "%{host} инициализирован в соответствии с правилом %{rule}"
191
+ msgid "The following hosts were not deleted: %s"
192
+ msgstr "Хосты не были удалены: %s"
192
193
 
193
- msgid "Host group"
194
- msgstr "Группа узлов"
194
+ msgid "Failed to auto provision host %s: %s"
195
+ msgstr "Не удалось автоматически инициализировать узел %s: %s"
195
196
 
196
- msgid "Host group location %s must also be associated to the discovery rule"
197
- msgid_plural ""
198
- "Host group locations %s must also be associated to the discovery rule"
199
- msgstr[0] ""
200
- msgstr[1] ""
201
- msgstr[2] ""
202
- msgstr[3] ""
197
+ msgid "Discovered hosts are provisioning now"
198
+ msgstr "Выполняется инициализация обнаруженных узлов"
203
199
 
204
- msgid ""
205
- "Host group organization %s must also be associated to the discovery rule"
206
- msgid_plural ""
207
- "Host group organizations %s must also be associated to the discovery rule"
208
- msgstr[0] ""
209
- msgstr[1] ""
210
- msgstr[2] ""
211
- msgstr[3] ""
200
+ msgid "No hosts were found with that id or name"
201
+ msgstr "Нет хоста с таким идентификатором или именем"
212
202
 
213
- msgid "Host of type %s can not be rebooted"
214
- msgstr "Узел типа %s не может быть перезагружен"
203
+ msgid "No hosts selected"
204
+ msgstr "Хост не выбран"
215
205
 
216
- msgid "Hostname for provisioned hosts"
217
- msgstr "Имя узла"
206
+ msgid "Something went wrong while selecting hosts - %s"
207
+ msgstr "Непредвиденное поведение при выборе узлов: %s"
218
208
 
219
- msgid "Hosts limit"
220
- msgstr "Число узлов"
209
+ msgid "Rule disabled"
210
+ msgstr "Правило отключено"
221
211
 
222
- msgid "Hosts/limit"
223
- msgstr "Узлы/максимум"
212
+ msgid "Rule enabled"
213
+ msgstr "Правило включено"
224
214
 
225
- msgid "IP Address"
226
- msgstr "IP"
215
+ msgid "%s ago"
216
+ msgstr "%s назад"
227
217
 
228
- msgid "Image API processing error: %{msg} (HTTP/%{code}, body: %{body})"
218
+ msgid "Provision"
219
+ msgstr "Подготовка"
220
+
221
+ msgid "Auto Provision"
222
+ msgstr "Автоматически инициализировать"
223
+
224
+ msgid "Refresh facts"
225
+ msgstr "Обновить факты"
226
+
227
+ msgid "Reboot"
228
+ msgstr "Перезагрузить"
229
+
230
+ msgid "Back"
229
231
  msgstr ""
230
232
 
231
- msgid "Image API returned HTTP/%{code} with '%{body}"
233
+ msgid "Select Action"
234
+ msgstr "Выберите действие"
235
+
236
+ msgid "Expand All"
232
237
  msgstr ""
233
238
 
234
- msgid "Incompatible version of puppet fact parser"
239
+ msgid "Delete"
240
+ msgstr "Удалить"
241
+
242
+ msgid "Are you sure?"
243
+ msgstr "Вы уверены?"
244
+
245
+ msgid "Delete hosts"
246
+ msgstr "Удалить узлы"
247
+
248
+ msgid "Assign Organization"
249
+ msgstr "Назначить организацию"
250
+
251
+ msgid "Assign Location"
252
+ msgstr "Выбрать расположение"
253
+
254
+ msgid "%s - The following hosts are about to be changed"
255
+ msgstr "%s — узлы будут изменены"
256
+
257
+ msgid "N/A"
258
+ msgstr "нет"
259
+
260
+ msgid "New in the last 24 hours"
235
261
  msgstr ""
236
262
 
237
- msgid "Invalid facts, must be a Hash"
238
- msgstr "Недопустимый формат фактов: ожидаются переменные и их значения"
263
+ msgid "Not reported in more than 7 days"
264
+ msgstr ""
239
265
 
240
- msgid "Last facts upload"
241
- msgstr "Обновление фактов"
266
+ msgid "Reported in the last 7 days"
267
+ msgstr ""
242
268
 
243
- msgid "List all discovered hosts"
244
- msgstr "Показать все обнаруженные узлы"
269
+ msgid "Discovered Hosts"
270
+ msgstr ""
245
271
 
246
- msgid "List all discovery rules"
247
- msgstr "Показать все правила обнаружения"
272
+ msgid "Associated Hosts"
273
+ msgstr ""
248
274
 
249
- msgid "Location"
250
- msgstr "Расположение"
275
+ msgid "Disable rule '%s'?"
276
+ msgstr ""
251
277
 
252
- msgid "Locations"
278
+ msgid "Disable"
279
+ msgstr "Отключить"
280
+
281
+ msgid "Enable"
282
+ msgstr "Включить"
283
+
284
+ msgid "Enable rule '%s'?"
253
285
  msgstr ""
254
286
 
255
- msgid "Maximum hosts provisioned with this rule (0 = unlimited)"
256
- msgstr "Максимальное число инициализируемых узлов в соответствии с правилом (0 снимает ограничения)"
287
+ msgid "Delete rule '%s'?"
288
+ msgstr ""
257
289
 
258
- msgid "Memory"
259
- msgstr "Память"
290
+ msgid "Must specify a user with email enabled"
291
+ msgstr ""
260
292
 
261
- msgid "Model"
262
- msgstr "Модель"
293
+ msgid "Discovered hosts summary"
294
+ msgstr ""
263
295
 
264
- msgid "N/A"
265
- msgstr "нет"
296
+ msgid "can't contain white spaces."
297
+ msgstr "не может содержать пробелы."
266
298
 
267
- msgid "Name"
268
- msgstr "Имя"
299
+ msgid "must start with a letter or ERB."
300
+ msgstr "должен начинаться с буквы или ERB"
269
301
 
270
- msgid "New Discovery Rule"
271
- msgstr "Новое правило"
302
+ msgid "Host group organization %s must also be associated to the discovery rule"
303
+ msgid_plural "Host group organizations %s must also be associated to the discovery rule"
304
+ msgstr[0] ""
305
+ msgstr[1] ""
272
306
 
273
- msgid "New Rule"
274
- msgstr "Добавить"
307
+ msgid "Host group location %s must also be associated to the discovery rule"
308
+ msgid_plural "Host group locations %s must also be associated to the discovery rule"
309
+ msgstr[0] ""
310
+ msgstr[1] ""
311
+
312
+ msgid "Invalid facts, must be a Hash"
313
+ msgstr "Недопустимый формат фактов: ожидаются переменные и их значения"
314
+
315
+ msgid ""
316
+ "Expected discovery_fact '%s' is missing, unable to detect primary interface an"
317
+ "d set hostname"
318
+ msgstr ""
319
+
320
+ msgid ""
321
+ "Invalid facts: hash does not contain a valid value for any of the facts in the"
322
+ " discovery_hostname setting: %s"
323
+ msgstr ""
324
+
325
+ msgid "Unable to assign subnet, primary interface is missing IP address"
326
+ msgstr ""
327
+
328
+ msgid "Could not get facts from proxy %{url}: %{error}"
329
+ msgstr "Не удалось получить факты с %{url}: %{error}"
275
330
 
276
- msgid "New in the last 24 hours"
331
+ msgid "Unable to reboot %{name} via %{url}: %{msg}"
277
332
  msgstr ""
278
333
 
279
- msgid "No discovered hosts available"
280
- msgstr "Нет обнаруженных узлов"
334
+ msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
335
+ msgstr ""
281
336
 
282
- msgid "No discovered hosts to provision"
283
- msgstr "Нет обнаруженных узлов"
337
+ msgid "Invalid hostname: Could not normalize the hostname"
338
+ msgstr ""
284
339
 
285
- msgid "No discovered hosts to reboot"
340
+ msgid "Reloading kernel on %s"
286
341
  msgstr ""
287
342
 
288
- msgid "No hosts selected"
289
- msgstr "Хост не выбран"
343
+ msgid "Rebooting %s"
344
+ msgstr "Перезагрузка %s"
290
345
 
291
- msgid "No hosts were found with that id or name"
292
- msgstr "Нет хоста с таким идентификатором или именем"
346
+ msgid "Operating system not set for host/hostgroup"
347
+ msgstr ""
293
348
 
294
- msgid "No rule found for host %s"
295
- msgstr "Нет правил для %s"
349
+ msgid "Medium not set for host/hostgroup"
350
+ msgstr ""
296
351
 
297
- msgid "Not reported in more than 7 days"
352
+ msgid "Kexec template not associated with operating system"
298
353
  msgstr ""
299
354
 
300
- msgid "Organization"
301
- msgstr "Организация"
355
+ msgid "Fact name to use for primary interface detection"
356
+ msgstr ""
302
357
 
303
- msgid "Organizations"
358
+ msgid "List of facts to use for the hostname (separated by comma, first wins)"
304
359
  msgstr ""
305
360
 
306
- msgid "Please Confirm"
307
- msgstr "Подтвердите"
361
+ msgid ""
362
+ "Automatically provision newly discovered hosts, according to the provisioning "
363
+ "rules"
364
+ msgstr ""
365
+ "Автоматически инициализировать обнаруженные узлы в соответствии с заранее опре"
366
+ "деленными правилами"
308
367
 
309
- msgid "Primary"
368
+ msgid "Automatically reboot discovered host during provisioning"
310
369
  msgstr ""
311
370
 
312
- msgid "Provision"
313
- msgstr "Подготовка"
371
+ msgid "The default prefix to use for the host name, must start with a letter"
372
+ msgstr "Префикс имени узла (должен начинаться с буквы)"
314
373
 
315
- msgid "Provision a discovered host"
316
- msgstr "Инициализация обнаруженного узла"
374
+ msgid "Extra facter columns to show in host lists (separate by comma)"
375
+ msgstr ""
317
376
 
318
- msgid "Reboot"
319
- msgstr "Перезагрузить"
377
+ msgid "The default location to place discovered hosts in"
378
+ msgstr "Рабочий участок для размещения обнаруженных узлов"
320
379
 
321
- msgid "Reboot All"
380
+ msgid "The default organization to place discovered hosts in"
381
+ msgstr "Организация, в которую по умолчанию будут добавляться обнаруженные узлы"
382
+
383
+ msgid "Regex to organize facts for highlights section"
322
384
  msgstr ""
323
385
 
324
- msgid "Rebooting %s"
325
- msgstr "Перезагрузка %s"
386
+ msgid "Regex to organize facts for storage section"
387
+ msgstr ""
326
388
 
327
- msgid "Rebooting a discovered host"
328
- msgstr "Перезагрузка обнаруженного узла"
389
+ msgid "Regex to organize facts for software section"
390
+ msgstr ""
329
391
 
330
- msgid "Rebooting all discovered hosts"
392
+ msgid "Regex to organize facts for hardware section"
331
393
  msgstr ""
332
394
 
333
- msgid "Rebooting host %s"
334
- msgstr "Перезагрузка %s"
395
+ msgid "Regex to organize facts for network section"
396
+ msgstr ""
335
397
 
336
- msgid "Refresh facts"
337
- msgstr "Обновить факты"
398
+ msgid "Regex to organize facts for ipmi section"
399
+ msgstr ""
338
400
 
339
- msgid "Refreshing the facts of a discovered host"
340
- msgstr "Обновление фактов обнаруженного узла"
401
+ msgid ""
402
+ "Unable to detect primary interface using MAC '%{mac}' specified by discovery_f"
403
+ "act '%{fact}'"
404
+ msgstr ""
341
405
 
342
- msgid "Reloading kernel on %s"
406
+ msgid "Image API returned HTTP/%{code} with '%{body}"
343
407
  msgstr ""
344
408
 
345
- msgid "Reported in the last 7 days"
409
+ msgid "Image API processing error: %{msg} (HTTP/%{code}, body: %{body})"
346
410
  msgstr ""
347
411
 
348
- msgid "Rule disabled"
349
- msgstr "Правило отключено"
412
+ msgid "No discovered hosts available"
413
+ msgstr "Нет обнаруженных узлов"
350
414
 
351
- msgid "Rule enabled"
352
- msgstr "Правило включено"
415
+ msgid "Host"
416
+ msgstr "Узел"
353
417
 
354
- msgid "Rule priority (lower integer means higher priority)"
355
- msgstr "Приоритет (чем ниже число, тем выше приоритет)"
418
+ msgid "Model"
419
+ msgstr "Модель"
356
420
 
357
- msgid "Select Action"
358
- msgstr "Выберите действие"
421
+ msgid "CPUs"
422
+ msgstr "CPU"
423
+
424
+ msgid "Memory"
425
+ msgstr "Память"
426
+
427
+ msgid "Discovered hosts"
428
+ msgstr "Обнаруженные узлы"
429
+
430
+ msgid "items selected. Uncheck to Clear"
431
+ msgstr "выбрано. Чтобы очистить, снимите флажок"
359
432
 
360
433
  msgid "Select all items in this page"
361
434
  msgstr "Выберите все элементы на этой странице"
362
435
 
363
- msgid "Select location"
364
- msgstr "Выберите расположение"
365
-
366
- msgid "Select organization"
367
- msgstr "Выберите организацию"
436
+ msgid "Name"
437
+ msgstr "Имя"
368
438
 
369
- msgid "Show a discovered host"
370
- msgstr "Показать обнаруженный узел"
439
+ msgid "IP Address"
440
+ msgstr "IP"
371
441
 
372
- msgid "Show a discovery rule"
373
- msgstr "Показать правило"
442
+ msgid "Disk count"
443
+ msgstr "Число дисков"
374
444
 
375
- msgid "Something went wrong while selecting hosts - %s"
376
- msgstr "Непредвиденное поведение при выборе узлов: %s"
445
+ msgid "Disks size"
446
+ msgstr "Размер дисков"
377
447
 
378
- msgid ""
379
- "Specify target hostname template pattern in the same syntax as in "
380
- "Provisioning Templates (ERB)."
381
- msgstr "Определите шаблон целевого узла, используя синтаксис шаблонов инициализации (ERB)."
448
+ msgid "Location"
449
+ msgstr "Расположение"
382
450
 
383
- msgid "Submit"
384
- msgstr "Отправить"
451
+ msgid "Organization"
452
+ msgstr "Организация"
385
453
 
386
454
  msgid "Subnet"
387
455
  msgstr "Подсеть"
388
456
 
389
- msgid "Target host group for this rule with all properties set"
390
- msgstr "Целевая группа узлов для этого правила с настроенными параметрами"
457
+ msgid "Last facts upload"
458
+ msgstr "Обновление фактов"
391
459
 
392
- msgid "Template"
393
- msgstr "Шаблон"
460
+ msgid "Delete %s?"
461
+ msgstr "Удалить %s?"
394
462
 
395
- msgid "The default location to place discovered hosts in"
396
- msgstr "Рабочий участок для размещения обнаруженных узлов"
463
+ msgid "Please Confirm"
464
+ msgstr "Подтвердите"
397
465
 
398
- msgid "The default organization to place discovered hosts in"
399
- msgstr "Организация, в которую по умолчанию будут добавляться обнаруженные узлы"
466
+ msgid "Cancel"
467
+ msgstr "Отмена"
400
468
 
401
- msgid "The default prefix to use for the host name, must start with a letter"
402
- msgstr "Префикс имени узла (должен начинаться с буквы)"
469
+ msgid "Submit"
470
+ msgstr "Отправить"
403
471
 
404
- msgid "The following hosts were not deleted: %s"
405
- msgstr "Хосты не были удалены: %s"
472
+ msgid "Reboot All"
473
+ msgstr ""
406
474
 
407
- msgid ""
408
- "This might take a while, as all hosts, facts and reports will be destroyed "
409
- "as well"
410
- msgstr "Это может занять некоторое время, так как в ходе выполнения будут удалены узлы, статистика и все отчеты"
475
+ msgid "Auto Provision All"
476
+ msgstr "Автоматически инициализировать все"
411
477
 
412
- msgid ""
413
- "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
414
- msgstr "UUID для отслеживания статуса задач оркестрации: GET /api/orchestration/:UUID/tasks"
478
+ msgid "Warning"
479
+ msgstr "Предупреждение"
415
480
 
416
- msgid "Unable to assign subnet, primary interface is missing IP address"
481
+ msgid ""
482
+ "This might take a while, as all hosts, facts and reports will be destroyed as "
483
+ "well"
417
484
  msgstr ""
485
+ "Это может занять некоторое время, так как в ходе выполнения будут удалены узлы"
486
+ ", статистика и все отчеты"
418
487
 
419
- msgid ""
420
- "Unable to detect primary interface using MAC '%{mac}' specified by "
421
- "discovery_fact '%{fact}'"
488
+ msgid "Select location"
489
+ msgstr "Выберите расположение"
490
+
491
+ msgid "Select organization"
492
+ msgstr "Выберите организацию"
493
+
494
+ msgid "Discovered host: %s"
495
+ msgstr "Обнаружен узел: %s"
496
+
497
+ msgid "Identifier"
422
498
  msgstr ""
423
499
 
424
- msgid "Unable to find a discovery rule, no host provided (check permissions)"
500
+ msgid "MAC address"
425
501
  msgstr ""
426
502
 
427
- msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
503
+ msgid "IP address"
428
504
  msgstr ""
429
505
 
430
- msgid "Unable to provision %{host}: %{errors}"
506
+ msgid "Summary report for discovered hosts from Foreman"
431
507
  msgstr ""
432
508
 
433
- msgid "Unable to reboot %{name} via %{url}: %{msg}"
509
+ msgid "<b>Foreman</b> Discovered hosts summary"
434
510
  msgstr ""
435
511
 
436
- msgid "Update a rule"
437
- msgstr "Обновить правило"
512
+ msgid "Summary from %{time} ago to %{now}"
513
+ msgstr ""
438
514
 
439
- msgid "Upload facts for a host, creating the host if required"
440
- msgstr "Обновить статистику и, если необходимо, создать узел"
515
+ msgid "Discovered hosts from Foreman server at %{foreman_url}"
516
+ msgstr ""
441
517
 
442
- msgid "Value"
443
- msgstr "Значение"
518
+ msgid "No discovered hosts for the selected period"
519
+ msgstr ""
444
520
 
445
- msgid "Warning"
446
- msgstr "Предупреждение"
521
+ msgid "Foreman discovered hosts summary"
522
+ msgstr ""
447
523
 
448
- msgid ""
449
- "When creating hostname patterns, make sure the resulting host names are "
450
- "unique. Hostnames must not start with numbers. A good approach is to use "
451
- "unique information provided by facter (MAC address, BIOS or serial ID)."
452
- msgstr "Имя узла, полученное в результате преобразования шаблона, должно быть уникальным и не может начинаться с числа. Для этой цели можно использовать индивидуальные данные (MAC-адрес, серийный номер и пр.)"
524
+ msgid "No new discovered hosts for this period"
525
+ msgstr ""
453
526
 
454
- msgid "can't contain white spaces."
455
- msgstr "не может содержать пробелы."
527
+ msgid "Primary"
528
+ msgstr ""
456
529
 
457
- msgid ""
458
- "defines a pattern to assign human-readable hostnames to the matching hosts"
530
+ msgid "Locations"
459
531
  msgstr ""
460
532
 
461
- msgid "enables to limit maximum amount of provisioned hosts per rule"
533
+ msgid "Organizations"
462
534
  msgstr ""
463
535
 
464
- msgid "filter results"
465
- msgstr "результаты фильтрации"
536
+ msgid "Target host group for this rule with all properties set"
537
+ msgstr "Целевая группа узлов для этого правила с настроенными параметрами"
466
538
 
467
- msgid "flag is used for temporary shutdown of rules"
539
+ msgid "Template"
540
+ msgstr "Шаблон"
541
+
542
+ msgid ""
543
+ "Specify target hostname template pattern in the same syntax as in Provisioning"
544
+ " Templates (ERB)."
468
545
  msgstr ""
546
+ "Определите шаблон целевого узла, используя синтаксис шаблонов инициализации (E"
547
+ "RB)."
469
548
 
470
549
  msgid ""
471
- "hash containing facts for the host with minimum set of facts: "
472
- "discovery_bootif, macaddress_eth0, ipaddress, ipaddress_eth0, interfaces: "
473
- "eth0 (example in case primary interface is named eth0)"
550
+ "Domain will be appended automatically. A hostname based on MAC address will be"
551
+ " used when left blank. In addition to @host attribute function rand for random"
552
+ " integers is available. Examples:"
474
553
  msgstr ""
554
+ "Домен будет добавлен автоматически. Если имя узла не задано, будет использоват"
555
+ "ься MAC-адрес. Помимо атрибута @host, доступна функция rand для генерации случ"
556
+ "айных чисел. Примеры: "
475
557
 
476
- msgid "items selected. Uncheck to Clear"
477
- msgstr "выбрано. Чтобы очистить, снимите флажок"
558
+ msgid ""
559
+ "When creating hostname patterns, make sure the resulting host names are unique"
560
+ ". Hostnames must not start with numbers. A good approach is to use unique info"
561
+ "rmation provided by facter (MAC address, BIOS or serial ID)."
562
+ msgstr ""
563
+ "Имя узла, полученное в результате преобразования шаблона, должно быть уникальн"
564
+ "ым и не может начинаться с числа. Для этой цели можно использовать индивидуаль"
565
+ "ные данные (MAC-адрес, серийный номер и пр.)"
478
566
 
479
- msgid "must start with a letter or ERB."
480
- msgstr "должен начинаться с буквы или ERB"
567
+ msgid "Hostname for provisioned hosts"
568
+ msgstr "Имя узла"
481
569
 
482
- msgid "not required if it's a virtual machine"
483
- msgstr "не требуется для виртуальных машин"
570
+ msgid "Hosts limit"
571
+ msgstr "Число узлов"
484
572
 
485
- msgid "not required if using a subnet with DHCP proxy"
486
- msgstr "не требуется, если используется подсеть с DHCP-прокси"
573
+ msgid "Maximum hosts provisioned with this rule (0 = unlimited)"
574
+ msgstr ""
575
+ "Максимальное число инициализируемых узлов в соответствии с правилом (0 снимает"
576
+ " ограничения)"
487
577
 
488
- msgid "number of entries per request"
489
- msgstr "число записей в запросе"
578
+ msgid "Rule priority (lower integer means higher priority)"
579
+ msgstr "Приоритет (чем ниже число, тем выше приоритет)"
490
580
 
491
- msgid "paginate results"
492
- msgstr "постранично"
581
+ msgid "Edit Discovery Rule"
582
+ msgstr "Изменить правило"
493
583
 
494
- msgid ""
495
- "puts the rules in order, low numbers go first. Must be greater then zero"
496
- msgstr ""
584
+ msgid "Discovery Rules"
585
+ msgstr "Правила поиска"
497
586
 
498
- msgid "query to match discovered hosts for the particular rule"
499
- msgstr ""
587
+ msgid "New Rule"
588
+ msgstr "Добавить"
500
589
 
501
- msgid "represents rule name shown to the users"
502
- msgstr ""
590
+ msgid "DiscoveryRule|Name"
591
+ msgstr "Имя"
503
592
 
504
- msgid ""
505
- "required if value is not inherited from host group or default password in "
506
- "settings"
507
- msgstr "обязательно, если пароль не наследуется от группы узлов или из стандартного значения в параметрах"
593
+ msgid "DiscoveryRule|Priority"
594
+ msgstr "Приоритет"
508
595
 
509
- msgid "sort results"
510
- msgstr "сортировка"
596
+ msgid "DiscoveryRule|Query"
597
+ msgstr "Запрос"
511
598
 
512
- msgid "the hostgroup that is used to auto provision a host"
599
+ msgid "Host group"
600
+ msgstr "Группа узлов"
601
+
602
+ msgid "Hosts/limit"
603
+ msgstr "Узлы/максимум"
604
+
605
+ msgid "DiscoveryRule|Enabled"
606
+ msgstr "Включено"
607
+
608
+ msgid "New Discovery Rule"
609
+ msgstr "Новое правило"
610
+
611
+ msgid "A summary of discovered hosts"
612
+ msgstr ""
613
+
614
+ msgid "Discovery rules"
615
+ msgstr ""
616
+
617
+ msgid "Discovery widget"
513
618
  msgstr ""