foreman_discovery 11.0.0 → 12.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +5 -5
  2. data/app/controllers/api/v2/discovered_hosts_controller.rb +1 -2
  3. data/app/controllers/concerns/foreman/controller/discovered_extensions.rb +1 -1
  4. data/app/controllers/discovered_hosts_controller.rb +21 -11
  5. data/app/controllers/foreman_discovery/concerns/hosts_controller_extensions.rb +1 -1
  6. data/app/helpers/discovered_hosts_helper.rb +9 -11
  7. data/app/models/discovery_rule.rb +3 -0
  8. data/app/models/host/discovered.rb +59 -19
  9. data/app/models/setting/discovered.rb +1 -0
  10. data/app/services/foreman_discovery/fact_parser.rb +6 -2
  11. data/app/services/foreman_discovery/ui_notifications/new_host.rb +3 -1
  12. data/app/views/dashboard/_discovery_widget_host_list.html.erb +1 -1
  13. data/app/views/discovered_hosts/_discovered_hosts_list.html.erb +2 -3
  14. data/app/views/discovered_hosts/_selected_hosts.html.erb +1 -1
  15. data/app/views/discovered_hosts/index.html.erb +0 -2
  16. data/app/views/discovered_hosts/multiple_auto_provision.html.erb +4 -0
  17. data/app/views/discovered_hosts/multiple_reboot.html.erb +4 -0
  18. data/app/views/discovered_hosts/show.html.erb +27 -15
  19. data/app/views/discovery_rules/_form.html.erb +9 -3
  20. data/app/views/discovery_rules/edit.html.erb +1 -1
  21. data/app/views/discovery_rules/index.html.erb +2 -2
  22. data/app/views/foreman_discovery/debian_kexec.erb +1 -1
  23. data/app/views/foreman_discovery/redhat_kexec.erb +1 -1
  24. data/config/as_deprecation_whitelist.yaml +395 -0
  25. data/config/routes.rb +7 -5
  26. data/db/migrate/20171222120314_add_constraints_on_discovery_rules_hostgroups.rb +10 -0
  27. data/db/migrate/20180412124505_add_priority_score_to_discovery_rules.rb +24 -0
  28. data/extra/discover-host +7 -5
  29. data/extra/discovery/simple-bond.json +167 -0
  30. data/lib/foreman_discovery/engine.rb +9 -3
  31. data/lib/foreman_discovery/version.rb +1 -1
  32. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  33. data/locale/ca/foreman_discovery.edit.po +148 -221
  34. data/locale/ca/foreman_discovery.po +25 -19
  35. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  36. data/locale/de/foreman_discovery.edit.po +147 -221
  37. data/locale/de/foreman_discovery.po +26 -20
  38. data/locale/en/foreman_discovery.edit.po +106 -98
  39. data/locale/en/foreman_discovery.po +24 -18
  40. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  41. data/locale/en_GB/foreman_discovery.edit.po +149 -222
  42. data/locale/en_GB/foreman_discovery.po +26 -20
  43. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  44. data/locale/es/foreman_discovery.edit.po +149 -222
  45. data/locale/es/foreman_discovery.po +26 -20
  46. data/locale/foreman_discovery.pot +115 -103
  47. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  48. data/locale/fr/foreman_discovery.edit.po +147 -221
  49. data/locale/fr/foreman_discovery.po +26 -20
  50. data/locale/gl/foreman_discovery.edit.po +147 -220
  51. data/locale/gl/foreman_discovery.po +24 -18
  52. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  53. data/locale/it/foreman_discovery.edit.po +148 -221
  54. data/locale/it/foreman_discovery.po +25 -19
  55. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  56. data/locale/ja/foreman_discovery.edit.po +149 -222
  57. data/locale/ja/foreman_discovery.po +26 -20
  58. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  59. data/locale/ko/foreman_discovery.edit.po +149 -221
  60. data/locale/ko/foreman_discovery.po +26 -20
  61. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  62. data/locale/pt_BR/foreman_discovery.edit.po +149 -222
  63. data/locale/pt_BR/foreman_discovery.po +26 -20
  64. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  65. data/locale/ru/foreman_discovery.edit.po +152 -223
  66. data/locale/ru/foreman_discovery.po +26 -20
  67. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  68. data/locale/sv_SE/foreman_discovery.edit.po +147 -220
  69. data/locale/sv_SE/foreman_discovery.po +24 -18
  70. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  71. data/locale/zh_CN/foreman_discovery.edit.po +155 -224
  72. data/locale/zh_CN/foreman_discovery.po +26 -20
  73. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  74. data/locale/zh_TW/foreman_discovery.edit.po +151 -222
  75. data/locale/zh_TW/foreman_discovery.po +26 -20
  76. data/test/functional/api/v2/discovered_hosts_controller_test.rb +2 -0
  77. data/test/functional/api/v2/discovery_rules_controller_test.rb +96 -9
  78. data/test/functional/api/v2/settings_controller_test.rb +22 -0
  79. data/test/functional/discovered_hosts_controller_test.rb +20 -21
  80. data/test/functional/discovery_rules_controller_test.rb +5 -4
  81. data/test/integration/discovered_hosts_test.rb +20 -10
  82. data/test/models/setting_test.rb +11 -0
  83. data/test/test_helper_discovery.rb +1 -0
  84. data/test/unit/discovered_extensions_test.rb +2 -13
  85. data/test/unit/discovery_rule_test.rb +87 -1
  86. data/test/unit/fact_parser_test.rb +2 -2
  87. data/test/unit/host_discovered_test.rb +60 -28
  88. data/test/unit/ui_notifications/destroy_host_test.rb +14 -4
  89. data/test/unit/ui_notifications/new_host_test.rb +8 -1
  90. metadata +22 -4
@@ -49,9 +49,6 @@ msgstr "Hosts associados"
49
49
  msgid "Auto Provision"
50
50
  msgstr "Provisionamento automático"
51
51
 
52
- msgid "Auto Provision All"
53
- msgstr "Provisionar tudo automaticamente"
54
-
55
52
  msgid "Auto provisioning"
56
53
  msgstr "Provisionamento automático"
57
54
 
@@ -79,6 +76,9 @@ msgstr "Limpar todos fatos"
79
76
  msgid "Clean all reported facts during provisioning (except discovery facts)"
80
77
  msgstr "Limpar todos os fatos relatados durante o provisionamento (exceto fatos do Discovery)"
