foreman_discovery 5.0.2 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/api/v2/discovered_hosts_controller.rb +4 -7
  3. data/app/controllers/api/v2/discovery_rules_controller.rb +1 -0
  4. data/app/controllers/api/v2/fact_values_controller_extensions.rb +11 -0
  5. data/app/controllers/concerns/foreman/controller/discovered_extensions.rb +6 -3
  6. data/app/controllers/discovered_hosts_controller.rb +46 -11
  7. data/app/controllers/discovery_rules_controller.rb +1 -1
  8. data/app/helpers/discovered_hosts_helper.rb +33 -16
  9. data/app/models/concerns/discovery_taxonomy_extensions.rb +7 -0
  10. data/app/models/concerns/fact_value_extensions.rb +8 -0
  11. data/app/models/discovery_rule.rb +4 -6
  12. data/app/models/host/discovered.rb +29 -10
  13. data/app/models/host/managed_extensions.rb +2 -10
  14. data/app/models/setting/discovered.rb +22 -28
  15. data/app/services/foreman_discovery/host_converter.rb +19 -10
  16. data/app/views/api/v2/discovered_hosts/main.json.rabl +1 -1
  17. data/app/views/dashboard/_discovery_widget_host.html.erb +1 -1
  18. data/app/views/discovered_hosts/_discovered_host.html.erb +1 -1
  19. data/app/views/discovered_hosts/_discovered_hosts_list.html.erb +32 -1
  20. data/app/views/discovered_hosts/index.html.erb +2 -2
  21. data/app/views/discovered_hosts/show.html.erb +5 -5
  22. data/app/views/discovered_mailer/_discovered_host.html.erb +1 -1
  23. data/app/views/discovered_mailer/discovered_summary.text.erb +2 -2
  24. data/app/views/discovery_rules/_form.html.erb +2 -19
  25. data/app/views/discovery_rules/_template_inline.erb +10 -0
  26. data/app/views/discovery_rules/index.html.erb +1 -1
  27. data/app/views/foreman_discovery/debian_kexec.erb +34 -0
  28. data/app/views/foreman_discovery/redhat_kexec.erb +5 -4
  29. data/config/routes.rb +4 -0
  30. data/db/migrate/20141223142759_fill_discovery_attribute_sets_for_existing_hosts.rb +15 -1
  31. data/db/migrate/20160719124942_add_missing_view_permissions.rb +18 -0
  32. data/db/seeds.d/50_discovery_templates.rb +15 -13
  33. data/lib/discovery.rake +1 -0
  34. data/lib/foreman_discovery/engine.rb +24 -10
  35. data/lib/foreman_discovery/version.rb +1 -1
  36. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  37. data/locale/ca/foreman_discovery.edit.po +274 -136
  38. data/locale/ca/foreman_discovery.po +396 -328
  39. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  40. data/locale/de/foreman_discovery.edit.po +309 -171
  41. data/locale/de/foreman_discovery.po +419 -361
  42. data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
  43. data/locale/en/foreman_discovery.edit.po +881 -0
  44. data/locale/en/foreman_discovery.po +665 -0
  45. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  46. data/locale/en_GB/foreman_discovery.edit.po +279 -141
  47. data/locale/en_GB/foreman_discovery.po +446 -391
  48. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  49. data/locale/es/foreman_discovery.edit.po +277 -139
  50. data/locale/es/foreman_discovery.po +415 -362
  51. data/locale/foreman_discovery.pot +241 -135
  52. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  53. data/locale/fr/foreman_discovery.edit.po +289 -151
  54. data/locale/fr/foreman_discovery.po +439 -411
  55. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  56. data/locale/gl/foreman_discovery.edit.po +266 -128
  57. data/locale/gl/foreman_discovery.po +320 -246
  58. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  59. data/locale/it/foreman_discovery.edit.po +277 -139
  60. data/locale/it/foreman_discovery.po +407 -352
  61. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  62. data/locale/ja/foreman_discovery.edit.po +279 -141
  63. data/locale/ja/foreman_discovery.po +411 -339
  64. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  65. data/locale/ko/foreman_discovery.edit.po +277 -139
  66. data/locale/ko/foreman_discovery.po +411 -339
  67. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  68. data/locale/pt_BR/foreman_discovery.edit.po +282 -144
  69. data/locale/pt_BR/foreman_discovery.po +430 -394
  70. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  71. data/locale/ru/foreman_discovery.edit.po +371 -232
  72. data/locale/ru/foreman_discovery.po +448 -385
  73. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  74. data/locale/sv_SE/foreman_discovery.edit.po +270 -132
  75. data/locale/sv_SE/foreman_discovery.po +336 -260
  76. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  77. data/locale/zh_CN/foreman_discovery.edit.po +279 -141
  78. data/locale/zh_CN/foreman_discovery.po +412 -336
  79. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  80. data/locale/zh_TW/foreman_discovery.edit.po +279 -141
  81. data/locale/zh_TW/foreman_discovery.po +412 -338
  82. data/test/functional/api/v2/discovered_hosts_controller_test.rb +30 -22
  83. data/test/functional/api/v2/discovery_rules_controller_test.rb +7 -0
  84. data/test/functional/api/v2/fact_value_extensions_test.rb +37 -0
  85. data/test/functional/discovered_hosts_controller_test.rb +89 -16
  86. data/test/functional/discovery_rules_controller_test.rb +1 -1
  87. data/test/test_helper_discovery.rb +1 -1
  88. data/test/unit/discovered_extensions_test.rb +65 -21
  89. data/test/unit/discovery_attribute_set_test.rb +4 -4
  90. data/test/unit/discovery_taxonomy_extensions_test.rb +31 -0
  91. data/test/unit/host_discovered_test.rb +110 -14
  92. metadata +121 -110
  93. data/app/helpers/concerns/foreman_discovery/settings_helper_extensions.rb +0 -34
