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
@@ -9,10 +9,10 @@
9
9
  # Sergio Ocón <sergio.ocon@redhat.com>, 2014
10
10
  msgid ""
11
11
  msgstr ""
12
- "Project-Id-Version: Foreman\n"
12
+ "Project-Id-Version: foreman_discovery 5.0.2\n"
13
13
  "Report-Msgid-Bugs-To: \n"
14
- "POT-Creation-Date: 2016-02-25 10:58+0100\n"
15
- "PO-Revision-Date: 2016-02-25 10:06+0000\n"
14
+ "POT-Creation-Date: 2016-07-27 14:13+0200\n"
15
+ "PO-Revision-Date: 2016-07-28 09:01+0000\n"
16
16
  "Last-Translator: Lukáš Zapletal\n"
17
17
  "Language-Team: Spanish (http://www.transifex.com/foreman/foreman/language/es/)\n"
18
18
  "MIME-Version: 1.0\n"
@@ -91,56 +91,56 @@ msgid ""
91
91
  "eth0 (example in case primary interface is named eth0)"
92
92
  msgstr ""
93
93
 
94
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:112
94
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:109
95
95
  msgid "Execute rules against a discovered host"
96
96
  msgstr "Ejecutar reglas enun host descubierto"
97
97
 
98
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:118
99
- #: ../app/controllers/discovered_hosts_controller.rb:147
98
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:115
99
+ #: ../app/controllers/discovered_hosts_controller.rb:164
100
100
  msgid "Host %{host} was provisioned with rule %{rule}"
101
101
  msgstr "Se aprovisionó host %{host} con regla %{rule}"
102
102
 
103
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:121
103
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:118
104
104
  msgid "Unable to provision %{host}: %{errors}"
105
105
  msgstr ""
106
106
 
107
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:127
108
- #: ../app/controllers/discovered_hosts_controller.rb:154
107
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:124
108
+ #: ../app/controllers/discovered_hosts_controller.rb:171
109
109
  msgid "No rule found for host %s"
110
110
  msgstr "No se encontró regla para host %s"
111
111
 
112
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:134
112
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:131
113
113
  msgid "Execute rules against all currently discovered hosts"
114
114
  msgstr "Ejecutar todas las reglas en todos los hosts descubiertos actualmente"
115
115
 
116
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:138
117
- #: ../app/controllers/discovered_hosts_controller.rb:160
116
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:135
117
+ #: ../app/controllers/discovered_hosts_controller.rb:177
118
118
  msgid "Errors during auto provisioning: %s"
119
119
  msgstr "Errores durante el autoaprovisionamiento: %s"
120
120
 
121
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:141
122
- #: ../app/controllers/discovered_hosts_controller.rb:163
121
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:138
122
+ #: ../app/controllers/discovered_hosts_controller.rb:180
123
123
  msgid "No discovered hosts to provision"
124
124
  msgstr "No hay hosts descubiertos para aprovisionar"
125
125
 
126
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:163
126
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:160
127
127
  msgid "%s discovered hosts were provisioned"
128
128
  msgstr ""
129
129
 
130
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:174
130
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:171
131
131
  msgid "Refreshing the facts of a discovered host"
132
132
  msgstr "Actualizar eventos de un host descubierto"
133
133
 
134
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:183
134
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:180
135
135
  msgid "Rebooting a discovered host"
136
136
  msgstr "Reinicio de un host descubierto"
137
137
 
138
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:192
138
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:189
139
139
  msgid "Rebooting all discovered hosts"
140
140
  msgstr ""
141
141
 
142
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:203
143
- #: ../app/controllers/discovered_hosts_controller.rb:105
142
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:200
143
+ #: ../app/controllers/discovered_hosts_controller.rb:122
144
144
  msgid "Discovered hosts are rebooting now"
145
145
  msgstr "Los hosts descubiertos están reiniciando"
146
146
 
@@ -182,18 +182,22 @@ msgstr "pone las reglas en orden, los números inferiores van primero. Debe ser
182
182
  msgid "flag is used for temporary shutdown of rules"
183
183
  msgstr "Indicador utilizado para cierres temporales de reglas "
184
184
 
185
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:41
185
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:42
186
186
  msgid "Create a discovery rule"
187
187
  msgstr "Crear una regla de descubrimiento"
188
188
 
189
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:49
189
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:50
190
190
  msgid "Update a rule"