81
78
 
79
+ msgid "Collapse All"
80
+ msgstr ""
81
+
82
82
  msgid "Could not get facts from proxy %{url}: %{error}"
83
83
  msgstr "Não foi possível obter fatos do proxy %{url}: %{error}"
84
84
 
@@ -100,6 +100,9 @@ msgstr ""
100
100
  msgid "DHCP filename option (Grub2 or PXELinux by default)"
101
101
  msgstr "Opção do nome de arquivo DHCP (Grub2 ou PXELinux por padrão)"
102
102
 
103
+ msgid "Delete"
104
+ msgstr ""
105
+
103
106
  msgid "Delete %s?"
104
107
  msgstr "Remover %s?"
105
108
 
@@ -109,9 +112,6 @@ msgstr "Excluir um host descoberto"
109
112
  msgid "Delete a rule"
110
113
  msgstr "Excluir uma regra"
111
114
 
112
- msgid "Delete hosts"
113
- msgstr "Remover hosts"
114
-
115
115
  msgid "Delete rule '%s'?"
116
116
  msgstr "Excluir regra '%s'?"
117
117
 
@@ -130,6 +130,9 @@ msgstr "Desabilitar regra '%s'?"
130
130
  msgid "Discovered Hosts"
131
131
  msgstr "Hosts descobertos"
132
132
 
133
+ msgid "Discovered host '%{host}' has all NICs filtered out, filter: %{filter}"
134
+ msgstr ""
135
+
133
136
  msgid "Discovered host: %s"
134
137
  msgstr "Host descoberto: %s"
135
138
 
@@ -160,6 +163,9 @@ msgstr "Proxy do Discovery a ser usado nesta sub-rede para gerenciar conexão co
160
163
  msgid "Discovery Rules"
161
164
  msgstr "Regras do Discovery"
162
165
 
166
+ msgid "Discovery fact parser does not work with non-discovery host '%{host}'"
167
+ msgstr ""
168
+
163
169
  msgid "Discovery location"
164
170
  msgstr "Local do Discovery"
165
171
 
@@ -193,11 +199,14 @@ msgstr "Tamanho dos discos"
193
199
  msgid "Disks size"
194
200
  msgstr "Tamanho do disco"
195
201
 
202
+ msgid "Do not allow to discover existing managed host matching MAC of a provisioning NIC (errors out early)"
203
+ msgstr ""
204
+
196
205
  msgid "Domain will be appended automatically. A hostname based on MAC address will be used when left blank."
197
206
  msgstr "O domínio será anexado automaticamente. Um nome de host baseado no endereço MAC será usado quando deixado em branco."
198
207
 
199
- msgid "Edit Discovery Rule"
200
- msgstr "Editar regra do Discovery"
208
+ msgid "Edit %s"
209
+ msgstr ""
201
210
 
202
211
  msgid "Enable"
203
212
  msgstr "Habilitar"
@@ -205,6 +214,9 @@ msgstr "Habilitar"
205
214
  msgid "Enable rule '%s'?"
206
215
  msgstr "Habilitar regra '%s'?"
207
216
 
217
+ msgid "Error on existing NIC"
218
+ msgstr ""
219
+
208
220
  msgid "Errors during auto provisioning: %s"
209
221
  msgstr "Erros durante o provisionamento automático: %s"
210
222
 
@@ -217,9 +229,6 @@ msgstr "Executar regras em relação a um host descoberto"
217
229
  msgid "Execute rules against all currently discovered hosts"
218
230
  msgstr "Executar regras em relação a todos os hosts descobertos atualmente"
219
231
 
220
- msgid "Expand All"
221
- msgstr "Expandir todos"
222
-
223
232
  msgid "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
224
233
  msgstr "'%s' discovery_fact esperado está ausente, não é possível detectar a interface primária e definir o nome do host"
225
234
 
@@ -512,9 +521,6 @@ msgstr "Provisionar um host descoberto"
512
521
  msgid "Reboot"
513
522
  msgstr "Reiniciar"
514
523
 
515
- msgid "Reboot All"
516
- msgstr "Reinicializar tudo"
517
-
518
524
  msgid "Rebooting %s"
519
525
  msgstr "Reinicializando %s"
520
526
 
@@ -647,15 +653,12 @@ msgstr "Tipo"
647
653
  msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
648
654
  msgstr "UUID a rastrear o status de tarefas de orquestração, GET /api/orchestration/:UUID/tasks"
649
655
 
650
- msgid "Unable to assign subnet, primary interface is missing IP address"
651
- msgstr "Não foi possível atribuir a sub-rede, a interface primária não tem endereço IP"
652
-
653
- msgid "Unable to detect primary interface using MAC '%{mac}' specified by discovery_fact '%{fact}'"
654
- msgstr "Não foi possível detectar interface primária usando MAC '%{mac}' especificado por '%{fact}' discovery_fact"
655
-
656
656
  msgid "Unable to find a discovery rule, no host provided (check permissions)"
657
657
  msgstr "Não foi possível encontrar uma regra do Discovery, nenhum host foi fornecido (verifique as permissões)"
658
658
 
659
+ msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
660
+ msgstr ""
661
+
659
662
  msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
660
663
  msgstr "Não foi possível executar kexec no %{name} por %{url}: %{msg}"
661
664
 
@@ -698,6 +701,9 @@ msgstr "itens selecionados. Desselecione para Limpar"
698
701
  msgid "location ID for provisioned hosts"
699
702
  msgstr ""
700
703
 
704
+ msgid "must be present."
705
+ msgstr ""
706
+
701
707
  msgid "must start with a letter or ERB."
702
708
  msgstr "deve iniciar com uma letra ou ERB."
703
709
 
@@ -1,7 +1,7 @@
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
7
  # Dominic Cleal <dominic@cleal.org>, 2014
@@ -12,37 +12,35 @@ msgid ""
12
12
  msgstr ""
13
13
  "Project-Id-Version: foreman_discovery 10.0.0\n"
14
14
  "Report-Msgid-Bugs-To: \n"
15
- "POT-Creation-Date: 2017-12-11 10:28+0100\n"
16
15
  "PO-Revision-Date: 2018-01-05 19:26+0000\n"
17
16
  "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>\n"
18
- "Language-Team: Russian (http://www.transifex.com/foreman/foreman/language/ru/)\n"
17
+ "Language-Team: Russian (http://www.transifex.com/foreman/foreman/language/ru/)"
18
+ "\n"
19
19
  "MIME-Version: 1.0\n"