@@ -10,10 +10,10 @@
10
10
  # Valeria S Silva <valeriassilva@live.com>, 2015
11
11
  msgid ""
12
12
  msgstr ""
13
- "Project-Id-Version: Foreman\n"
13
+ "Project-Id-Version: foreman_discovery 5.0.2\n"
14
14
  "Report-Msgid-Bugs-To: \n"
15
- "POT-Creation-Date: 2016-02-25 10:58+0100\n"
16
- "PO-Revision-Date: 2016-03-08 17:33+0000\n"
15
+ "POT-Creation-Date: 2016-07-27 14:13+0200\n"
16
+ "PO-Revision-Date: 2016-07-28 09:01+0000\n"
17
17
  "Last-Translator: Lukáš Zapletal\n"
18
18
  "Language-Team: Portuguese (Brazil) (http://www.transifex.com/foreman/foreman/language/pt_BR/)\n"
19
19
  "MIME-Version: 1.0\n"
@@ -92,56 +92,56 @@ msgid ""
92
92
  "eth0 (example in case primary interface is named eth0)"
93
93
  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 )"
94
94
 
95
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:112
95
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:109
96
96
  msgid "Execute rules against a discovered host"
97
97
  msgstr "Executar regras nos hosts descobertos"
98
98
 
99
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:118
100
- #: ../app/controllers/discovered_hosts_controller.rb:147
99
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:115
100
+ #: ../app/controllers/discovered_hosts_controller.rb:164
101
101
  msgid "Host %{host} was provisioned with rule %{rule}"
102
102
  msgstr "Host %{host} recebeu a regra %{rule}"
103
103
 
104
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:121
104
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:118
105
105
  msgid "Unable to provision %{host}: %{errors}"
106
106
  msgstr "Incapazes de prover % {host }: % { } erros"
107
107
 
108
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:127
109
- #: ../app/controllers/discovered_hosts_controller.rb:154
108
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:124
109
+ #: ../app/controllers/discovered_hosts_controller.rb:171
110
110
  msgid "No rule found for host %s"
111
111
  msgstr "Nenhuma regra encontrada para o host %s"
112
112
 
113
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:134
113
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:131
114
114
  msgid "Execute rules against all currently discovered hosts"
115
115
  msgstr "Executar regras em todos os hosts descobertos atualmente"
116
116
 
117
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:138
118
- #: ../app/controllers/discovered_hosts_controller.rb:160
117
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:135
118
+ #: ../app/controllers/discovered_hosts_controller.rb:177
119
119
  msgid "Errors during auto provisioning: %s"
120
120
  msgstr "Erros durante o auto provisionamento: %s"
121
121
 
122
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:141
123
- #: ../app/controllers/discovered_hosts_controller.rb:163
122
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:138
123
+ #: ../app/controllers/discovered_hosts_controller.rb:180
124
124
  msgid "No discovered hosts to provision"
125
125
  msgstr "Nenhum host descoberto para fornecer"
126
126
 
127
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:163
127
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:160
128
128
  msgid "%s discovered hosts were provisioned"
129
129
  msgstr "%s hosts descobertas foram provisionados"
130
130
 
131
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:174
131
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:171
132
132
  msgid "Refreshing the facts of a discovered host"
133
133
  msgstr "atualizando fatos de um host descoberto"
134
134
 
135
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:183
135
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:180
136
136
  msgid "Rebooting a discovered host"
137
137
  msgstr "Reinicializando um host descoberto"
138
138
 
139
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:192
139
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:189
140
140
  msgid "Rebooting all discovered hosts"
141
141
  msgstr "Reiniciar todos os hosts descobertos"
142
142
 
143
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:203
144
- #: ../app/controllers/discovered_hosts_controller.rb:105
143
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:200
144
+ #: ../app/controllers/discovered_hosts_controller.rb:122
145
145
  msgid "Discovered hosts are rebooting now"
146
146
  msgstr "Hosts descobertos serão reiniciados agora"
147
147
 
@@ -183,18 +183,22 @@ msgstr "colocar as regras em ordem, números baixos irão primeiro. Deve ser mai
183
183
  msgid "flag is used for temporary shutdown of rules"
184
184
  msgstr "sinalizador é usado para o desligamento temporário de regras"
185
185
 
186
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:41
186
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:42
187
187
  msgid "Create a discovery rule"
188
188
  msgstr "Criar uma regra de descoberta"
189
189
 
190
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:49
190
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:50
191
191
  msgid "Update a rule"