191
191
  msgstr "Actualizar una regla"
192
192
 
193
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:57
193
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:58
194
194
  msgid "Delete a rule"
195
195
  msgstr "Borrar una regla"
196
196
 
197
+ #: ../app/controllers/api/v2/fact_values_controller_extensions.rb:7
198
+ msgid "List all fact values of a given discovered host"
199
+ msgstr ""
200
+
197
201
  #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:6
198
202
  msgid "Unable to find a discovery rule, no host provided (check permissions)"
199
203
  msgstr ""
@@ -202,156 +206,186 @@ msgstr ""
202
206
  msgid "No hostgroup associated with rule '%s'"
203
207
  msgstr ""
204
208
 
205
- #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:63
209
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:66
206
210
  msgid "Errors during reboot: %s"
207
211
  msgstr "Hubo errores durante el reinicio: %s"
208
212
 
209
- #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:81
213
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:84
210
214
  msgid "No discovered hosts to reboot"
211
215
  msgstr "No hay hosts descubiertos para reiniciar"
212
216
 
213
- #: ../app/controllers/discovered_hosts_controller.rb:73
217
+ #: ../app/controllers/discovered_hosts_controller.rb:58
218
+ msgid "Successfully provisioned %s"
219
+ msgstr ""
220
+
221
+ #: ../app/controllers/discovered_hosts_controller.rb:90
214
222
  msgid "Facts refreshed for %s"
215
223
  msgstr "Eventos actualizados para %s"
216
224
 
217
- #: ../app/controllers/discovered_hosts_controller.rb:75
225
+ #: ../app/controllers/discovered_hosts_controller.rb:92
218
226
  msgid "Failed to refresh facts for %s"
219
227
  msgstr "No se pudieron actualizar datos para %s"
220
228
 
221
- #: ../app/controllers/discovered_hosts_controller.rb:78
229
+ #: ../app/controllers/discovered_hosts_controller.rb:95
222
230
  msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
223
231
  msgstr ""
224
232
 
225
- #: ../app/controllers/discovered_hosts_controller.rb:85
233
+ #: ../app/controllers/discovered_hosts_controller.rb:102
226
234
  msgid "Host of type %s can not be rebooted"
227
235
  msgstr "Host de tipo %s no puede ser reiniciado"
228
236
 
229
- #: ../app/controllers/discovered_hosts_controller.rb:89
237
+ #: ../app/controllers/discovered_hosts_controller.rb:106
230
238
  msgid "Rebooting host %s"
231
239
  msgstr "Reiniciando host %s"
232
240
 
233
- #: ../app/controllers/discovered_hosts_controller.rb:91
241
+ #: ../app/controllers/discovered_hosts_controller.rb:108
234
242
  msgid "Failed to reboot host %s"
235
243
  msgstr "No se pudo reiniciar el host %s"
236
244
 
237
- #: ../app/controllers/discovered_hosts_controller.rb:94
245
+ #: ../app/controllers/discovered_hosts_controller.rb:111
238
246
  msgid "Failed to reboot host %{hostname} with error %{error_message}"
239
247
  msgstr "No se pudo reiniciar host %{hostname} con error %{error_message}"
240
248
 
241
- #: ../app/controllers/discovered_hosts_controller.rb:108
249
+ #: ../app/controllers/discovered_hosts_controller.rb:125
242
250
  msgid "Failed to reboot hosts with error %s"
243
251
  msgstr ""
244
252
 
245
- #: ../app/controllers/discovered_hosts_controller.rb:122
253
+ #: ../app/controllers/discovered_hosts_controller.rb:139
246
254
  msgid "Destroyed selected hosts"
247
255
  msgstr "Hosts seleccionados han sido destruidos "
248
256
 
249
- #: ../app/controllers/discovered_hosts_controller.rb:124
257
+ #: ../app/controllers/discovered_hosts_controller.rb:141
250
258
  msgid "The following hosts were not deleted: %s"
251
259
  msgstr "Los siguientes hosts no han sido eliminados: %s"
252
260
 
253
- #: ../app/controllers/discovered_hosts_controller.rb:151
261
+ #: ../app/controllers/discovered_hosts_controller.rb:168
254
262
  msgid "Failed to auto provision host %s: %s"
255
263
  msgstr "Falló aprovisionamiento de host %s: %s"
256
264
 