20
20
  "Content-Type: text/plain; charset=UTF-8\n"
21
21
  "Content-Transfer-Encoding: 8bit\n"
22
22
  "Language: ru\n"
23
- "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
23
+ "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<="
24
+ "4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=1"
25
+ "1 && n%100<=14)? 2 : 3);\n"
24
26
 
25
27
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:16
26
28
  msgid "List all discovered hosts"
27
29
  msgstr "Показать все обнаруженные узлы"
28
30
 
29
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:17
30
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:15
31
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:17 ../app/controllers/api/v2/discovery_rules_controller.rb:15
31
32
  msgid "filter results"
32
33
  msgstr "отфильтровать результаты"
33
34
 
34
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:18
35
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:16
35
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:18 ../app/controllers/api/v2/discovery_rules_controller.rb:16
36
36
  msgid "sort results"
37
37
  msgstr "отсортировать результаты"
38
38
 
39
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:19
40
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:17
39
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:19 ../app/controllers/api/v2/discovery_rules_controller.rb:17
41
40
  msgid "paginate results"
42
41
  msgstr "постраничный вывод"
43
42
 
44
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:20
45
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:18
43
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:20 ../app/controllers/api/v2/discovery_rules_controller.rb:18
46
44
  msgid "number of entries per request"
47
45
  msgstr "количество записей на запрос"
48
46
 
@@ -50,8 +48,7 @@ msgstr "количество записей на запрос"
50
48
  msgid "Show a discovered host"
51
49
  msgstr "Показать обнаруженный узел"
52
50
 
53
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:37
54
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:79
51
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:37 ../app/controllers/api/v2/discovered_hosts_controller.rb:79
55
52
  msgid "DHCP filename option (Grub2 or PXELinux by default)"
56
53
  msgstr ""
57
54
 
@@ -72,14 +69,11 @@ msgid "not required if it's a virtual machine"
72
69
  msgstr "не требуется для виртуальных машин"
73
70
 
74
71
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:76
75
- msgid ""
76
- "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
72
+ msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
77
73
  msgstr "UUID для отслеживания состояния задач оркестрации, GET /api/orchestration/:UUID/tasks"
78
74
 
79
75
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:78
80
- msgid ""
81
- "required if value is not inherited from host group or default password in "
82
- "settings"
76
+ msgid "required if value is not inherited from host group or default password in settings"
83
77
  msgstr "обязательно, если пароль не унаследован от группы узлов или заданного по умолчанию пароля"
84
78
 
85
79
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:89
@@ -91,62 +85,54 @@ msgid "Upload facts for a host, creating the host if required"
91
85
  msgstr "Загрузить факты узла, требуемые для создания узла"
92
86
 
93
87
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:97
94
- msgid ""
95
- "hash containing facts for the host with minimum set of facts: "
96
- "discovery_bootif, macaddress_eth0, ipaddress, ipaddress_eth0, interfaces: "
97
- "eth0 (example in case primary interface is named eth0)"
88
+ msgid "hash containing facts for the host with minimum set of facts: discovery_bootif, macaddress_eth0, ipaddress, ipaddress_eth0, interfaces: eth0 (example in case primary interface is named eth0)"
98
89
  msgstr "хэш с минимальным набором фактов узла: discovery_bootif, macaddress_eth0, ipaddress, ipaddress_eth0, interfaces: eth0 (в этих примерах подразумевается, что основной интерфейс имеет имя eth0)"
99
90
 
100
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:117
91
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:116
101
92
  msgid "Execute rules against a discovered host"
102
93
  msgstr "Применить правила к обнаруженному узлу"
103
94
 
104
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:123
105
- #: ../app/controllers/discovered_hosts_controller.rb:150
95
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:122 ../app/controllers/discovered_hosts_controller.rb:159
106
96
  msgid "Host %{host} was provisioned with rule %{rule}"
107
97
  msgstr "%{host} был подготовлен в соответствии с правилом %{rule}"
108
98
 
109
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:126
99
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:125
110
100
  msgid "Unable to provision %{host}: %{errors}"
111
101
  msgstr "Не удалось подготовить %{host}: %{errors}"
112
102
 
113
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:132
114
- #: ../app/controllers/discovered_hosts_controller.rb:157
103
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:131 ../app/controllers/discovered_hosts_controller.rb:166
115
104
  msgid "No rule found for host %s"
116
105
  msgstr "Нет правил для %s"
117
106
 
118
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:139
107
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:138
119
108
  msgid "Execute rules against all currently discovered hosts"
120
109
  msgstr "Применить правила ко всем обнаруженным узлам"
121
110
 
122
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:143
123
- #: ../app/controllers/discovered_hosts_controller.rb:163
111
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:142 ../app/controllers/discovered_hosts_controller.rb:172
124
112
  msgid "Errors during auto provisioning: %s"
125
113
  msgstr "Ошибки при автоматической подготовке: %s"
126
114
 
127
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:146
128
- #: ../app/controllers/discovered_hosts_controller.rb:166
115
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:175
129
116
  msgid "No discovered hosts to provision"
130
117
  msgstr "Нет обнаруженных узлов"
131
118
 
132
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:168
119
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:167
133
120
  msgid "%s discovered hosts were provisioned"
134
121
  msgstr "Подготовлено узлов: %s"
135
122
 
136
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:179
123
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:178
137
124
  msgid "Refreshing the facts of a discovered host"
138
125
  msgstr "Обновление фактов узла"
139
126
 
140
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:188
127
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:187
141
128
  msgid "Rebooting a discovered host"
142
129
  msgstr "Перезагрузка обнаруженного узла"
143
130
 
144
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:197
131
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:196
145
132
  msgid "Rebooting all discovered hosts"
146
133
  msgstr "Перезагрузка всех обнаруженных узлов"
147
134
 
148
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:208
149
- #: ../app/controllers/discovered_hosts_controller.rb:125
135
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:207 ../app/controllers/discovered_hosts_controller.rb:128
150
136
  msgid "Discovered hosts are rebooting now"
151
137
  msgstr "Выполняется перезагрузка обнаруженных узлов"
152
138
 
@@ -171,8 +157,7 @@ msgid "the hostgroup that is used to auto provision a host"
171
157
  msgstr "группа узлов, которая будет выбрана при автоматической подготовке узлов"
172
158
 