192
192
  msgstr "Atualizar uma regra"
193
193
 
194
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:57
194
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:58
195
195
  msgid "Delete a rule"
196
196
  msgstr "Remover uma regra"
197
197
 
198
+ #: ../app/controllers/api/v2/fact_values_controller_extensions.rb:7
199
+ msgid "List all fact values of a given discovered host"
200
+ msgstr ""
201
+
198
202
  #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:6
199
203
  msgid "Unable to find a discovery rule, no host provided (check permissions)"
200
204
  msgstr "Incapaz de encontrar uma regra descoberta , nenhum host fornecido (verifique as permissões)"
@@ -203,156 +207,186 @@ msgstr "Incapaz de encontrar uma regra descoberta , nenhum host fornecido (verif
203
207
  msgid "No hostgroup associated with rule '%s'"
204
208
  msgstr ""
205
209
 
206
- #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:63
210
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:66
207
211
  msgid "Errors during reboot: %s"
208
212
  msgstr "Erros durante a reinicialização: %s"
209
213
 
210
- #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:81
214
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:84
211
215
  msgid "No discovered hosts to reboot"
212
216
  msgstr "Hosts não descobertos na reinicialização"
213
217
 
214
- #: ../app/controllers/discovered_hosts_controller.rb:73
218
+ #: ../app/controllers/discovered_hosts_controller.rb:58
219
+ msgid "Successfully provisioned %s"
220
+ msgstr ""
221
+
222
+ #: ../app/controllers/discovered_hosts_controller.rb:90
215
223
  msgid "Facts refreshed for %s"
216
224
  msgstr "Fatos atualizados para %s"
217
225
 
218
- #: ../app/controllers/discovered_hosts_controller.rb:75
226
+ #: ../app/controllers/discovered_hosts_controller.rb:92
219
227
  msgid "Failed to refresh facts for %s"
220
228
  msgstr "Falha ao atualizar fatos para %s"
221
229
 
222
- #: ../app/controllers/discovered_hosts_controller.rb:78
230
+ #: ../app/controllers/discovered_hosts_controller.rb:95
223
231
  msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
224
232
  msgstr ""
225
233
 
226
- #: ../app/controllers/discovered_hosts_controller.rb:85
234
+ #: ../app/controllers/discovered_hosts_controller.rb:102
227
235
  msgid "Host of type %s can not be rebooted"
228
236
  msgstr "Host do tipo %s pode ser reinicializado"
229
237
 
230
- #: ../app/controllers/discovered_hosts_controller.rb:89
238
+ #: ../app/controllers/discovered_hosts_controller.rb:106
231
239
  msgid "Rebooting host %s"
232
240
  msgstr "Reiniciando host %s"
233
241
 
234
- #: ../app/controllers/discovered_hosts_controller.rb:91
242
+ #: ../app/controllers/discovered_hosts_controller.rb:108
235
243
  msgid "Failed to reboot host %s"
236
244
  msgstr "Falha ao reiniciar host %s"
237
245
 
238
- #: ../app/controllers/discovered_hosts_controller.rb:94
246
+ #: ../app/controllers/discovered_hosts_controller.rb:111
239
247
  msgid "Failed to reboot host %{hostname} with error %{error_message}"
240
248
  msgstr "Falha ao reiniciar o host %{hostname} com erro %{error_message}"
241
249
 
242
- #: ../app/controllers/discovered_hosts_controller.rb:108
250
+ #: ../app/controllers/discovered_hosts_controller.rb:125
243
251
  msgid "Failed to reboot hosts with error %s"
244
252
  msgstr ""
245
253
 
246
- #: ../app/controllers/discovered_hosts_controller.rb:122
254
+ #: ../app/controllers/discovered_hosts_controller.rb:139
247
255
  msgid "Destroyed selected hosts"
248
256
  msgstr "Hosts selecionados foram destruídos"
249
257
 
250
- #: ../app/controllers/discovered_hosts_controller.rb:124
258
+ #: ../app/controllers/discovered_hosts_controller.rb:141
251
259
  msgid "The following hosts were not deleted: %s"
252
260
  msgstr "Os hosts a seguir não foram removidos: %s"
253
261
 
254
- #: ../app/controllers/discovered_hosts_controller.rb:151
262
+ #: ../app/controllers/discovered_hosts_controller.rb:168
255
263
  msgid "Failed to auto provision host %s: %s"
256
264
  msgstr "Falha ao realizar o auto provisionamento do host %s: %s"
257
265
 
258
- #: ../app/controllers/discovered_hosts_controller.rb:179
266
+ #: ../app/controllers/discovered_hosts_controller.rb:196
259
267
  msgid "Discovered hosts are provisioning now"
260
268
  msgstr "Hosts descobertos estão provisionando agora"
261
269
 