257
- #: ../app/controllers/discovered_hosts_controller.rb:179
265
+ #: ../app/controllers/discovered_hosts_controller.rb:196
258
266
  msgid "Discovered hosts are provisioning now"
259
267
  msgstr "Hosts descubiertos se están aprovisionando"
260
268
 
261
- #: ../app/controllers/discovered_hosts_controller.rb:267
269
+ #: ../app/controllers/discovered_hosts_controller.rb:225
270
+ msgid "Highlights"
271
+ msgstr ""
272
+
273
+ #: ../app/controllers/discovered_hosts_controller.rb:225
274
+ msgid "Storage"
275
+ msgstr ""
276
+
277
+ #: ../app/controllers/discovered_hosts_controller.rb:225
278
+ msgid "Hardware"
279
+ msgstr ""
280
+
281
+ #: ../app/controllers/discovered_hosts_controller.rb:225
282
+ msgid "Network"
283
+ msgstr ""
284
+
285
+ #: ../app/controllers/discovered_hosts_controller.rb:225
286
+ msgid "Software"
287
+ msgstr ""
288
+
289
+ #: ../app/controllers/discovered_hosts_controller.rb:225
290
+ msgid "IPMI"
291
+ msgstr ""
292
+
293
+ #: ../app/controllers/discovered_hosts_controller.rb:225
294
+ msgid "Miscellaneous"
295
+ msgstr ""
296
+
297
+ #: ../app/controllers/discovered_hosts_controller.rb:302
262
298
  msgid "No hosts were found with that id or name"
263
299
  msgstr "No se han encontrado hosts con ese ID o nombre"
264
300
 
265
- #: ../app/controllers/discovered_hosts_controller.rb:271
301
+ #: ../app/controllers/discovered_hosts_controller.rb:306
266
302
  msgid "No hosts selected"
267
303
  msgstr "No se ha seleccionado ningún equipo"
268
304
 
269
- #: ../app/controllers/discovered_hosts_controller.rb:277
305
+ #: ../app/controllers/discovered_hosts_controller.rb:312
270
306
  msgid "Something went wrong while selecting hosts - %s"
271
307
  msgstr "Algo ha fallado al seleccionar hosts - %s"
272
308
 
273
- #: ../app/controllers/discovery_rules_controller.rb:66
274
- msgid "Rule disabled"
275
- msgstr "Regla inhabilitada"
276
-
277
309
  #: ../app/controllers/discovery_rules_controller.rb:66
278
310
  msgid "Rule enabled"
279
311
  msgstr "Regla habilitada"
280
312
 
281
- #: ../app/helpers/discovered_hosts_helper.rb:11
313
+ #: ../app/controllers/discovery_rules_controller.rb:66
314
+ msgid "Rule disabled"
315
+ msgstr "Regla inhabilitada"
316
+
317
+ #: ../app/helpers/discovered_hosts_helper.rb:10
282
318
  msgid "%s ago"
283
319
  msgstr "Hace %s"
284
320
 
285
- #: ../app/helpers/discovered_hosts_helper.rb:15
286
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:42
321
+ #: ../app/helpers/discovered_hosts_helper.rb:14
322
+ #: ../app/helpers/discovered_hosts_helper.rb:94
287
323
  msgid "Provision"
288
324
  msgstr "Aprovisionamiento"
289
325
 
290
- #: ../app/helpers/discovered_hosts_helper.rb:16
291
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:43
326
+ #: ../app/helpers/discovered_hosts_helper.rb:15
327
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:74
292
328
  msgid "Auto Provision"
293
329
  msgstr "Autoaprovisionamiento"
294
330
 
295
- #: ../app/helpers/discovered_hosts_helper.rb:17
296
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:44
331
+ #: ../app/helpers/discovered_hosts_helper.rb:16
332
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:75
297
333
  msgid "Refresh facts"
298
334
  msgstr "Actualizar datos"
299
335
 
300
- #: ../app/helpers/discovered_hosts_helper.rb:18
301
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:45
336
+ #: ../app/helpers/discovered_hosts_helper.rb:17
337
+ #: ../app/models/setting/discovered.rb:23
338
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:76
302
339
  msgid "Reboot"
303
340
  msgstr "Reiniciar"
304
341
 
305
- #: ../app/helpers/discovered_hosts_helper.rb:21
342
+ #: ../app/helpers/discovered_hosts_helper.rb:20
306
343
  msgid "Back"