173
159
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:35
174
- msgid ""
175
- "defines a pattern to assign human-readable hostnames to the matching hosts"
160
+ msgid "defines a pattern to assign human-readable hostnames to the matching hosts"
176
161
  msgstr "шаблон для присвоения узлам понятных имен"
177
162
 
178
163
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:36
@@ -180,8 +165,7 @@ msgid "enables to limit maximum amount of provisioned hosts per rule"
180
165
  msgstr "максимальное число узлов для указанного правила"
181
166
 
182
167
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:37
183
- msgid ""
184
- "puts the rules in order, low numbers go first. Must be greater then zero"
168
+ msgid "puts the rules in order, low numbers go first. Must be greater then zero"
185
169
  msgstr "приоритет правила (должен быть больше 0). Правила выбираются по возрастанию приоритета"
186
170
 
187
171
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:38
@@ -228,95 +212,95 @@ msgstr "Ошибки при перезагрузке: %s"
228
212
  msgid "No discovered hosts to reboot"
229
213
  msgstr "Нет узлов для перезагрузки"
230
214
 
231
- #: ../app/controllers/discovered_hosts_controller.rb:61
215
+ #: ../app/controllers/discovered_hosts_controller.rb:63
232
216
  msgid "Successfully provisioned %s"
233
217
  msgstr ""
234
218
 
235
- #: ../app/controllers/discovered_hosts_controller.rb:93
219
+ #: ../app/controllers/discovered_hosts_controller.rb:96
236
220
  msgid "Facts refreshed for %s"
237
221
  msgstr "Факты %s были обновлены"
238
222
 
239
- #: ../app/controllers/discovered_hosts_controller.rb:95
223
+ #: ../app/controllers/discovered_hosts_controller.rb:98
240
224
  msgid "Failed to refresh facts for %s"
241
225
  msgstr "Не удалось обновить факты %s"
242
226
 
243
- #: ../app/controllers/discovered_hosts_controller.rb:98
227
+ #: ../app/controllers/discovered_hosts_controller.rb:101
244
228
  msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
245
229
  msgstr "Не удалось обновить факты %{hostname}. Ошибка: %{error_message}"
246
230
 
247
- #: ../app/controllers/discovered_hosts_controller.rb:105
231
+ #: ../app/controllers/discovered_hosts_controller.rb:108
248
232
  msgid "Host of type %s can not be rebooted"
249
233
  msgstr "Узел типа %s не может быть перезагружен"
250
234
 
251
- #: ../app/controllers/discovered_hosts_controller.rb:109
235
+ #: ../app/controllers/discovered_hosts_controller.rb:112
252
236
  msgid "Rebooting host %s"
253
237
  msgstr "Перезагрузка %s"
254
238
 
255
- #: ../app/controllers/discovered_hosts_controller.rb:111
239
+ #: ../app/controllers/discovered_hosts_controller.rb:114
256
240
  msgid "Failed to reboot host %s"
257
241
  msgstr "Не удалось перезагрузить %s"
258
242
 
259
- #: ../app/controllers/discovered_hosts_controller.rb:114
243
+ #: ../app/controllers/discovered_hosts_controller.rb:117
260
244
  msgid "Failed to reboot host %{hostname} with error %{error_message}"
261
245
  msgstr "Не удалось перезагрузить %{hostname}. Ошибка: %{error_message}"
262
246
 
263
- #: ../app/controllers/discovered_hosts_controller.rb:128
247
+ #: ../app/controllers/discovered_hosts_controller.rb:131
264
248
  msgid "Failed to reboot hosts with error %s"
265
249
  msgstr "Не удалось перезагрузить узлы. Ошибка: %s"
266
250
 
267
- #: ../app/controllers/discovered_hosts_controller.rb:140
251
+ #: ../app/controllers/discovered_hosts_controller.rb:149
268
252
  msgid "Destroyed selected hosts"
269
253
  msgstr "Узлы удалены"
270
254
 
271
- #: ../app/controllers/discovered_hosts_controller.rb:142
255
+ #: ../app/controllers/discovered_hosts_controller.rb:151
272
256
  msgid "The following hosts were not deleted: %s"
273
257
  msgstr "Узлы не были удалены: %s"
274
258
 
275
- #: ../app/controllers/discovered_hosts_controller.rb:154
259
+ #: ../app/controllers/discovered_hosts_controller.rb:163
276
260
  msgid "Failed to auto provision host %s: %s"
277
261
  msgstr "Не удалось автоматически подготовить узел %s: %s"
278
262
 
279
- #: ../app/controllers/discovered_hosts_controller.rb:182
263
+ #: ../app/controllers/discovered_hosts_controller.rb:191
280
264
  msgid "Discovered hosts are provisioning now"
281
265
  msgstr "Выполняется подготовка обнаруженных узлов"
282
266
 
283
- #: ../app/controllers/discovered_hosts_controller.rb:214
267
+ #: ../app/controllers/discovered_hosts_controller.rb:223
284
268
  msgid "Highlights"
285
269
  msgstr "Основные"
286
270
 
287
- #: ../app/controllers/discovered_hosts_controller.rb:214
271
+ #: ../app/controllers/discovered_hosts_controller.rb:223
288
272
  msgid "Storage"
289
273
  msgstr "Хранение данных"
290
274
 
291
- #: ../app/controllers/discovered_hosts_controller.rb:214
275
+ #: ../app/controllers/discovered_hosts_controller.rb:223
292
276
  msgid "Hardware"
293
277
  msgstr "Физическое"
294
278
 
295
- #: ../app/controllers/discovered_hosts_controller.rb:214
279
+ #: ../app/controllers/discovered_hosts_controller.rb:223
296
280
  msgid "Network"
297
281
  msgstr "Сеть"
298
282
 
299
- #: ../app/controllers/discovered_hosts_controller.rb:214
283
+ #: ../app/controllers/discovered_hosts_controller.rb:223
300
284
  msgid "Software"
301
285
  msgstr "Программы"
302
286
 
303
- #: ../app/controllers/discovered_hosts_controller.rb:214
287
+ #: ../app/controllers/discovered_hosts_controller.rb:223
304
288
  msgid "IPMI"
305
289
  msgstr "IPMI"
306
290
 
307
- #: ../app/controllers/discovered_hosts_controller.rb:214
291
+ #: ../app/controllers/discovered_hosts_controller.rb:223
308
292
  msgid "Miscellaneous"
309
293
  msgstr "Дополнительно"