262
- #: ../app/controllers/discovered_hosts_controller.rb:267
270
+ #: ../app/controllers/discovered_hosts_controller.rb:225
271
+ msgid "Highlights"
272
+ msgstr ""
273
+
274
+ #: ../app/controllers/discovered_hosts_controller.rb:225
275
+ msgid "Storage"
276
+ msgstr ""
277
+
278
+ #: ../app/controllers/discovered_hosts_controller.rb:225
279
+ msgid "Hardware"
280
+ msgstr ""
281
+
282
+ #: ../app/controllers/discovered_hosts_controller.rb:225
283
+ msgid "Network"
284
+ msgstr ""
285
+
286
+ #: ../app/controllers/discovered_hosts_controller.rb:225
287
+ msgid "Software"
288
+ msgstr ""
289
+
290
+ #: ../app/controllers/discovered_hosts_controller.rb:225
291
+ msgid "IPMI"
292
+ msgstr ""
293
+
294
+ #: ../app/controllers/discovered_hosts_controller.rb:225
295
+ msgid "Miscellaneous"
296
+ msgstr ""
297
+
298
+ #: ../app/controllers/discovered_hosts_controller.rb:302
263
299
  msgid "No hosts were found with that id or name"
264
300
  msgstr "Nenhum host foi encontrado com o id ou nome"
265
301
 
266
- #: ../app/controllers/discovered_hosts_controller.rb:271
302
+ #: ../app/controllers/discovered_hosts_controller.rb:306
267
303
  msgid "No hosts selected"
268
304
  msgstr "Não foi selecionado nenhum host"
269
305
 
270
- #: ../app/controllers/discovered_hosts_controller.rb:277
306
+ #: ../app/controllers/discovered_hosts_controller.rb:312
271
307
  msgid "Something went wrong while selecting hosts - %s"
272
308
  msgstr "Ocorreu um erro ao selecionar hosts - %s"
273
309
 
274
- #: ../app/controllers/discovery_rules_controller.rb:66
275
- msgid "Rule disabled"
276
- msgstr "Regra desabilitada"
277
-
278
310
  #: ../app/controllers/discovery_rules_controller.rb:66
279
311
  msgid "Rule enabled"
280
312
  msgstr "Regra ativada"
281
313
 
282
- #: ../app/helpers/discovered_hosts_helper.rb:11
314
+ #: ../app/controllers/discovery_rules_controller.rb:66
315
+ msgid "Rule disabled"
316
+ msgstr "Regra desabilitada"
317
+
318
+ #: ../app/helpers/discovered_hosts_helper.rb:10
283
319
  msgid "%s ago"
284
320
  msgstr "%s atrás"
285
321
 
286
- #: ../app/helpers/discovered_hosts_helper.rb:15
287
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:42
322
+ #: ../app/helpers/discovered_hosts_helper.rb:14
323
+ #: ../app/helpers/discovered_hosts_helper.rb:94
288
324
  msgid "Provision"
289
325
  msgstr "Configuração"
290
326
 
291
- #: ../app/helpers/discovered_hosts_helper.rb:16
292
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:43
327
+ #: ../app/helpers/discovered_hosts_helper.rb:15
328
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:74
293
329
  msgid "Auto Provision"
294
330
  msgstr "Provisão Automática"
295
331
 
296
- #: ../app/helpers/discovered_hosts_helper.rb:17
297
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:44
332
+ #: ../app/helpers/discovered_hosts_helper.rb:16
333
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:75
298
334
  msgid "Refresh facts"
299
335
  msgstr "Atualizar fatos"
300
336
 
301
- #: ../app/helpers/discovered_hosts_helper.rb:18
302
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:45
337
+ #: ../app/helpers/discovered_hosts_helper.rb:17
338
+ #: ../app/models/setting/discovered.rb:23
339
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:76
303
340
  msgid "Reboot"
304
341
  msgstr "Reiniciar"
305
342
 
306
- #: ../app/helpers/discovered_hosts_helper.rb:21
343
+ #: ../app/helpers/discovered_hosts_helper.rb:20
307
344
  msgid "Back"
308
- msgstr ""
345
+ msgstr "Voltar"
309
346
 
310
- #: ../app/helpers/discovered_hosts_helper.rb:23
311
- #: ../app/helpers/discovered_hosts_helper.rb:46
347
+ #: ../app/helpers/discovered_hosts_helper.rb:22
348
+ #: ../app/helpers/discovered_hosts_helper.rb:39
312
349
  msgid "Select Action"
313
350
  msgstr "Selecionar Ação"
314
351
 
315
- #: ../app/helpers/discovered_hosts_helper.rb:30
352
+ #: ../app/helpers/discovered_hosts_helper.rb:24
316
353
  msgid "Expand All"
317
- msgstr ""
354
+ msgstr "Expandir todos"
318
355
 
319
- #: ../app/helpers/discovered_hosts_helper.rb:35
320
- msgid "Delete"
321
- msgstr "Remover"
322
-
323
- #: ../app/helpers/discovered_hosts_helper.rb:36
324
- msgid "Are you sure?"
325
- msgstr "Você tem certeza?"
356
+ #: ../app/helpers/discovered_hosts_helper.rb:29
357
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:77
358
+ msgid "Delete %s?"
359
+ msgstr "Remover %s?"
326
360
 
327
- #: ../app/helpers/discovered_hosts_helper.rb:42
361
+ #: ../app/helpers/discovered_hosts_helper.rb:35
328
362
  msgid "Delete hosts"
329
363
  msgstr "Remover hosts"
330
364
 