307
344
  msgstr ""
308
345
 
309
- #: ../app/helpers/discovered_hosts_helper.rb:23
310
- #: ../app/helpers/discovered_hosts_helper.rb:46
346
+ #: ../app/helpers/discovered_hosts_helper.rb:22
347
+ #: ../app/helpers/discovered_hosts_helper.rb:39
311
348
  msgid "Select Action"
312
349
  msgstr "Seleccionar una acción"
313
350
 
314
- #: ../app/helpers/discovered_hosts_helper.rb:30
351
+ #: ../app/helpers/discovered_hosts_helper.rb:24
315
352
  msgid "Expand All"
316
353
  msgstr ""
317
354
 
318
- #: ../app/helpers/discovered_hosts_helper.rb:35
319
- msgid "Delete"
320
- msgstr "Borrar"
321
-
322
- #: ../app/helpers/discovered_hosts_helper.rb:36
323
- msgid "Are you sure?"
324
- msgstr "¿Está seguro?"
355
+ #: ../app/helpers/discovered_hosts_helper.rb:29
356
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:77
357
+ msgid "Delete %s?"
358
+ msgstr "¿Borrar %s?"
325
359
 
326
- #: ../app/helpers/discovered_hosts_helper.rb:42
360
+ #: ../app/helpers/discovered_hosts_helper.rb:35
327
361
  msgid "Delete hosts"
328
362
  msgstr "Borrar hosts"
329
363
 
330
- #: ../app/helpers/discovered_hosts_helper.rb:43
364
+ #: ../app/helpers/discovered_hosts_helper.rb:36
331
365
  msgid "Assign Organization"
332
366
  msgstr "Asignar organización"
333
367
 
334
- #: ../app/helpers/discovered_hosts_helper.rb:44
368
+ #: ../app/helpers/discovered_hosts_helper.rb:37
335
369
  msgid "Assign Location"
336
370
  msgstr "Asignar ubicación"
337
371
 
338
- #: ../app/helpers/discovered_hosts_helper.rb:48
372
+ #: ../app/helpers/discovered_hosts_helper.rb:41
339
373
  msgid "%s - The following hosts are about to be changed"
340
374
  msgstr "%s - Los siguientes hosts están a punto de ser modificados"
341
375
 
342
- #: ../app/helpers/discovered_hosts_helper.rb:57
376
+ #: ../app/helpers/discovered_hosts_helper.rb:50
343
377
  msgid "N/A"
344
378
  msgstr "N/A"
345
379
 
346
- #: ../app/helpers/discovered_hosts_helper.rb:69
380
+ #: ../app/helpers/discovered_hosts_helper.rb:62
347
381
  msgid "New in the last 24 hours"
348
382
  msgstr "Nuevo en las últimas 24 horas"
349
383
 
350
- #: ../app/helpers/discovered_hosts_helper.rb:73
384
+ #: ../app/helpers/discovered_hosts_helper.rb:66
351
385
  msgid "Not reported in more than 7 days"
352
386
  msgstr ""
353
387
 
354
- #: ../app/helpers/discovered_hosts_helper.rb:77
388
+ #: ../app/helpers/discovered_hosts_helper.rb:70
355
389
  msgid "Reported in the last 7 days"
356
390
  msgstr ""
357
391
 
@@ -363,14 +397,14 @@ msgstr "Equipos descubiertos"
363
397
  msgid "Associated Hosts"
364
398
  msgstr ""
365
399
 
366
- #: ../app/helpers/discovery_rules_helper.rb:29
367
- msgid "Disable rule '%s'?"
368
- msgstr ""
369
-
370
400
  #: ../app/helpers/discovery_rules_helper.rb:29
371
401
  msgid "Disable"
372
402
  msgstr "Inhabilitar"
373
403
 
404
+ #: ../app/helpers/discovery_rules_helper.rb:29
405
+ msgid "Disable rule '%s'?"
406
+ msgstr ""
407
+
374
408
  #: ../app/helpers/discovery_rules_helper.rb:31
375
409
  msgid "Enable"
376
410
  msgstr "Activar"
@@ -399,7 +433,7 @@ msgstr "no pueden contener espacios en blanco."
399
433
  msgid "must start with a letter or ERB."
400
434
  msgstr "debe iniciar por una letra o ERB."
