foreman_discovery 5.0.0 → 5.0.1

Sign up to get free protection for your applications and to get access to all the features.
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,780 @@
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
+ # Dominic Cleal <dominic@cleal.org>, 2014
7
+ # Junior Alvim <alvin@intechne.com.br>, 2014
8
+ # luizvasconcelos <luizvasconceloss@yahoo.com.br>, 2014
9
+ # luizvasconcelos <luizvasconceloss@yahoo.com.br>, 2014-2015
10
+ # Valeria S Silva <valeriassilva@live.com>, 2015
11
+ msgid ""
12
+ msgstr ""
13
+ "Project-Id-Version: Foreman\n"
14
+ "Report-Msgid-Bugs-To: foreman-dev@googlegroups.com\n"
15
+ "PO-Revision-Date: 2015-12-03 23:08+0000\n"
16
+ "Last-Translator: Valeria S Silva <valeriassilva@live.com>\n"
17
+ "Language-Team: Portuguese (Brazil) (http://www.transifex.com/foreman/foreman/l"
18
+ "anguage/pt_BR/)\n"
19
+ "MIME-Version: 1.0\n"
20
+ "Content-Type: text/plain; charset=UTF-8\n"
21
+ "Content-Transfer-Encoding: 8bit\n"
22
+ "Language: pt_BR\n"
23
+ "Plural-Forms: nplurals=2; plural=(n > 1);\n"
24
+
25
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:15
26
+ msgid "List all discovered hosts"
27
+ msgstr "Listar de todos os hosts descobertos"
28
+
29
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:16 ../app/controllers/api/v2/discovery_rules_controller.rb:14
30
+ msgid "filter results"
31
+ msgstr "filtrar resultados"
32
+
33
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:17 ../app/controllers/api/v2/discovery_rules_controller.rb:15
34
+ msgid "sort results"
35
+ msgstr "definir resultados."
36
+
37
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:18 ../app/controllers/api/v2/discovery_rules_controller.rb:16
38
+ msgid "paginate results"
39
+ msgstr "paginar resultados"
40
+
41
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:19 ../app/controllers/api/v2/discovery_rules_controller.rb:17
42
+ msgid "number of entries per request"
43
+ msgstr "número de entradas por requisição"
44
+
45
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:25
46
+ msgid "Show a discovered host"
47
+ msgstr "Exibir um host descoberto"
48
+
49
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:39
50
+ msgid "Create a discovered host for testing (use /facts to create new hosts)"
51
+ msgstr "Criar um host descoberto para o teste (uso / fatos para criar novos hospedeiros )"
52
+
53
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:47
54
+ msgid "Provision a discovered host"
55
+ msgstr "Provisão de um host descoberto"
56
+
57
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:52
58
+ msgid "not required if using a subnet with DHCP proxy"
59
+ msgstr "não é necessário se utilizar uma subrede com o proxy DHCP"
60
+
61
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:53
62
+ msgid "not required if it's a virtual machine"
63
+ msgstr "não é necessário se for uma máquina virtual."
64
+
65
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:73
66
+ msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
67
+ msgstr "UUID a rastrear o status de tarefas de orquestração, GET /api/orchestration/:UUID/tasks"
68
+
69
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:75
70
+ msgid "required if value is not inherited from host group or default password in settings"
71
+ msgstr "requerido se valor não for herdado de um grupo de host ou senha padrão em configurações."
72
+
73
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:85
74
+ msgid "Delete a discovered host"
75
+ msgstr "Remova um host de descoberta"
76
+
77
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:92
78
+ msgid "Upload facts for a host, creating the host if required"
79
+ msgstr "Carregar fatos para um host, criando o host se necessário"
80
+
81
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:93
82
+ 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)"
83
+ msgstr "hash contendo fatos para o host com o conjunto mínimo de fatos : discovery_bootif , macaddress_eth0 , ipaddress , ipaddress_eth0 , interfaces: eth0 ( exemplo em caso de interface primária é nomeado como eth0 )"
84
+
85
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:112
86
+ msgid "Execute rules against a discovered host"
87
+ msgstr "Executar regras nos hosts descobertos"
88
+
89
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:118 ../app/controllers/discovered_hosts_controller.rb:147
90
+ msgid "Host %{host} was provisioned with rule %{rule}"
91
+ msgstr "Host %{host} recebeu a regra %{rule}"
92
+
93
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:121
94
+ msgid "Unable to provision %{host}: %{errors}"
95
+ msgstr "Incapazes de prover % {host }: % { } erros"
96
+
97
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:127 ../app/controllers/discovered_hosts_controller.rb:154
98
+ msgid "No rule found for host %s"
99
+ msgstr "Nenhuma regra encontrada para o host %s"
100
+
101
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:134
102
+ msgid "Execute rules against all currently discovered hosts"
103
+ msgstr "Executar regras em todos os hosts descobertos atualmente"
104
+
105
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:138 ../app/controllers/discovered_hosts_controller.rb:160
106
+ msgid "Errors during auto provisioning: %s"
107
+ msgstr "Erros durante o auto provisionamento: %s"
108
+
109
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:141 ../app/controllers/discovered_hosts_controller.rb:163
110
+ msgid "No discovered hosts to provision"
111
+ msgstr "Nenhum host descoberto para fornecer"
112
+
113
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:163
114
+ msgid "%s discovered hosts were provisioned"
115
+ msgstr "%s hosts descobertas foram provisionados"
116
+
117
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:174
118
+ msgid "Refreshing the facts of a discovered host"
119
+ msgstr "atualizando fatos de um host descoberto"
120
+
121
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:183
122
+ msgid "Rebooting a discovered host"
123
+ msgstr "Reinicializando um host descoberto"
124
+
125
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:192
126
+ msgid "Rebooting all discovered hosts"
127
+ msgstr "Reiniciar todos os hosts descobertos"
128
+
129
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:203 ../app/controllers/discovered_hosts_controller.rb:105
130
+ msgid "Discovered hosts are rebooting now"
131
+ msgstr "Hosts descobertos serão reiniciados agora"
132
+
133
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:13
134
+ msgid "List all discovery rules"
135
+ msgstr "Listar todas as regras descobertas"
136
+
137
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:23
138
+ msgid "Show a discovery rule"
139
+ msgstr "Exibir uma regra descoberta"
140
+
141
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:31
142
+ msgid "represents rule name shown to the users"
143
+ msgstr "representa nome de regra mostrado para os usuários"
144
+
145
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:32
146
+ msgid "query to match discovered hosts for the particular rule"
147
+ msgstr "consulta para corresponder host descobertos para a regra especial"
148
+
149
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:33
150
+ msgid "the hostgroup that is used to auto provision a host"
151
+ msgstr "grupo host é utilizado para auto fornecer uma série"
152
+
153
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:34
154
+ msgid "defines a pattern to assign human-readable hostnames to the matching hosts"
155
+ msgstr "define um padrão para atribuir nomes de host legíveis para os hosts correspondentes"
156
+
157
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:35
158
+ msgid "enables to limit maximum amount of provisioned hosts per rule"
159
+ msgstr "permite limitar montante máximo de hosts provisionados por regra"
160
+
161
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:36
162
+ msgid "puts the rules in order, low numbers go first. Must be greater then zero"
163
+ msgstr "colocar as regras em ordem, números baixos irão primeiro. Deve ser maior que zero"
164
+
165
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:37
166
+ msgid "flag is used for temporary shutdown of rules"
167
+ msgstr "sinalizador é usado para o desligamento temporário de regras"
168
+
169
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:41
170
+ msgid "Create a discovery rule"
171
+ msgstr "Criar uma regra de descoberta"
172
+
173
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:49
174
+ msgid "Update a rule"
175
+ msgstr "Atualizar uma regra"
176
+
177
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:57
178
+ msgid "Delete a rule"
179
+ msgstr "Remover uma regra"
180
+
181
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:6
182
+ msgid "Unable to find a discovery rule, no host provided (check permissions)"
183
+ msgstr "Incapaz de encontrar uma regra descoberta , nenhum host fornecido (verifique as permissões)"
184
+
185
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:47
186
+ msgid "No hostgroup associated with rule '%s'"
187
+ msgstr ""
188
+
189
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:63
190
+ msgid "Errors during reboot: %s"
191
+ msgstr "Erros durante a reinicialização: %s"
192
+
193
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:81
194
+ msgid "No discovered hosts to reboot"
195
+ msgstr "Hosts não descobertos na reinicialização"
196
+
197
+ #: ../app/controllers/discovered_hosts_controller.rb:73
198
+ msgid "Facts refreshed for %s"
199
+ msgstr "Fatos atualizados para %s"
200
+
201
+ #: ../app/controllers/discovered_hosts_controller.rb:75
202
+ msgid "Failed to refresh facts for %s"
203
+ msgstr "Falha ao atualizar fatos para %s"
204
+
205
+ #: ../app/controllers/discovered_hosts_controller.rb:78
206
+ msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
207
+ msgstr ""
208
+
209
+ #: ../app/controllers/discovered_hosts_controller.rb:85
210
+ msgid "Host of type %s can not be rebooted"
211
+ msgstr "Host do tipo %s pode ser reinicializado"
212
+
213
+ #: ../app/controllers/discovered_hosts_controller.rb:89
214
+ msgid "Rebooting host %s"
215
+ msgstr "Reiniciando host %s"
216
+
217
+ #: ../app/controllers/discovered_hosts_controller.rb:91
218
+ msgid "Failed to reboot host %s"
219
+ msgstr "Falha ao reiniciar host %s"
220
+
221
+ #: ../app/controllers/discovered_hosts_controller.rb:94
222
+ msgid "Failed to reboot host %{hostname} with error %{error_message}"
223
+ msgstr "Falha ao reiniciar o host %{hostname} com erro %{error_message}"
224
+
225
+ #: ../app/controllers/discovered_hosts_controller.rb:108
226
+ msgid "Failed to reboot hosts with error %s"
227
+ msgstr ""
228
+
229
+ #: ../app/controllers/discovered_hosts_controller.rb:122
230
+ msgid "Destroyed selected hosts"
231
+ msgstr "Hosts selecionados foram destruídos"
232
+
233
+ #: ../app/controllers/discovered_hosts_controller.rb:124
234
+ msgid "The following hosts were not deleted: %s"
235
+ msgstr "Os hosts a seguir não foram removidos: %s"
236
+
237
+ #: ../app/controllers/discovered_hosts_controller.rb:151
238
+ msgid "Failed to auto provision host %s: %s"
239
+ msgstr "Falha ao realizar o auto provisionamento do host %s: %s"
240
+
241
+ #: ../app/controllers/discovered_hosts_controller.rb:179
242
+ msgid "Discovered hosts are provisioning now"
243
+ msgstr "Hosts descobertos estão provisionando agora"
244
+
245
+ #: ../app/controllers/discovered_hosts_controller.rb:267
246
+ msgid "No hosts were found with that id or name"
247
+ msgstr "Nenhum host foi encontrado com o id ou nome"
248
+
249
+ #: ../app/controllers/discovered_hosts_controller.rb:271
250
+ msgid "No hosts selected"
251
+ msgstr "Não foi selecionado nenhum host"
252
+
253
+ #: ../app/controllers/discovered_hosts_controller.rb:277
254
+ msgid "Something went wrong while selecting hosts - %s"
255
+ msgstr "Ocorreu um erro ao selecionar hosts - %s"
256
+
257
+ #: ../app/controllers/discovery_rules_controller.rb:66
258
+ msgid "Rule disabled"
259
+ msgstr "Regra desabilitada"
260
+
261
+ #: ../app/controllers/discovery_rules_controller.rb:66
262
+ msgid "Rule enabled"
263
+ msgstr "Regra ativada"
264
+
265
+ #: ../app/helpers/discovered_hosts_helper.rb:11
266
+ msgid "%s ago"
267
+ msgstr "%s atrás"
268
+
269
+ #: ../app/helpers/discovered_hosts_helper.rb:15 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:42
270
+ msgid "Provision"
271
+ msgstr "Configuração"
272
+
273
+ #: ../app/helpers/discovered_hosts_helper.rb:16 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:43
274
+ msgid "Auto Provision"
275
+ msgstr "Provisão Automática"
276
+
277
+ #: ../app/helpers/discovered_hosts_helper.rb:17 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:44
278
+ msgid "Refresh facts"
279
+ msgstr "Atualizar fatos"
280
+
281
+ #: ../app/helpers/discovered_hosts_helper.rb:18 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:45
282
+ msgid "Reboot"
283
+ msgstr "Reiniciar"
284
+
285
+ #: ../app/helpers/discovered_hosts_helper.rb:21
286
+ msgid "Back"
287
+ msgstr ""
288
+
289
+ #: ../app/helpers/discovered_hosts_helper.rb:23 ../app/helpers/discovered_hosts_helper.rb:46
290
+ msgid "Select Action"
291
+ msgstr "Selecionar Ação"
292
+
293
+ #: ../app/helpers/discovered_hosts_helper.rb:30
294
+ msgid "Expand All"
295
+ msgstr ""
296
+
297
+ #: ../app/helpers/discovered_hosts_helper.rb:35
298
+ msgid "Delete"
299
+ msgstr "Remover"
300
+
301
+ #: ../app/helpers/discovered_hosts_helper.rb:36
302
+ msgid "Are you sure?"
303
+ msgstr "Você tem certeza?"
304
+
305
+ #: ../app/helpers/discovered_hosts_helper.rb:42
306
+ msgid "Delete hosts"
307
+ msgstr "Remover hosts"
308
+
309
+ #: ../app/helpers/discovered_hosts_helper.rb:43
310
+ msgid "Assign Organization"
311
+ msgstr "Atribuir Organização"
312
+
313
+ #: ../app/helpers/discovered_hosts_helper.rb:44
314
+ msgid "Assign Location"
315
+ msgstr "Atribuir Local"
316
+
317
+ #: ../app/helpers/discovered_hosts_helper.rb:48
318
+ msgid "%s - The following hosts are about to be changed"
319
+ msgstr "%s - Os hosts a seguir devem ser modificados em breve"
320
+
321
+ #: ../app/helpers/discovered_hosts_helper.rb:57
322
+ msgid "N/A"
323
+ msgstr "N/A"
324
+
325
+ #: ../app/helpers/discovered_hosts_helper.rb:69
326
+ msgid "New in the last 24 hours"
327
+ msgstr "Novo nas últimas 24 horas"
328
+
329
+ #: ../app/helpers/discovered_hosts_helper.rb:73
330
+ msgid "Not reported in more than 7 days"
331
+ msgstr "Não reportado em mais que 7 dias"
332
+
333
+ #: ../app/helpers/discovered_hosts_helper.rb:77
334
+ msgid "Reported in the last 7 days"
335
+ msgstr "Reportado nos últimos 7 dias"
336
+
337
+ #: ../app/helpers/discovery_rules_helper.rb:26
338
+ msgid "Discovered Hosts"
339
+ msgstr ""
340
+
341
+ #: ../app/helpers/discovery_rules_helper.rb:27
342
+ msgid "Associated Hosts"
343
+ msgstr ""
344
+
345
+ #: ../app/helpers/discovery_rules_helper.rb:29
346
+ msgid "Disable rule '%s'?"
347
+ msgstr ""
348
+
349
+ #: ../app/helpers/discovery_rules_helper.rb:29
350
+ msgid "Disable"
351
+ msgstr "Desabilitar"
352
+
353
+ #: ../app/helpers/discovery_rules_helper.rb:31
354
+ msgid "Enable"
355
+ msgstr "Habilitar"
356
+
357
+ #: ../app/helpers/discovery_rules_helper.rb:31
358
+ msgid "Enable rule '%s'?"
359
+ msgstr ""
360
+
361
+ #: ../app/helpers/discovery_rules_helper.rb:33
362
+ msgid "Delete rule '%s'?"
363
+ msgstr ""
364
+
365
+ #: ../app/mailers/discovered_mailer.rb:4
366
+ msgid "Must specify a user with email enabled"
367
+ msgstr ""
368
+
369
+ #: ../app/mailers/discovered_mailer.rb:15
370
+ msgid "Discovered hosts summary"
371
+ msgstr ""
372
+
373
+ #: ../app/models/discovery_rule.rb:11
374
+ msgid "can't contain white spaces."
375
+ msgstr "não foi possível conter espaços em branco."
376
+
377
+ #: ../app/models/discovery_rule.rb:13
378
+ msgid "must start with a letter or ERB."
379
+ msgstr "deve iniciar com uma letra ou ERB."
380
+
381
+ #: ../app/models/discovery_rule.rb:49
382
+ msgid "Host group organization %s must also be associated to the discovery rule"
383
+ msgid_plural "Host group organizations %s must also be associated to the discovery rule"
384
+ msgstr[0] "Organizações de grupos de host% s também deve ser associado à regra descoberta"
385
+ msgstr[1] "Organizações de grupos de host% s também deve ser associado à regra descoberta"
386
+
387
+ #: ../app/models/discovery_rule.rb:55
388
+ msgid "Host group location %s must also be associated to the discovery rule"
389
+ msgid_plural "Host group locations %s must also be associated to the discovery rule"
390
+ msgstr[0] "ocalização do grupo de hosts %s deverá também ser associado a regra descoberta"
391
+ msgstr[1] "localização de grupo de hosts %s deverá também ser associado a regra descoberta"
392
+
393
+ #: ../app/models/host/discovered.rb:34
394
+ msgid "Invalid facts, must be a Hash"
395
+ msgstr "Fatos inválidos, deve ser um Hash"
396
+
397
+ #: ../app/models/host/discovered.rb:39
398
+ msgid "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
399
+ msgstr "Esperada descoberta _fact '% s' está faltando, incapaz de detectar interface primária e definir o nome do host"
400
+
401
+ #: ../app/models/host/discovered.rb:46
402
+ msgid "Invalid facts: hash does not contain a valid value for any of the facts in the discovery_hostname setting: %s"
403
+ msgstr ""
404
+
405
+ #: ../app/models/host/discovered.rb:107
406
+ msgid "Unable to assign subnet, primary interface is missing IP address"
407
+ msgstr "Não é possível atribuir sub-rede , interface primária está faltando endereço de IP"
408
+
409
+ #: ../app/models/host/discovered.rb:149
410
+ msgid "Could not get facts from proxy %{url}: %{error}"
411
+ msgstr "Não foi possível obter fatos do proxy %{url}: %{error}"
412
+
413
+ #: ../app/models/host/discovered.rb:165
414
+ msgid "Unable to reboot %{name} via %{url}: %{msg}"
415
+ msgstr "Não é possível reiniciar % {name } via% {url} : { msg } %"
416
+
417
+ #: ../app/models/host/discovered.rb:173
418
+ msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
419
+ msgstr "Não é possível executar kexec em % {name } via% {url} : { msg } %"
420
+
421
+ #: ../app/models/host/discovered.rb:192
422
+ msgid "Invalid hostname: Could not normalize the hostname"
423
+ msgstr ""
424
+
425
+ #: ../app/models/host/managed_extensions.rb:24
426
+ msgid "Reloading kernel on %s"
427
+ msgstr "Recarregado kernel em %s"
428
+
429
+ #: ../app/models/host/managed_extensions.rb:26
430
+ msgid "Rebooting %s"
431
+ msgstr "Reinicializando %s"
432
+
433
+ #: ../app/models/host/managed_extensions.rb:45
434
+ msgid "Operating system not set for host/hostgroup"
435
+ msgstr ""
436
+
437
+ #: ../app/models/host/managed_extensions.rb:47
438
+ msgid "Medium not set for host/hostgroup"
439
+ msgstr ""
440
+
441
+ #: ../app/models/host/managed_extensions.rb:54
442
+ msgid "Kexec template not associated with operating system"
443
+ msgstr ""
444
+
445
+ #: ../app/models/setting/discovered.rb:19
446
+ msgid "Fact name to use for primary interface detection"
447
+ msgstr ""
448
+
449
+ #: ../app/models/setting/discovered.rb:20
450
+ msgid "List of facts to use for the hostname (separated by comma, first wins)"
451
+ msgstr ""
452
+
453
+ #: ../app/models/setting/discovered.rb:21
454
+ msgid "Automatically provision newly discovered hosts, according to the provisioning rules"
455
+ msgstr "Provisão automática descobriu hosts recentemente, de acordo com as regras de provisionamento"
456
+
457
+ #: ../app/models/setting/discovered.rb:22
458
+ msgid "Automatically reboot discovered host during provisioning"
459
+ msgstr "Reiniciar automaticamente descoberto host durante o aprovisionamento"
460
+
461
+ #: ../app/models/setting/discovered.rb:28
462
+ msgid "The default prefix to use for the host name, must start with a letter"
463
+ msgstr "O prefixo padrão a utilizar para o nome do host, deve iniciar com uma letra"
464
+
465
+ #: ../app/models/setting/discovered.rb:34
466
+ msgid "Extra facter columns to show in host lists (separate by comma)"
467
+ msgstr "Extra colunas facter para serem mostradas em listas separadas de host ( por vírgula)"
468
+
469
+ #: ../app/models/setting/discovered.rb:41
470
+ msgid "The default location to place discovered hosts in"
471
+ msgstr "O local padrão onde colocar hosts descobertos"
472
+
473
+ #: ../app/models/setting/discovered.rb:48
474
+ msgid "The default organization to place discovered hosts in"
475
+ msgstr "A organização padrão onde colocar os hosts descobertos"
476
+
477
+ #: ../app/models/setting/discovered.rb:55
478
+ msgid "Regex to organize facts for highlights section"
479
+ msgstr ""
480
+
481
+ #: ../app/models/setting/discovered.rb:56
482
+ msgid "Regex to organize facts for storage section"
483
+ msgstr ""
484
+
485
+ #: ../app/models/setting/discovered.rb:57
486
+ msgid "Regex to organize facts for software section"
487
+ msgstr ""
488
+
489
+ #: ../app/models/setting/discovered.rb:58
490
+ msgid "Regex to organize facts for hardware section"
491
+ msgstr ""
492
+
493
+ #: ../app/models/setting/discovered.rb:59
494
+ msgid "Regex to organize facts for network section"
495
+ msgstr ""
496
+
497
+ #: ../app/models/setting/discovered.rb:60
498
+ msgid "Regex to organize facts for ipmi section"
499
+ msgstr ""
500
+
501
+ #: ../app/services/foreman_discovery/fact_parser.rb:9
502
+ msgid "Unable to detect primary interface using MAC '%{mac}' specified by discovery_fact '%{fact}'"
503
+ msgstr "Não foi possível detectar interface primária usando MAC '%{mac}' especificado pelo discovery_fact '%{fact}'"
504
+
505
+ #: ../app/services/foreman_discovery/node_api/node_resource.rb:75
506
+ msgid "Image API returned HTTP/%{code} with '%{body}"
507
+ msgstr "API imagem retornou HTTP / % { code} com '% { corpo }"
508
+
509
+ #: ../app/services/foreman_discovery/node_api/node_resource.rb:78
510
+ msgid "Image API processing error: %{msg} (HTTP/%{code}, body: %{body})"
511
+ msgstr "Erro de processamento de imagem API: % { msg } (HTTP / % { code} , corpo : % { corpo })"
512
+
513
+ #: ../app/views/dashboard/_discovery_widget.html.erb:9
514
+ msgid "No discovered hosts available"
515
+ msgstr "Nenhum host descobertos"
516
+
517
+ #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:3
518
+ msgid "Host"
519
+ msgstr "Host"
520
+
521
+ #: ../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
522
+ msgid "Model"
523
+ msgstr "Modelo"
524
+
525
+ #: ../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
526
+ msgid "CPUs"
527
+ msgstr "CPUs"
528
+
529
+ #: ../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
530
+ msgid "Memory"
531
+ msgstr "Memória"
532
+
533
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:2 ../lib/foreman_discovery/engine.rb:136
534
+ msgid "Discovered hosts"
535
+ msgstr "Hosts descobertos"
536
+
537
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
538
+ msgid "items selected. Uncheck to Clear"
539
+ msgstr "itens selecionados. Desselecione para Limpar"
540
+
541
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
542
+ msgid "Select all items in this page"
543
+ msgstr "Selecionar todos os itens desta página"
544
+
545
+ #: ../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
546
+ msgid "Name"
547
+ msgstr "Nome"
548
+
549
+ #: ../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
550
+ msgid "IP Address"
551
+ msgstr "Endereço IP"
552
+
553
+ #: ../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
554
+ msgid "Disk count"
555
+ msgstr "Contagem de Disco"
556
+
557
+ #: ../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
558
+ msgid "Disks size"
559
+ msgstr "Tamanho do disco"
560
+
561
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17 ../app/views/discovered_hosts/_selected_hosts.html.erb:10
562
+ msgid "Location"
563
+ msgstr "Local"
564
+
565
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:20 ../app/views/discovered_hosts/_selected_hosts.html.erb:13
566
+ msgid "Organization"
567
+ msgstr "Organização"
568
+
569
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:22
570
+ msgid "Subnet"
571
+ msgstr "Subrede"
572
+
573
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:23
574
+ msgid "Last facts upload"
575
+ msgstr "Últimos fatos carregados"
576
+
577
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:46
578
+ msgid "Delete %s?"
579
+ msgstr "Remover %s?"
580
+
581
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:57
582
+ msgid "Please Confirm"
583
+ msgstr "Por favor confirme"
584
+
585
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:63
586
+ msgid "Cancel"
587
+ msgstr "Cancelar"
588
+
589
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:64
590
+ msgid "Submit"
591
+ msgstr "Submeter"
592
+
593
+ #: ../app/views/discovered_hosts/index.html.erb:2
594
+ msgid "Reboot All"
595
+ msgstr "Reiniciar todos"
596
+
597
+ #: ../app/views/discovered_hosts/index.html.erb:3
598
+ msgid "Auto Provision All"
599
+ msgstr "Provisão Automáticas de Todos"
600
+
601
+ #: ../app/views/discovered_hosts/multiple_destroy.html.erb:4
602
+ msgid "Warning"
603
+ msgstr "Aviso"
604
+
605
+ #: ../app/views/discovered_hosts/multiple_destroy.html.erb:5
606
+ msgid "This might take a while, as all hosts, facts and reports will be destroyed as well"
607
+ msgstr "Isto pode demorar um pouco, pois todos os hosts, fatos e relatórios também serão destruídos"
608
+
609
+ #: ../app/views/discovered_hosts/select_multiple_location.html.erb:5
610
+ msgid "Select location"
611
+ msgstr "Selecionar local"
612
+
613
+ #: ../app/views/discovered_hosts/select_multiple_organization.html.erb:5
614
+ msgid "Select organization"
615
+ msgstr "Selecionar organização"
616
+
617
+ #: ../app/views/discovered_hosts/show.html.erb:1
618
+ msgid "Discovered host: %s"
619
+ msgstr "Host descoberto: %s"
620
+
621
+ #: ../app/views/discovered_hosts/show.html.erb:32
622
+ msgid "Identifier"
623
+ msgstr ""
624
+
625
+ #: ../app/views/discovered_hosts/show.html.erb:33
626
+ msgid "MAC address"
627
+ msgstr ""
628
+
629
+ #: ../app/views/discovered_hosts/show.html.erb:34
630
+ msgid "IP address"
631
+ msgstr ""
632
+
633
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:6
634
+ msgid "Summary report for discovered hosts from Foreman"
635
+ msgstr ""
636
+
637
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:9
638
+ msgid "<b>Foreman</b> Discovered hosts summary"
639
+ msgstr ""
640
+
641
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:10 ../app/views/discovered_mailer/discovered_summary.text.erb:5
642
+ msgid "Summary from %{time} ago to %{now}"
643
+ msgstr ""
644
+
645
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:11 ../app/views/discovered_mailer/discovered_summary.text.erb:3
646
+ msgid "Discovered hosts from Foreman server at %{foreman_url}"
647
+ msgstr ""
648
+
649
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:31
650
+ msgid "No discovered hosts for the selected period"
651
+ msgstr ""
652
+
653
+ #: ../app/views/discovered_mailer/discovered_summary.text.erb:1
654
+ msgid "Foreman discovered hosts summary"
655
+ msgstr ""
656
+
657
+ #: ../app/views/discovered_mailer/discovered_summary.text.erb:21
658
+ msgid "No new discovered hosts for this period"
659
+ msgstr ""
660
+
661
+ #: ../app/views/discovery_rules/_form.html.erb:5
662
+ msgid "Primary"
663
+ msgstr "Primário"
664
+
665
+ #: ../app/views/discovery_rules/_form.html.erb:7
666
+ msgid "Locations"
667
+ msgstr "Localização"
668
+
669
+ #: ../app/views/discovery_rules/_form.html.erb:10
670
+ msgid "Organizations"
671
+ msgstr "Organizações"
672
+
673
+ #: ../app/views/discovery_rules/_form.html.erb:22
674
+ msgid "Target host group for this rule with all properties set"
675
+ msgstr "Grupo de host alvo para esta regra com todos os conjuntos de propriedades."
676
+
677
+ #: ../app/views/discovery_rules/_form.html.erb:24
678
+ msgid "Template"
679
+ msgstr "Modelo"
680
+
681
+ #: ../app/views/discovery_rules/_form.html.erb:26
682
+ msgid "Specify target hostname template pattern in the same syntax as in Provisioning Templates (ERB)."
683
+ msgstr "Especificar padrão de modelo do hostname alvo na mesma sintaxe que em Modelos de Provisionamento (ERB)."
684
+
685
+ #: ../app/views/discovery_rules/_form.html.erb:29
686
+ 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:"
687
+ msgstr "O domínio será anexado automaticamente. Um nome de host com base no endereço MAC será usado quando deixado em branco. Além do atributo @host a função rand, para inteiros aleatórios, também está disponível. Exemplos:"
688
+
689
+ #: ../app/views/discovery_rules/_form.html.erb:42
690
+ 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)."
691
+ msgstr "Ao criar padrões de nome de host, certifique-se que os nomes de host resultantes são únicos. Nomes de máquinas não deve começar com números. Uma boa abordagem é a utilização de informações exclusivas fornecidas pelo facter (endereço MAC, BIOS ou serial ID)."
692
+
693
+ #: ../app/views/discovery_rules/_form.html.erb:43
694
+ msgid "Hostname for provisioned hosts"
695
+ msgstr "Hostname para hosts fornecidos"
696
+
697
+ #: ../app/views/discovery_rules/_form.html.erb:44
698
+ msgid "Hosts limit"
699
+ msgstr "Limite de Hosts"
700
+
701
+ #: ../app/views/discovery_rules/_form.html.erb:44
702
+ msgid "Maximum hosts provisioned with this rule (0 = unlimited)"
703
+ msgstr "Máximo de hosts fornecido com esta regra (0=ilimitado)"
704
+
705
+ #: ../app/views/discovery_rules/_form.html.erb:45
706
+ msgid "Rule priority (lower integer means higher priority)"
707
+ msgstr "Prioridade de regras (inteiro mais baixo significa maior prioridade)"
708
+
709
+ #: ../app/views/discovery_rules/edit.html.erb:1
710
+ msgid "Edit Discovery Rule"
711
+ msgstr "Editar Regra de Descoberta"
712
+
713
+ #: ../app/views/discovery_rules/index.html.erb:1
714
+ msgid "Discovery Rules"
715
+ msgstr "Regras de descobertos"
716
+
717
+ #: ../app/views/discovery_rules/index.html.erb:2
718
+ msgid "New Rule"
719
+ msgstr "Nova Regra"
720
+
721
+ #: ../app/views/discovery_rules/index.html.erb:6
722
+ msgid "DiscoveryRule|Name"
723
+ msgstr "Nome"
724
+
725
+ #: ../app/views/discovery_rules/index.html.erb:7
726
+ msgid "DiscoveryRule|Priority"
727
+ msgstr "Prioridade"
728
+
729
+ #: ../app/views/discovery_rules/index.html.erb:8
730
+ msgid "DiscoveryRule|Query"
731
+ msgstr "Pesquisa"
732
+
733
+ #: ../app/views/discovery_rules/index.html.erb:9
734
+ msgid "Host group"
735
+ msgstr "Grupo de Host"
736
+
737
+ #: ../app/views/discovery_rules/index.html.erb:10
738
+ msgid "Hosts/limit"
739
+ msgstr "Hosts/limite"
740
+
741
+ #: ../app/views/discovery_rules/index.html.erb:11
742
+ msgid "DiscoveryRule|Enabled"
743
+ msgstr "Habilitado"
744
+
745
+ #: ../app/views/discovery_rules/new.html.erb:1
746
+ msgid "New Discovery Rule"
747
+ msgstr "Nova Regra de Descoberta"
748
+
749
+ #: ../db/seeds.d/70_discovery_mail_notification.rb:3
750
+ msgid "A summary of discovered hosts"
751
+ msgstr ""
752
+
753
+ #: ../lib/foreman_discovery/engine.rb:141
754
+ msgid "Discovery rules"
755
+ msgstr ""
756
+
757
+ #: ../lib/foreman_discovery/engine.rb:146
758
+ msgid "Discovery widget"
759
+ msgstr ""
760
+
761
+ #~ msgid "Disable rule?"
762
+ #~ msgstr "Desabilitar regra?"
763
+
764
+ #~ msgid "Enable rule?"
765
+ #~ msgstr "Habilitar regra?"
766
+
767
+ #~ msgid "Fact"
768
+ #~ msgstr "Fato"
769
+
770
+ #~ msgid "Fact name to use for primary interface detection and hostname"
771
+ #~ msgstr "Usar nome determinado para detecção de interface primária e o nome do host"
772
+
773
+ #~ msgid "Facts discovered on this host"
774
+ #~ msgstr "Fatos descobertos neste host"
775
+
776
+ #~ msgid "Incompatible version of puppet fact parser"
777
+ #~ msgstr "Versão incompatível com Puppet analisado"
778
+
779
+ #~ msgid "Value"
780
+ #~ msgstr "Valor"