331
- #: ../app/helpers/discovered_hosts_helper.rb:43
365
+ #: ../app/helpers/discovered_hosts_helper.rb:36
332
366
  msgid "Assign Organization"
333
367
  msgstr "Atribuir Organização"
334
368
 
335
- #: ../app/helpers/discovered_hosts_helper.rb:44
369
+ #: ../app/helpers/discovered_hosts_helper.rb:37
336
370
  msgid "Assign Location"
337
371
  msgstr "Atribuir Local"
338
372
 
339
- #: ../app/helpers/discovered_hosts_helper.rb:48
373
+ #: ../app/helpers/discovered_hosts_helper.rb:41
340
374
  msgid "%s - The following hosts are about to be changed"
341
375
  msgstr "%s - Os hosts a seguir devem ser modificados em breve"
342
376
 
343
- #: ../app/helpers/discovered_hosts_helper.rb:57
377
+ #: ../app/helpers/discovered_hosts_helper.rb:50
344
378
  msgid "N/A"
345
379
  msgstr "N/A"
346
380
 
347
- #: ../app/helpers/discovered_hosts_helper.rb:69
381
+ #: ../app/helpers/discovered_hosts_helper.rb:62
348
382
  msgid "New in the last 24 hours"
349
383
  msgstr "Novo nas últimas 24 horas"
350
384
 
351
- #: ../app/helpers/discovered_hosts_helper.rb:73
385
+ #: ../app/helpers/discovered_hosts_helper.rb:66
352
386
  msgid "Not reported in more than 7 days"
353
387
  msgstr "Não reportado em mais que 7 dias"
354
388
 
355
- #: ../app/helpers/discovered_hosts_helper.rb:77
389
+ #: ../app/helpers/discovered_hosts_helper.rb:70
356
390
  msgid "Reported in the last 7 days"
357
391
  msgstr "Reportado nos últimos 7 dias"
358
392
 
@@ -364,14 +398,14 @@ msgstr ""
364
398
  msgid "Associated Hosts"
365
399
  msgstr ""
366
400
 
367
- #: ../app/helpers/discovery_rules_helper.rb:29
368
- msgid "Disable rule '%s'?"
369
- msgstr ""
370
-
371
401
  #: ../app/helpers/discovery_rules_helper.rb:29
372
402
  msgid "Disable"
373
403
  msgstr "Desabilitar"
374
404
 
405
+ #: ../app/helpers/discovery_rules_helper.rb:29
406
+ msgid "Disable rule '%s'?"
407
+ msgstr ""
408
+
375
409
  #: ../app/helpers/discovery_rules_helper.rb:31
376
410
  msgid "Enable"
377
411
  msgstr "Habilitar"
@@ -400,7 +434,7 @@ msgstr "não foi possível conter espaços em branco."
400
434
  msgid "must start with a letter or ERB."
401
435
  msgstr "deve iniciar com uma letra ou ERB."
402
436
 
403
- #: ../app/models/discovery_rule.rb:49
437
+ #: ../app/models/discovery_rule.rb:47
404
438
  msgid ""
405
439
  "Host group organization %s must also be associated to the discovery rule"
406
440
  msgid_plural ""
@@ -408,46 +442,50 @@ msgid_plural ""
408
442
  msgstr[0] "Organizações de grupos de host% s também deve ser associado à regra descoberta"
409
443
  msgstr[1] "Organizações de grupos de host% s também deve ser associado à regra descoberta"
410
444
 
411
- #: ../app/models/discovery_rule.rb:55
445
+ #: ../app/models/discovery_rule.rb:53
412
446
  msgid "Host group location %s must also be associated to the discovery rule"
413
447
  msgid_plural ""
414
448
  "Host group locations %s must also be associated to the discovery rule"
415
449
  msgstr[0] "ocalização do grupo de hosts %s deverá também ser associado a regra descoberta"
416
450
  msgstr[1] "localização de grupo de hosts %s deverá também ser associado a regra descoberta"
417
451
 
418
- #: ../app/models/host/discovered.rb:34
452
+ #: ../app/models/host/discovered.rb:35
419
453
  msgid "Invalid facts, must be a Hash"
420
454
  msgstr "Fatos inválidos, deve ser um Hash"
421
455
 
422
- #: ../app/models/host/discovered.rb:39
456
+ #: ../app/models/host/discovered.rb:40
423
457
  msgid ""
424
458
  "Expected discovery_fact '%s' is missing, unable to detect primary interface "
425
459
  "and set hostname"
426
460
  msgstr "Esperada descoberta _fact '% s' está faltando, incapaz de detectar interface primária e definir o nome do host"
427
461
 
428
- #: ../app/models/host/discovered.rb:46
462
+ #: ../app/models/host/discovered.rb:47
429
463
  msgid ""
430
464
  "Invalid facts: hash does not contain a valid value for any of the facts in "
431
465
  "the discovery_hostname setting: %s"
432
466
  msgstr ""
433
467
 
434
- #: ../app/models/host/discovered.rb:107
468
+ #: ../app/models/host/discovered.rb:64
469
+ msgid "Facts could not be imported"
470
+ msgstr ""
471
+
472
+ #: ../app/models/host/discovered.rb:114
435
473
  msgid "Unable to assign subnet, primary interface is missing IP address"