401
435
 
402
- #: ../app/models/discovery_rule.rb:49
436
+ #: ../app/models/discovery_rule.rb:47
403
437
  msgid ""
404
438
  "Host group organization %s must also be associated to the discovery rule"
405
439
  msgid_plural ""
@@ -407,46 +441,50 @@ msgid_plural ""
407
441
  msgstr[0] ""
408
442
  msgstr[1] ""
409
443
 
410
- #: ../app/models/discovery_rule.rb:55
444
+ #: ../app/models/discovery_rule.rb:53
411
445
  msgid "Host group location %s must also be associated to the discovery rule"
412
446
  msgid_plural ""
413
447
  "Host group locations %s must also be associated to the discovery rule"
414
448
  msgstr[0] ""
415
449
  msgstr[1] ""
416
450
 
417
- #: ../app/models/host/discovered.rb:34
451
+ #: ../app/models/host/discovered.rb:35
418
452
  msgid "Invalid facts, must be a Hash"
419
453
  msgstr "Eventos no válidos, debe ser un Hash"
420
454
 
421
- #: ../app/models/host/discovered.rb:39
455
+ #: ../app/models/host/discovered.rb:40
422
456
  msgid ""
423
457
  "Expected discovery_fact '%s' is missing, unable to detect primary interface "
424
458
  "and set hostname"
425
459
  msgstr "No se encontró discovery_fact '%s', ha sido imposible detectar el interfaz primario y asignar el nombre de host"
426
460
 
427
- #: ../app/models/host/discovered.rb:46
461
+ #: ../app/models/host/discovered.rb:47
428
462
  msgid ""
429
463
  "Invalid facts: hash does not contain a valid value for any of the facts in "
430
464
  "the discovery_hostname setting: %s"
431
465
  msgstr ""
432
466
 
433
- #: ../app/models/host/discovered.rb:107
467
+ #: ../app/models/host/discovered.rb:64
468
+ msgid "Facts could not be imported"
469
+ msgstr ""
470
+
471
+ #: ../app/models/host/discovered.rb:114
434
472
  msgid "Unable to assign subnet, primary interface is missing IP address"
435
473
  msgstr ""
436
474
 
437
- #: ../app/models/host/discovered.rb:149
475
+ #: ../app/models/host/discovered.rb:168
438
476
  msgid "Could not get facts from proxy %{url}: %{error}"
439
477
  msgstr "No se pueden obtener eventos del proxy %{url}: %{error}"
440
478
 
441
- #: ../app/models/host/discovered.rb:165
479
+ #: ../app/models/host/discovered.rb:184
442
480
  msgid "Unable to reboot %{name} via %{url}: %{msg}"
443
481
  msgstr ""
444
482
 
445
- #: ../app/models/host/discovered.rb:173
483
+ #: ../app/models/host/discovered.rb:192
446
484
  msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
447
485
  msgstr ""
448
486
 
449
- #: ../app/models/host/discovered.rb:192
487
+ #: ../app/models/host/discovered.rb:211
450
488
  msgid "Invalid hostname: Could not normalize the hostname"
451
489
  msgstr ""
452
490
 
@@ -474,60 +512,138 @@ msgstr ""
474
512
  msgid "Fact name to use for primary interface detection"
475
513
  msgstr ""
476
514
 
515
+ #: ../app/models/setting/discovered.rb:19
516
+ msgid "Interface fact"
517
+ msgstr ""
518
+
477
519
  #: ../app/models/setting/discovered.rb:20
520
+ msgid "Clean all reported facts during provisioning (except discovery facts)"
521
+ msgstr ""
522
+
523
+ #: ../app/models/setting/discovered.rb:20
524
+ msgid "Clean all facts"
525
+ msgstr ""
526
+
527
+ #: ../app/models/setting/discovered.rb:21
478
528
  msgid "List of facts to use for the hostname (separated by comma, first wins)"
479
529
  msgstr ""
480
530
 
481
531
  #: ../app/models/setting/discovered.rb:21
532
+ msgid "Hostname facts"
533
+ msgstr ""
534
+
535
+ #: ../app/models/setting/discovered.rb:22
482
536
  msgid ""
483
537
  "Automatically provision newly discovered hosts, according to the "
484
538
  "provisioning rules"
485
539
  msgstr "Aprovisionamiento automático de los hosts recién descubiertos, según las reglas de aprovisionamiento"