310
294
 
311
- #: ../app/controllers/discovered_hosts_controller.rb:291
295
+ #: ../app/controllers/discovered_hosts_controller.rb:301
312
296
  msgid "No hosts were found with that id or name"
313
297
  msgstr "Нет узла с таким идентификатором или именем"
314
298
 
315
- #: ../app/controllers/discovered_hosts_controller.rb:295
299
+ #: ../app/controllers/discovered_hosts_controller.rb:305
316
300
  msgid "No hosts selected"
317
301
  msgstr "Не выбран узел"
318
302
 
319
- #: ../app/controllers/discovered_hosts_controller.rb:301
303
+ #: ../app/controllers/discovered_hosts_controller.rb:311
320
304
  msgid "Something went wrong while selecting hosts - %s"
321
305
  msgstr "Непредвиденное поведение при выборе узлов: %s"
322
306
 
@@ -332,19 +316,15 @@ msgstr "Правило отключено"
332
316
  msgid "%s ago"
333
317
  msgstr "%s назад"
334
318
 
335
- #: ../app/helpers/discovered_hosts_helper.rb:14
336
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:46
319
+ #: ../app/helpers/discovered_hosts_helper.rb:14 ../app/helpers/discovered_hosts_helper.rb:29 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:46
337
320
  msgid "Auto Provision"
338
321
  msgstr "Автоматическая подготовка"
339
322
 
340
- #: ../app/helpers/discovered_hosts_helper.rb:15
341
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:47
323
+ #: ../app/helpers/discovered_hosts_helper.rb:15 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:47
342
324
  msgid "Refresh facts"
343
325
  msgstr "Обновить факты"
344
326
 
345
- #: ../app/helpers/discovered_hosts_helper.rb:16
346
- #: ../app/models/setting/discovered.rb:23
347
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:48
327
+ #: ../app/helpers/discovered_hosts_helper.rb:16 ../app/helpers/discovered_hosts_helper.rb:30 ../app/models/setting/discovered.rb:23 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:48
348
328
  msgid "Reboot"
349
329
  msgstr "Перезагрузить"
350
330
 
@@ -352,62 +332,51 @@ msgstr "Перезагрузить"
352
332
  msgid "Back"
353
333
  msgstr "Назад"
354
334
 
355
- #: ../app/helpers/discovered_hosts_helper.rb:21
356
- #: ../app/helpers/discovered_hosts_helper.rb:37
335
+ #: ../app/helpers/discovered_hosts_helper.rb:21 ../app/helpers/discovered_hosts_helper.rb:35
357
336
  msgid "Select Action"
358
337
  msgstr "Действия"
359
338
 
360
- #: ../app/helpers/discovered_hosts_helper.rb:23
361
- msgid "Expand All"
362
- msgstr "Развернуть все"
363
-
364
- #: ../app/helpers/discovered_hosts_helper.rb:27
365
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:49
339
+ #: ../app/helpers/discovered_hosts_helper.rb:23 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:49
366
340
  msgid "Delete %s?"
367
341
  msgstr "Удалить %s?"
368
342
 
369
- #: ../app/helpers/discovered_hosts_helper.rb:33
370
- msgid "Delete hosts"
371
- msgstr "Удалить узлы"
372
-
373
- #: ../app/helpers/discovered_hosts_helper.rb:34
343
+ #: ../app/helpers/discovered_hosts_helper.rb:31
374
344
  msgid "Assign Organization"
375
345
  msgstr "Назначить организацию"
376
346
 
377
- #: ../app/helpers/discovered_hosts_helper.rb:35
347
+ #: ../app/helpers/discovered_hosts_helper.rb:32
378
348
  msgid "Assign Location"
379
349
  msgstr "Выбрать местоположение"
380
350
 
381
- #: ../app/helpers/discovered_hosts_helper.rb:39
351
+ #: ../app/helpers/discovered_hosts_helper.rb:33
352
+ msgid "Delete"
353
+ msgstr ""
354
+
355
+ #: ../app/helpers/discovered_hosts_helper.rb:37
382
356
  msgid "%s - The following hosts are about to be changed"
383
357
  msgstr "%s — узлы будут изменены"
384
358
 
385
- #: ../app/helpers/discovered_hosts_helper.rb:48
386
- #: ../app/views/dashboard/_discovery_widget_host.html.erb:2
359
+ #: ../app/helpers/discovered_hosts_helper.rb:46 ../app/views/dashboard/_discovery_widget_host.html.erb:2
387
360
  msgid "N/A"
388
361
  msgstr "нет"
389
362
 
390
- #: ../app/helpers/discovered_hosts_helper.rb:60
363
+ #: ../app/helpers/discovered_hosts_helper.rb:58
391
364
  msgid "New in the last 24 hours"
392
365
  msgstr "Новое за последние 24 часа"
393
366
 
394
- #: ../app/helpers/discovered_hosts_helper.rb:64
367
+ #: ../app/helpers/discovered_hosts_helper.rb:62
395
368
  msgid "Not reported in more than 7 days"
396
369
  msgstr "Не было данных за последние 7 дней"
397
370
 
398
- #: ../app/helpers/discovered_hosts_helper.rb:68
371
+ #: ../app/helpers/discovered_hosts_helper.rb:66
399
372
  msgid "Reported in the last 7 days"
400
373
  msgstr "Были данные за последние 7 дней"
401
374
 
402
- #: ../app/helpers/discovered_hosts_helper.rb:92
375
+ #: ../app/helpers/discovered_hosts_helper.rb:90
403
376
  msgid "Provision"
404
377
  msgstr "Подготовить"
405
378
 
406
- #: ../app/helpers/discovery_rules_helper.rb:26
407
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:2
408
- #: ../app/views/discovered_hosts/welcome.html.erb:1
409
- #: ../app/views/discovered_hosts/welcome.html.erb:6
410
- #: ../lib/foreman_discovery/engine.rb:166
379
+ #: ../app/helpers/discovery_rules_helper.rb:26 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:2 ../app/views/discovered_hosts/welcome.html.erb:1 ../app/views/discovered_hosts/welcome.html.erb:6 ../lib/foreman_discovery/engine.rb:173
411
380
  msgid "Discovered Hosts"
412
381
  msgstr "Обнаруженные узлы"
413
382
 
@@ -443,70 +412,63 @@ msgstr "Необходимо указать пользователя с акти
443
412
  msgid "Discovered hosts summary"