436
474
  msgstr "Não é possível atribuir sub-rede , interface primária está faltando endereço de IP"
437
475
 
438
- #: ../app/models/host/discovered.rb:149
476
+ #: ../app/models/host/discovered.rb:168
439
477
  msgid "Could not get facts from proxy %{url}: %{error}"
440
478
  msgstr "Não foi possível obter fatos do proxy %{url}: %{error}"
441
479
 
442
- #: ../app/models/host/discovered.rb:165
480
+ #: ../app/models/host/discovered.rb:184
443
481
  msgid "Unable to reboot %{name} via %{url}: %{msg}"
444
482
  msgstr "Não é possível reiniciar % {name } via% {url} : { msg } %"
445
483
 
446
- #: ../app/models/host/discovered.rb:173
484
+ #: ../app/models/host/discovered.rb:192
447
485
  msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
448
486
  msgstr "Não é possível executar kexec em % {name } via% {url} : { msg } %"
449
487
 
450
- #: ../app/models/host/discovered.rb:192
488
+ #: ../app/models/host/discovered.rb:211
451
489
  msgid "Invalid hostname: Could not normalize the hostname"
452
490
  msgstr ""
453
491
 
@@ -475,60 +513,138 @@ msgstr ""
475
513
  msgid "Fact name to use for primary interface detection"
476
514
  msgstr ""
477
515
 
516
+ #: ../app/models/setting/discovered.rb:19
517
+ msgid "Interface fact"
518
+ msgstr ""
519
+
478
520
  #: ../app/models/setting/discovered.rb:20
521
+ msgid "Clean all reported facts during provisioning (except discovery facts)"
522
+ msgstr ""
523
+
524
+ #: ../app/models/setting/discovered.rb:20
525
+ msgid "Clean all facts"
526
+ msgstr ""
527
+
528
+ #: ../app/models/setting/discovered.rb:21
479
529
  msgid "List of facts to use for the hostname (separated by comma, first wins)"
480
530
  msgstr ""
481
531
 
482
532
  #: ../app/models/setting/discovered.rb:21
533
+ msgid "Hostname facts"
534
+ msgstr ""
535
+
536
+ #: ../app/models/setting/discovered.rb:22
483
537
  msgid ""
484
538
  "Automatically provision newly discovered hosts, according to the "
485
539
  "provisioning rules"
486
540
  msgstr "Provisão automática descobriu hosts recentemente, de acordo com as regras de provisionamento"
487
541
 
488
542
  #: ../app/models/setting/discovered.rb:22
489
- msgid "Automatically reboot discovered host during provisioning"
490
- msgstr "Reiniciar automaticamente descoberto host durante o aprovisionamento"
543
+ msgid "Auto provisioning"
544
+ msgstr ""
491
545
 
492
- #: ../app/models/setting/discovered.rb:28
546
+ #: ../app/models/setting/discovered.rb:23
547
+ msgid "Automatically reboot or kexec discovered host during provisioning"
548
+ msgstr ""
549
+
550
+ #: ../app/models/setting/discovered.rb:24
493
551
  msgid "The default prefix to use for the host name, must start with a letter"
494
552
  msgstr "O prefixo padrão a utilizar para o nome do host, deve iniciar com uma letra"
495
553
 
496
- #: ../app/models/setting/discovered.rb:34
554
+ #: ../app/models/setting/discovered.rb:24
555
+ msgid "Hostname prefix"
556
+ msgstr ""
557
+
558
+ #: ../app/models/setting/discovered.rb:25
497
559
  msgid "Extra facter columns to show in host lists (separate by comma)"
498
560
  msgstr "Extra colunas facter para serem mostradas em listas separadas de host ( por vírgula)"
499
561
 
500
- #: ../app/models/setting/discovered.rb:41
501
- msgid "The default location to place discovered hosts in"
502
- msgstr "O local padrão onde colocar hosts descobertos"
562
+ #: ../app/models/setting/discovered.rb:25
563
+ msgid "Fact columns"
564
+ msgstr ""
503
565
 
504
- #: ../app/models/setting/discovered.rb:48
505
- msgid "The default organization to place discovered hosts in"
506
- msgstr "A organização padrão onde colocar os hosts descobertos"
566
+ #: ../app/models/setting/discovered.rb:26
567
+ msgid "Regex to organize facts for highlights section - e.g. ^(abc|cde)$"
568
+ msgstr ""
507
569
 
508
- #: ../app/models/setting/discovered.rb:55
509
- msgid "Regex to organize facts for highlights section"
570
+ #: ../app/models/setting/discovered.rb:26
571
+ msgid "Highlighted facts"
510
572
  msgstr ""
511
573
 
512
- #: ../app/models/setting/discovered.rb:56
574
+ #: ../app/models/setting/discovered.rb:27
513
575
  msgid "Regex to organize facts for storage section"
514
576
  msgstr ""
515
577
 
516
- #: ../app/models/setting/discovered.rb:57
578
+ #: ../app/models/setting/discovered.rb:27
579
+ msgid "Storage facts"
580
+ msgstr ""
581
+
582
+ #: ../app/models/setting/discovered.rb:28
517
583
  msgid "Regex to organize facts for software section"