486
540
 
487
541
  #: ../app/models/setting/discovered.rb:22
488
- msgid "Automatically reboot discovered host during provisioning"
489
- msgstr "Reiniciar automáticamente el host descubierto durante la provisión"
542
+ msgid "Auto provisioning"
543
+ msgstr ""
490
544
 
491
- #: ../app/models/setting/discovered.rb:28
545
+ #: ../app/models/setting/discovered.rb:23
546
+ msgid "Automatically reboot or kexec discovered host during provisioning"
547
+ msgstr ""
548
+
549
+ #: ../app/models/setting/discovered.rb:24
492
550
  msgid "The default prefix to use for the host name, must start with a letter"
493
551
  msgstr "El prefijo predeterminado a usar para el nombre de host, debe iniciar por una letra"
494
552
 
495
- #: ../app/models/setting/discovered.rb:34
553
+ #: ../app/models/setting/discovered.rb:24
554
+ msgid "Hostname prefix"
555
+ msgstr ""
556
+
557
+ #: ../app/models/setting/discovered.rb:25
496
558
  msgid "Extra facter columns to show in host lists (separate by comma)"
497
559
  msgstr "Columnas extra de facter a mostrar en la lista de hosts (separadas por comas)"
498
560
 
499
- #: ../app/models/setting/discovered.rb:41
500
- msgid "The default location to place discovered hosts in"
501
- msgstr "La ubicación predeterminada en la cual se sitúan los hosts descubiertos "
561
+ #: ../app/models/setting/discovered.rb:25
562
+ msgid "Fact columns"
563
+ msgstr ""
502
564
 
503
- #: ../app/models/setting/discovered.rb:48
504
- msgid "The default organization to place discovered hosts in"
505
- msgstr "La ubicación predeterminada para situar organizaciones descubiertas "
565
+ #: ../app/models/setting/discovered.rb:26
566
+ msgid "Regex to organize facts for highlights section - e.g. ^(abc|cde)$"
567
+ msgstr ""
506
568
 
507
- #: ../app/models/setting/discovered.rb:55
508
- msgid "Regex to organize facts for highlights section"
569
+ #: ../app/models/setting/discovered.rb:26
570
+ msgid "Highlighted facts"
509
571
  msgstr ""
510
572
 
511
- #: ../app/models/setting/discovered.rb:56
573
+ #: ../app/models/setting/discovered.rb:27
512
574
  msgid "Regex to organize facts for storage section"
513
575
  msgstr ""
514
576
 
515
- #: ../app/models/setting/discovered.rb:57
577
+ #: ../app/models/setting/discovered.rb:27
578
+ msgid "Storage facts"
579
+ msgstr ""
580
+
581
+ #: ../app/models/setting/discovered.rb:28
516
582
  msgid "Regex to organize facts for software section"
517
583
  msgstr ""
518
584
 
519
- #: ../app/models/setting/discovered.rb:58
585
+ #: ../app/models/setting/discovered.rb:28
586
+ msgid "Software facts"
587
+ msgstr ""
588
+
589
+ #: ../app/models/setting/discovered.rb:29
520
590
  msgid "Regex to organize facts for hardware section"
521
591
  msgstr ""
522
592
 
523
- #: ../app/models/setting/discovered.rb:59
593
+ #: ../app/models/setting/discovered.rb:29
594
+ msgid "Hardware facts"
595
+ msgstr ""
596
+
597
+ #: ../app/models/setting/discovered.rb:30
524
598
  msgid "Regex to organize facts for network section"
525
599
  msgstr ""
526
600
 
527
- #: ../app/models/setting/discovered.rb:60
601
+ #: ../app/models/setting/discovered.rb:30
602
+ msgid "Network facts"
603
+ msgstr ""
604
+
605
+ #: ../app/models/setting/discovered.rb:31
528
606
  msgid "Regex to organize facts for ipmi section"
529
607
  msgstr ""
530
608
 