444
413
  msgstr "Сводка обнаруженных узлов"
445
414
 
446
- #: ../app/models/discovery_rule.rb:9
415
+ #: ../app/models/discovery_rule.rb:10
447
416
  msgid "can't contain white spaces."
448
417
  msgstr "не может содержать пробелов"
449
418
 
450
- #: ../app/models/discovery_rule.rb:11
419
+ #: ../app/models/discovery_rule.rb:12
451
420
  msgid "must start with a letter or ERB."
452
421
  msgstr "должен начинаться с буквы или ERB"
453
422
 
454
- #: ../app/models/discovery_rule.rb:45
455
- msgid ""
456
- "Host group organization %s must also be associated to the discovery rule"
457
- msgid_plural ""
458
- "Host group organizations %s must also be associated to the discovery rule"
423
+ #: ../app/models/discovery_rule.rb:15
424
+ msgid "must be present."
425
+ msgstr ""
426
+
427
+ #: ../app/models/discovery_rule.rb:48
428
+ msgid "Host group organization %s must also be associated to the discovery rule"
429
+ msgid_plural "Host group organizations %s must also be associated to the discovery rule"
459
430
  msgstr[0] "С правилом также необходимо связать организацию группы узлов, %s"
460
431
  msgstr[1] "С правилом также необходимо связать организации группы узлов: %s"
461
432
  msgstr[2] "С правилом также необходимо связать организации группы узлов: %s"
462
433
  msgstr[3] "С правилом также необходимо связать организации группы узлов: %s"
463
434
 
464
- #: ../app/models/discovery_rule.rb:51
435
+ #: ../app/models/discovery_rule.rb:54
465
436
  msgid "Host group location %s must also be associated to the discovery rule"
466
- msgid_plural ""
467
- "Host group locations %s must also be associated to the discovery rule"
437
+ msgid_plural "Host group locations %s must also be associated to the discovery rule"
468
438
  msgstr[0] "С правилом также необходимо связать местоположение группы узлов, %s"
469
439
  msgstr[1] "С правилом также необходимо связать местоположения групп узлов: %s"
470
440
  msgstr[2] "С правилом также необходимо связать местоположения групп узлов: %s"
471
441
  msgstr[3] "С правилом также необходимо связать местоположения групп узлов: %s"
472
442
 
473
- #: ../app/models/host/discovered.rb:37
443
+ #: ../app/models/host/discovered.rb:51
474
444
  msgid "Invalid facts, must be a Hash"
475
445
  msgstr "Недопустимый формат фактов: ожидаются переменные и их значения"
476
446
 
477
- #: ../app/models/host/discovered.rb:42
478
- msgid ""
479
- "Expected discovery_fact '%s' is missing, unable to detect primary interface "
480
- "and set hostname"
447
+ #: ../app/models/host/discovered.rb:56
448
+ msgid "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
481
449
  msgstr "Отсутствует факт «%s»: невозможно определить основной интерфейс и имя узла"
482
450
 
483
- #: ../app/models/host/discovered.rb:49
484
- msgid ""
485
- "Invalid facts: hash does not contain a valid value for any of the facts in "
486
- "the discovery_hostname setting: %s"
451
+ #: ../app/models/host/discovered.rb:63
452
+ msgid "Invalid facts: hash does not contain a valid value for any of the facts in the discovery_hostname setting: %s"
487
453
  msgstr "Недействительные факты: строка не содержит ни одного действительного значения фактов в соответствии с заданным в discovery_hostname: %s"
488
454
 
489
- #: ../app/models/host/discovered.rb:66
455
+ #: ../app/models/host/discovered.rb:89
490
456
  msgid "Facts could not be imported"
491
457
  msgstr ""
492
458
 
493
- #: ../app/models/host/discovered.rb:133
494
- msgid "Unable to assign subnet, primary interface is missing IP address"
495
- msgstr "Не удалось выбрать подсеть: не определен IP-адрес основного интерфейса"
496
-
497
- #: ../app/models/host/discovered.rb:190
459
+ #: ../app/models/host/discovered.rb:212
498
460
  msgid "Could not get facts from proxy %{url}: %{error}"
499
461
  msgstr "Не удалось получить факты с %{url}: %{error}"
500
462
 
501
- #: ../app/models/host/discovered.rb:198
463
+ #: ../app/models/host/discovered.rb:220
502
464
  msgid "Unable to reboot %{name} via %{url}: %{msg}"
503
465
  msgstr "Не удалось перезагрузить %{name} с %{url}: %{msg}"
504
466
 
505
- #: ../app/models/host/discovered.rb:206
467
+ #: ../app/models/host/discovered.rb:228
506
468
  msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
507
469
  msgstr "Не удалось выполнить kexec на %{name} с %{url}: %{msg}"
508
470
 
509
- #: ../app/models/host/discovered.rb:225
471
+ #: ../app/models/host/discovered.rb:247
510
472
  msgid "Invalid hostname: Could not normalize the hostname"
511
473
  msgstr "Не удалось нормализовать имя узла"
512
474
 
@@ -559,9 +521,7 @@ msgid "Hostname facts"
559
521
  msgstr ""
560
522
 
561
523
  #: ../app/models/setting/discovered.rb:22
562
- msgid ""
563
- "Automatically provision newly discovered hosts, according to the "
564
- "provisioning rules"
524
+ msgid "Automatically provision newly discovered hosts, according to the provisioning rules"
565
525
  msgstr "Автоматически подготовить обнаруженные узлы в соответствии с заранее определенными правилами"
566
526
 
567
527
  #: ../app/models/setting/discovered.rb:22
@@ -637,9 +597,7 @@ msgid "IPMI facts"
637
597
  msgstr ""
638
598
 
639
599
  #: ../app/models/setting/discovered.rb:32
640
- msgid ""
641
- "Automatically generate PXE configuration to pin a newly discovered host to "
642
- "discovery"
600
+ msgid "Automatically generate PXE configuration to pin a newly discovered host to discovery"
643
601
  msgstr ""
644
602
 
645
603
  #: ../app/models/setting/discovered.rb:32
@@ -678,27 +636,41 @@ msgstr ""
678
636
  msgid "Force DNS"
679
637
  msgstr ""
680
638
 