518
584
  msgstr ""
519
585
 
520
- #: ../app/models/setting/discovered.rb:58
586
+ #: ../app/models/setting/discovered.rb:28
587
+ msgid "Software facts"
588
+ msgstr ""
589
+
590
+ #: ../app/models/setting/discovered.rb:29
521
591
  msgid "Regex to organize facts for hardware section"
522
592
  msgstr ""
523
593
 
524
- #: ../app/models/setting/discovered.rb:59
594
+ #: ../app/models/setting/discovered.rb:29
595
+ msgid "Hardware facts"
596
+ msgstr ""
597
+
598
+ #: ../app/models/setting/discovered.rb:30
525
599
  msgid "Regex to organize facts for network section"
526
600
  msgstr ""
527
601
 
528
- #: ../app/models/setting/discovered.rb:60
602
+ #: ../app/models/setting/discovered.rb:30
603
+ msgid "Network facts"
604
+ msgstr ""
605
+
606
+ #: ../app/models/setting/discovered.rb:31
529
607
  msgid "Regex to organize facts for ipmi section"
530
608
  msgstr ""
531
609
 
610
+ #: ../app/models/setting/discovered.rb:31
611
+ msgid "IPMI facts"
612
+ msgstr ""
613
+
614
+ #: ../app/models/setting/discovered.rb:32
615
+ msgid ""
616
+ "Automatically generate PXE configuration to pin a newly discovered host to "
617
+ "discovery"
618
+ msgstr ""
619
+
620
+ #: ../app/models/setting/discovered.rb:32
621
+ msgid "Lock PXE"
622
+ msgstr ""
623
+
624
+ #: ../app/models/setting/discovered.rb:33
625
+ msgid "PXE template to be used when pinning a host to discovery"
626
+ msgstr ""
627
+
628
+ #: ../app/models/setting/discovered.rb:33
629
+ msgid "Locked template name"
630
+ msgstr ""
631
+
632
+ #: ../app/models/setting/discovered.rb:40
633
+ msgid "The default location to place discovered hosts in"
634
+ msgstr "O local padrão onde colocar hosts descobertos"
635
+
636
+ #: ../app/models/setting/discovered.rb:40
637
+ msgid "Discovery location"
638
+ msgstr ""
639
+
640
+ #: ../app/models/setting/discovered.rb:48
641
+ msgid "The default organization to place discovered hosts in"
642
+ msgstr "A organização padrão onde colocar os hosts descobertos"
643
+
644
+ #: ../app/models/setting/discovered.rb:48
645
+ msgid "Discovery organization"
646
+ msgstr ""
647
+
532
648
  #: ../app/services/foreman_discovery/fact_parser.rb:9
533
649
  msgid ""
534
650
  "Unable to detect primary interface using MAC '%{mac}' specified by "
@@ -574,18 +690,18 @@ msgid "Memory"
574
690
  msgstr "Memória"
575
691
 
576
692
  #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:2
577
- #: ../lib/foreman_discovery/engine.rb:136
693
+ #: ../lib/foreman_discovery/engine.rb:147
578
694
  msgid "Discovered hosts"
579
695
  msgstr "Hosts descobertos"
580
696
 
581
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
582
- msgid "items selected. Uncheck to Clear"
583
- msgstr "itens selecionados. Desselecione para Limpar"
584
-
585
697
  #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
586
698
  msgid "Select all items in this page"
587
699
  msgstr "Selecionar todos os itens desta página"
588
700
 
701
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
702
+ msgid "items selected. Uncheck to Clear"
703
+ msgstr "itens selecionados. Desselecione para Limpar"
704
+
589
705
  #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:6
590
706
  #: ../app/views/discovered_hosts/_selected_hosts.html.erb:7
591
707
  #: ../app/views/discovered_mailer/discovered_summary.html.erb:17
@@ -629,19 +745,27 @@ msgstr "Subrede"
629
745
  msgid "Last facts upload"
630
746
  msgstr "Últimos fatos carregados"
631
747
 
632
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:46
633
- msgid "Delete %s?"
634
- msgstr "Remover %s?"
748
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:48
749
+ msgid "Select initial host properties"
750
+ msgstr ""
635
751
 
636
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:57
752
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:65
753
+ msgid "Quick create"
754
+ msgstr ""
755
+
756
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:66
757
+ msgid "Create host"
758
+ msgstr ""
759
+
760
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:88
637
761
  msgid "Please Confirm"
638
762
  msgstr "Por favor confirme"
639
763
 
640
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:63
764
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:94
641
765
  msgid "Cancel"
642
766
  msgstr "Cancelar"
643
767
 
644
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:64
768
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:95
645
769
  msgid "Submit"
646
770
  msgstr "Submeter"
647
771
 
@@ -675,17 +799,21 @@ msgstr "Selecionar organização"
675
799
  msgid "Discovered host: %s"
676
800
  msgstr "Host descoberto: %s"
677
801
 
802
+ #: ../app/views/discovered_hosts/show.html.erb:24
803
+ msgid "Interfaces"
804
+ msgstr ""
805
+
678
806
  #: ../app/views/discovered_hosts/show.html.erb:32