609
+ #: ../app/models/setting/discovered.rb:31
610
+ msgid "IPMI facts"
611
+ msgstr ""
612
+
613
+ #: ../app/models/setting/discovered.rb:32
614
+ msgid ""
615
+ "Automatically generate PXE configuration to pin a newly discovered host to "
616
+ "discovery"
617
+ msgstr ""
618
+
619
+ #: ../app/models/setting/discovered.rb:32
620
+ msgid "Lock PXE"
621
+ msgstr ""
622
+
623
+ #: ../app/models/setting/discovered.rb:33
624
+ msgid "PXE template to be used when pinning a host to discovery"
625
+ msgstr ""
626
+
627
+ #: ../app/models/setting/discovered.rb:33
628
+ msgid "Locked template name"
629
+ msgstr ""
630
+
631
+ #: ../app/models/setting/discovered.rb:40
632
+ msgid "The default location to place discovered hosts in"
633
+ msgstr "La ubicación predeterminada en la cual se sitúan los hosts descubiertos "
634
+
635
+ #: ../app/models/setting/discovered.rb:40
636
+ msgid "Discovery location"
637
+ msgstr ""
638
+
639
+ #: ../app/models/setting/discovered.rb:48
640
+ msgid "The default organization to place discovered hosts in"
641
+ msgstr "La ubicación predeterminada para situar organizaciones descubiertas "
642
+
643
+ #: ../app/models/setting/discovered.rb:48
644
+ msgid "Discovery organization"
645
+ msgstr ""
646
+
531
647
  #: ../app/services/foreman_discovery/fact_parser.rb:9
532
648
  msgid ""
533
649
  "Unable to detect primary interface using MAC '%{mac}' specified by "
@@ -573,18 +689,18 @@ msgid "Memory"
573
689
  msgstr "Memoria"
574
690
 
575
691
  #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:2
576
- #: ../lib/foreman_discovery/engine.rb:136
692
+ #: ../lib/foreman_discovery/engine.rb:147
577
693
  msgid "Discovered hosts"
578
694
  msgstr "Hosts descubiertos"
579
695
 
580
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
581
- msgid "items selected. Uncheck to Clear"
582
- msgstr "elementos seleccionados. Desactivar para limpiar"
583
-
584
696
  #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
585
697
  msgid "Select all items in this page"
586
698
  msgstr "Seleccionar todos los elementos de esta página"
587
699
 
700
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
701
+ msgid "items selected. Uncheck to Clear"
702
+ msgstr "elementos seleccionados. Desactivar para limpiar"
703
+
588
704
  #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:6
589
705
  #: ../app/views/discovered_hosts/_selected_hosts.html.erb:7
590
706
  #: ../app/views/discovered_mailer/discovered_summary.html.erb:17
@@ -628,19 +744,27 @@ msgstr "Subred"
628
744
  msgid "Last facts upload"
629
745
  msgstr "Últimos datos cargados"
630
746
 
631
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:46
632
- msgid "Delete %s?"
633
- msgstr "¿Borrar %s?"
747
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:48
748
+ msgid "Select initial host properties"
749
+ msgstr ""
634
750
 
635
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:57
751
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:65
752
+ msgid "Quick create"
753
+ msgstr ""
754
+
755
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:66
756
+ msgid "Create host"
757
+ msgstr ""
758
+
759
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:88
636
760
  msgid "Please Confirm"
637
761
  msgstr "Confirme, por favor"
638
762
 
639
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:63
763
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:94
640
764
  msgid "Cancel"
641
765
  msgstr "Cancelar"
642
766
 
643
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:64
767
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:95
644
768
  msgid "Submit"
645
769
  msgstr "Enviar"
646
770
 
@@ -674,6 +798,10 @@ msgstr "Seleccionar organización"
674
798
  msgid "Discovered host: %s"
675
799
  msgstr "Host descubierto: %s"
676
800
 
801
+ #: ../app/views/discovered_hosts/show.html.erb:24
802
+ msgid "Interfaces"
803
+ msgstr ""
804
+
677
805
  #: ../app/views/discovered_hosts/show.html.erb:32
678
806
  msgid "Identifier"
679
807
  msgstr ""
@@ -737,41 +865,51 @@ msgid "Template"
737
865
  msgstr "Plantilla"
738
866
 
739
867
  #: ../app/views/discovery_rules/_form.html.erb:26