681
- #: ../app/models/setting/discovered.rb:43
639
+ #: ../app/models/setting/discovered.rb:37
640
+ msgid "Do not allow to discover existing managed host matching MAC of a provisioning NIC (errors out early)"
641
+ msgstr ""
642
+
643
+ #: ../app/models/setting/discovered.rb:37
644
+ msgid "Error on existing NIC"
645
+ msgstr ""
646
+
647
+ #: ../app/models/setting/discovered.rb:44
682
648
  msgid "The default location to place discovered hosts in"
683
649
  msgstr "Местоположение для обнаруженных узлов по умолчанию"
684
650
 
685
- #: ../app/models/setting/discovered.rb:43
651
+ #: ../app/models/setting/discovered.rb:44
686
652
  msgid "Discovery location"
687
653
  msgstr ""
688
654
 
689
- #: ../app/models/setting/discovered.rb:51
655
+ #: ../app/models/setting/discovered.rb:52
690
656
  msgid "The default organization to place discovered hosts in"
691
657
  msgstr "Организация для обнаруженных узлов по умолчанию"
692
658
 
693
- #: ../app/models/setting/discovered.rb:51
659
+ #: ../app/models/setting/discovered.rb:52
694
660
  msgid "Discovery organization"
695
661
  msgstr ""
696
662
 
697
- #: ../app/services/foreman_discovery/fact_parser.rb:9
698
- msgid ""
699
- "Unable to detect primary interface using MAC '%{mac}' specified by "
700
- "discovery_fact '%{fact}'"
701
- msgstr "Не удалось обнаружить основной интерфейс с MAC-адресом %{mac}, полученным из факта «%{fact}»"
663
+ #: ../app/services/foreman_discovery/fact_parser.rb:4
664
+ msgid "Discovery fact parser does not work with non-discovery host '%{host}'"
665
+ msgstr ""
666
+
667
+ #: ../app/services/foreman_discovery/fact_parser.rb:6
668
+ msgid "Discovered host '%{host}' has all NICs filtered out, filter: %{filter}"
669
+ msgstr ""
670
+
671
+ #: ../app/services/foreman_discovery/fact_parser.rb:12
672
+ msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
673
+ msgstr ""
702
674
 
703
675
  #: ../app/services/foreman_discovery/node_api/node_resource.rb:75
704
676
  msgid "Image API returned HTTP/%{code} with '%{body}"
@@ -716,25 +688,15 @@ msgstr "Нет обнаруженных узлов"
716
688
  msgid "Host"
717
689
  msgstr "Узел"
718
690
 
719
- #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:4
720
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:7
721
- #: ../app/views/discovered_hosts/_selected_hosts.html.erb:8
722
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:18
723
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:10
691
+ #: ../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
724
692
  msgid "Model"
725
693
  msgstr "Модель"
726
694
 
727
- #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:5
728
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:9
729
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:20
730
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:12
695
+ #: ../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
731
696
  msgid "CPUs"
732
697
  msgstr "Процессоры"
733
698
 
734
- #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:6
735
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:10
736
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:21
737
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:13
699
+ #: ../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
738
700
  msgid "Memory"
739
701
  msgstr "Память"
740
702
 
@@ -754,16 +716,11 @@ msgstr "Выбрать все элементы на странице"
754
716
  msgid "items selected. Uncheck to Clear"
755
717
  msgstr "выбрано. Чтобы очистить, снимите флажок"
756
718
 
757
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:6
758
- #: ../app/views/discovered_hosts/_selected_hosts.html.erb:7
759
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:17
760
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:9
719
+ #: ../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
761
720
  msgid "Name"
762
721
  msgstr "Имя"
763
722
 
764
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:8
765
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:19
766
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:11
723
+ #: ../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
767
724
  msgid "IP Address"
768
725
  msgstr "IP"
769
726
 
@@ -775,13 +732,11 @@ msgstr ""
775
732
  msgid "Disks Size"
776
733
  msgstr ""
777
734
 
778
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17
779
- #: ../app/views/discovered_hosts/_selected_hosts.html.erb:10
735
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17 ../app/views/discovered_hosts/_selected_hosts.html.erb:10
780
736
  msgid "Location"
781
737
  msgstr "Местоположение"
782
738
 
783
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:20
784
- #: ../app/views/discovered_hosts/_selected_hosts.html.erb:13
739
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:20 ../app/views/discovered_hosts/_selected_hosts.html.erb:13
785
740
  msgid "Organization"
786
741
  msgstr "Организация"
787
742
 
@@ -809,18 +764,8 @@ msgstr "Подтвердить"
809
764
  msgid "Provision %s"
810
765
  msgstr ""
811
766
 
812
- #: ../app/views/discovered_hosts/index.html.erb:2
813
- msgid "Reboot All"
814
- msgstr "Перезагрузить все"
815
-
816
- #: ../app/views/discovered_hosts/index.html.erb:3
817
- msgid "Auto Provision All"
818
- msgstr "Автоматически подготовить все"
819
-
820
767
  #: ../app/views/discovered_hosts/multiple_destroy.html.erb:3
821
- msgid ""
822
- "This might take a while, as all hosts, facts and reports will be destroyed "
823
- "as well"
768
+ msgid "This might take a while, as all hosts, facts and reports will be destroyed as well"
824
769
  msgstr "Это может занять некоторое время, так как в ходе выполнения будут удалены узлы, статистика и все отчеты"
825
770
 
826
771
  #: ../app/views/discovered_hosts/select_multiple_location.html.erb:5
@@ -835,34 +780,36 @@ msgstr "Выберите организацию"
835
780
  msgid "Discovered host: %s"
836
781
  msgstr "Обнаружен узел: %s"
837
782
 
838
- #: ../app/views/discovered_hosts/show.html.erb:34
783
+ #: ../app/views/discovered_hosts/show.html.erb:37
839
784
  msgid "Interfaces"
840
785
  msgstr "Интерфейсы"
841
786
 
842
- #: ../app/views/discovered_hosts/show.html.erb:41
787
+ #: ../app/views/discovered_hosts/show.html.erb:44
843
788
  msgid "Type"
844
789
  msgstr "Тип"
845
790
 
846
- #: ../app/views/discovered_hosts/show.html.erb:42
791
+ #: ../app/views/discovered_hosts/show.html.erb:45
847
792
  msgid "Identifier"
848
793
  msgstr "Идентификатор"
849
794
 
850
- #: ../app/views/discovered_hosts/show.html.erb:43
795
+ #: ../app/views/discovered_hosts/show.html.erb:46
851
796
  msgid "MAC address"
852
797
  msgstr "MAC-адрес"