679
807
  msgid "Identifier"
680
- msgstr ""
808
+ msgstr "Identificador "
681
809
 
682
810
  #: ../app/views/discovered_hosts/show.html.erb:33
683
811
  msgid "MAC address"
684
- msgstr ""
812
+ msgstr "Endereço MAC "
685
813
 
686
814
  #: ../app/views/discovered_hosts/show.html.erb:34
687
815
  msgid "IP address"
688
- msgstr ""
816
+ msgstr "Endereco de IP"
689
817
 
690
818
  #: ../app/views/discovered_mailer/discovered_summary.html.erb:6
691
819
  msgid "Summary report for discovered hosts from Foreman"
@@ -738,41 +866,51 @@ msgid "Template"
738
866
  msgstr "Modelo"
739
867
 
740
868
  #: ../app/views/discovery_rules/_form.html.erb:26
741
- msgid ""
742
- "Specify target hostname template pattern in the same syntax as in "
743
- "Provisioning Templates (ERB)."
744
- msgstr "Especificar padrão de modelo do hostname alvo na mesma sintaxe que em Modelos de Provisionamento (ERB)."
745
-
746
- #: ../app/views/discovery_rules/_form.html.erb:29
747
- msgid ""
748
- "Domain will be appended automatically. A hostname based on MAC address will "
749
- "be used when left blank. In addition to @host attribute function rand for "
750
- "random integers is available. Examples:"
751
- 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:"
752
-
753
- #: ../app/views/discovery_rules/_form.html.erb:42
754
- msgid ""
755
- "When creating hostname patterns, make sure the resulting host names are "
756
- "unique. Hostnames must not start with numbers. A good approach is to use "
757
- "unique information provided by facter (MAC address, BIOS or serial ID)."
758
- 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)."
759
-
760
- #: ../app/views/discovery_rules/_form.html.erb:43
761
869
  msgid "Hostname for provisioned hosts"
762
870
  msgstr "Hostname para hosts fornecidos"
763
871
 
764
- #: ../app/views/discovery_rules/_form.html.erb:44
872
+ #: ../app/views/discovery_rules/_form.html.erb:27
765
873
  msgid "Hosts limit"
766
874
  msgstr "Limite de Hosts"
767
875
 
768
- #: ../app/views/discovery_rules/_form.html.erb:44
876
+ #: ../app/views/discovery_rules/_form.html.erb:27
769
877
  msgid "Maximum hosts provisioned with this rule (0 = unlimited)"
770
878
  msgstr "Máximo de hosts fornecido com esta regra (0=ilimitado)"
771
879
 
772
- #: ../app/views/discovery_rules/_form.html.erb:45
880
+ #: ../app/views/discovery_rules/_form.html.erb:28
773
881
  msgid "Rule priority (lower integer means higher priority)"
774
882
  msgstr "Prioridade de regras (inteiro mais baixo significa maior prioridade)"
775
883
 
884
+ #: ../app/views/discovery_rules/_template_inline.erb:2
885
+ msgid ""
886
+ "Specify target hostname template pattern in the same syntax as in "
887
+ "Provisioning Templates (ERB)."
888
+ msgstr "Especificar padrão de modelo do hostname alvo na mesma sintaxe que em Modelos de Provisionamento (ERB)."
889
+
890
+ #: ../app/views/discovery_rules/_template_inline.erb:4
891
+ msgid ""
892
+ "Domain will be appended automatically. A hostname based on MAC address will "
893
+ "be used when left blank."
894
+ msgstr ""
895
+
896
+ #: ../app/views/discovery_rules/_template_inline.erb:5
897
+ msgid ""
898
+ "In addition to @host attribute function rand for random integers is "
899
+ "available. Examples:"
900
+ msgstr ""
901
+
902
+ #: ../app/views/discovery_rules/_template_inline.erb:8
903
+ msgid ""
904
+ "When creating hostname patterns, make sure the resulting host names are "
905
+ "unique."
906
+ msgstr ""
907
+
908
+ #: ../app/views/discovery_rules/_template_inline.erb:9
909
+ msgid ""
910
+ "Hostnames must not start with numbers. A good approach is to use unique "
911
+ "information provided by facter (MAC address, BIOS or serial ID)."
912
+ msgstr ""
913
+
776
914
  #: ../app/views/discovery_rules/edit.html.erb:1
777
915
  msgid "Edit Discovery Rule"
778
916
  msgstr "Editar Regra de Descoberta"
@@ -817,10 +955,10 @@ msgstr "Nova Regra de Descoberta"
817
955
  msgid "A summary of discovered hosts"
818
956
  msgstr ""
819
957
 
820
- #: ../lib/foreman_discovery/engine.rb:141
958
+ #: ../lib/foreman_discovery/engine.rb:152
821
959
  msgid "Discovery rules"
822
960
  msgstr "Regras de descobertas"
823
961
 
824
- #: ../lib/foreman_discovery/engine.rb:146
962
+ #: ../lib/foreman_discovery/engine.rb:157
825
963
  msgid "Discovery widget"
826
964
  msgstr "Widget de descoberta"