740
- msgid ""
741
- "Specify target hostname template pattern in the same syntax as in "
742
- "Provisioning Templates (ERB)."
743
- msgstr "Especificar plantilla de nombre de host de destino en la misma sintaxis como en plantillas de aprovisionamiento (ERB)"
744
-
745
- #: ../app/views/discovery_rules/_form.html.erb:29
746
- msgid ""
747
- "Domain will be appended automatically. A hostname based on MAC address will "
748
- "be used when left blank. In addition to @host attribute function rand for "
749
- "random integers is available. Examples:"
750
- msgstr "Dominio se agregará automáticamente. Se utilizará un nombre de host basado en dirección MAC cuando se deje en blanco. Aparte del atributo @host, está disponible la función 'rand' para enteros aleatorios. Ejemplos:"
751
-
752
- #: ../app/views/discovery_rules/_form.html.erb:42
753
- msgid ""
754
- "When creating hostname patterns, make sure the resulting host names are "
755
- "unique. Hostnames must not start with numbers. A good approach is to use "
756
- "unique information provided by facter (MAC address, BIOS or serial ID)."
757
- msgstr "Al crear patrones de nombre de host, asegúrese de que los nombres de host resultantes, sean únicos. Los nombres de host no deben iniciar por números. Un buen método es usar información única provista por Facter (dirección MAC, BIOS o ID serial)."
758
-
759
- #: ../app/views/discovery_rules/_form.html.erb:43
760
868
  msgid "Hostname for provisioned hosts"
761
869
  msgstr "Nombre de host para hosts aprovisionados"
762
870
 
763
- #: ../app/views/discovery_rules/_form.html.erb:44
871
+ #: ../app/views/discovery_rules/_form.html.erb:27
764
872
  msgid "Hosts limit"
765
873
  msgstr "Límite de hosts"
766
874
 
767
- #: ../app/views/discovery_rules/_form.html.erb:44
875
+ #: ../app/views/discovery_rules/_form.html.erb:27
768
876
  msgid "Maximum hosts provisioned with this rule (0 = unlimited)"
769
877
  msgstr "Número máximo de hosts aprovisionados con esta regla (0 = ilimitado)"
770
878
 
771
- #: ../app/views/discovery_rules/_form.html.erb:45
879
+ #: ../app/views/discovery_rules/_form.html.erb:28
772
880
  msgid "Rule priority (lower integer means higher priority)"
773
881
  msgstr "Prioridad de regla (entero más bajo significa una prioridad más alta)"
774
882
 
883
+ #: ../app/views/discovery_rules/_template_inline.erb:2
884
+ msgid ""
885
+ "Specify target hostname template pattern in the same syntax as in "
886
+ "Provisioning Templates (ERB)."
887
+ msgstr "Especificar plantilla de nombre de host de destino en la misma sintaxis como en plantillas de aprovisionamiento (ERB)"
888
+
889
+ #: ../app/views/discovery_rules/_template_inline.erb:4
890
+ msgid ""
891
+ "Domain will be appended automatically. A hostname based on MAC address will "
892
+ "be used when left blank."
893
+ msgstr ""
894
+
895
+ #: ../app/views/discovery_rules/_template_inline.erb:5
896
+ msgid ""
897
+ "In addition to @host attribute function rand for random integers is "
898
+ "available. Examples:"
899
+ msgstr ""
900
+
901
+ #: ../app/views/discovery_rules/_template_inline.erb:8
902
+ msgid ""
903
+ "When creating hostname patterns, make sure the resulting host names are "
904
+ "unique."
905
+ msgstr ""
906
+
907
+ #: ../app/views/discovery_rules/_template_inline.erb:9
908
+ msgid ""
909
+ "Hostnames must not start with numbers. A good approach is to use unique "
910
+ "information provided by facter (MAC address, BIOS or serial ID)."
911
+ msgstr ""
912
+
775
913
  #: ../app/views/discovery_rules/edit.html.erb:1
776
914
  msgid "Edit Discovery Rule"
777
915
  msgstr "Mostrar regla de descubrimiento"
@@ -816,10 +954,10 @@ msgstr "Nuevo asistente de descubrimiento"
816
954
  msgid "A summary of discovered hosts"
817
955
  msgstr ""
818
956
 
819
- #: ../lib/foreman_discovery/engine.rb:141
957
+ #: ../lib/foreman_discovery/engine.rb:152
820
958
  msgid "Discovery rules"
821
959
  msgstr "Asistente de descubrimiento"
822
960
 
823
- #: ../lib/foreman_discovery/engine.rb:146
961
+ #: ../lib/foreman_discovery/engine.rb:157
824
962
  msgid "Discovery widget"
825
963
  msgstr "Asistente de descubrimiento"