853
798
 
854
- #: ../app/views/discovered_hosts/show.html.erb:44
799
+ #: ../app/views/discovered_hosts/show.html.erb:47
855
800
  msgid "IP address"
856
801
  msgstr "IP-адрес"
857
802
 
803
+ #: ../app/views/discovered_hosts/show.html.erb:66
804
+ msgid "Collapse All"
805
+ msgstr ""
806
+
858
807
  #: ../app/views/discovered_hosts/welcome.html.erb:7
859
808
  msgid "No discovered hosts found in this context."
860
809
  msgstr ""
861
810
 
862
811
  #: ../app/views/discovered_hosts/welcome.html.erb:8
863
- msgid ""
864
- "This page shows discovered bare-metal or virtual nodes waiting to be "
865
- "provisioned."
812
+ msgid "This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
866
813
  msgstr ""
867
814
 
868
815
  #: ../app/views/discovered_hosts/welcome.html.erb:9
@@ -877,23 +824,19 @@ msgstr "Сводный отчет Foreman по обнаруженным узла
877
824
  msgid "<b>Foreman</b> Discovered hosts summary"
878
825
  msgstr "Сводка обнаруженных узлов от <b>Foreman</b>"
879
826
 
880
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:10
881
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:5
827
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:10 ../app/views/discovered_mailer/discovered_summary.text.erb:5
882
828
  msgid "Summary from %{time} ago to %{now}"
883
829
  msgstr "Сводка за %{time} — %{now}"
884
830
 
885
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:11
886
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:3
831
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:11 ../app/views/discovered_mailer/discovered_summary.text.erb:3
887
832
  msgid "Discovered hosts from Foreman server at %{foreman_url}"
888
833
  msgstr "Узлы, обнаруженные сервером Foreman %{foreman_url}"
889
834
 
890
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:22
891
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:14
835
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:22 ../app/views/discovered_mailer/discovered_summary.text.erb:14
892
836
  msgid "Disk count"
893
837
  msgstr "Количество дисков"
894
838
 
895
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:23
896
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:15
839
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:23 ../app/views/discovered_mailer/discovered_summary.text.erb:15
897
840
  msgid "Disks size"
898
841
  msgstr "Размер диска"
899
842
 
@@ -942,38 +885,28 @@ msgid "Rule priority (lower integer means higher priority)"
942
885
  msgstr "Приоритет (чем ниже число, тем выше приоритет)"
943
886
 
944
887
  #: ../app/views/discovery_rules/_template_inline.erb:2
945
- msgid ""
946
- "Specify target hostname template pattern in the same syntax as in "
947
- "Provisioning Templates (ERB)."
888
+ msgid "Specify target hostname template pattern in the same syntax as in Provisioning Templates (ERB)."
948
889
  msgstr "Определите шаблон для узла, используя синтаксис, аналогичный используемому в подготовительных шаблонах (ERB)."
949
890
 
950
891
  #: ../app/views/discovery_rules/_template_inline.erb:4
951
- msgid ""
952
- "Domain will be appended automatically. A hostname based on MAC address will "
953
- "be used when left blank."
892
+ msgid "Domain will be appended automatically. A hostname based on MAC address will be used when left blank."
954
893
  msgstr ""
955
894
 
956
895
  #: ../app/views/discovery_rules/_template_inline.erb:5
957
- msgid ""
958
- "In addition to @host attribute function rand for random integers is "
959
- "available. Examples:"
896
+ msgid "In addition to @host attribute function rand for random integers is available. Examples:"
960
897
  msgstr ""
961
898
 
962
899
  #: ../app/views/discovery_rules/_template_inline.erb:8
963
- msgid ""
964
- "When creating hostname patterns, make sure the resulting host names are "
965
- "unique."
900
+ msgid "When creating hostname patterns, make sure the resulting host names are unique."
966
901
  msgstr ""
967
902
 
968
903
  #: ../app/views/discovery_rules/_template_inline.erb:9
969
- msgid ""
970
- "Hostnames must not start with numbers. A good approach is to use unique "
971
- "information provided by facter (MAC address, BIOS or serial ID)."
904
+ msgid "Hostnames must not start with numbers. A good approach is to use unique information provided by facter (MAC address, BIOS or serial ID)."
972
905
  msgstr ""
973
906
 
974
907
  #: ../app/views/discovery_rules/edit.html.erb:1
975
- msgid "Edit Discovery Rule"
976
- msgstr "Изменить правило"
908
+ msgid "Edit %s"
909
+ msgstr ""
977
910
 
978
911
  #: ../app/views/discovery_rules/index.html.erb:1
979
912
  msgid "Discovery Rules"
@@ -1027,30 +960,26 @@ msgstr ""
1027
960
  msgid "Details"
1028
961
  msgstr "Свойства"
1029
962
 
1030
- #: ../lib/foreman_discovery/engine.rb:151
963
+ #: ../lib/foreman_discovery/engine.rb:158
1031
964
  msgid "Discovered hosts"
1032
965
  msgstr "Обнаруженные узлы"
1033
966
 
1034
- #: ../lib/foreman_discovery/engine.rb:156
967
+ #: ../lib/foreman_discovery/engine.rb:163
1035
968
  msgid "Discovery rules"
1036
969
  msgstr "Правила обнаружения"
1037
970
 
1038
- #: ../lib/foreman_discovery/engine.rb:172
971
+ #: ../lib/foreman_discovery/engine.rb:179
1039
972
  msgid "Discovery Kexec template"
1040
973
  msgstr ""
1041
974
 
1042
- #: ../lib/foreman_discovery/engine.rb:181
975
+ #: ../lib/foreman_discovery/engine.rb:188
1043
976
  msgid "Discovery Proxy"
1044
977
  msgstr ""
1045
978
 
1046
- #: ../lib/foreman_discovery/engine.rb:182
1047
- msgid ""
1048
- "Discovery Proxy to use within this subnet for managing connection to "
1049
- "discovered hosts"
979
+ #: ../lib/foreman_discovery/engine.rb:189
980
+ msgid "Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1050
981
  msgstr ""
1051
982
 
1052
- #: ../lib/foreman_discovery/engine.rb:183
1053
- msgid ""
1054
- "ID of Discovery Proxy to use within this subnet for managing connection to "
1055
- "discovered hosts"
983
+ #: ../lib/foreman_discovery/engine.rb:190
984
+ msgid "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1056
985
  msgstr ""