foreman_remote_execution 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +28 -2
  3. data/.rubocop_todo.yml +0 -7
  4. data/Gemfile +1 -1
  5. data/app/controllers/api/v2/foreign_input_sets_controller.rb +1 -2
  6. data/app/controllers/api/v2/job_invocations_controller.rb +2 -2
  7. data/app/controllers/api/v2/job_templates_controller.rb +2 -3
  8. data/app/controllers/api/v2/remote_execution_features_controller.rb +1 -2
  9. data/app/controllers/api/v2/template_inputs_controller.rb +1 -2
  10. data/app/controllers/concerns/foreman/controller/parameters/job_template.rb +3 -3
  11. data/app/controllers/concerns/foreman/controller/parameters/template_input.rb +2 -2
  12. data/app/controllers/job_invocations_controller.rb +4 -7
  13. data/app/controllers/job_templates_controller.rb +2 -2
  14. data/app/controllers/remote_execution_features_controller.rb +1 -2
  15. data/app/helpers/remote_execution_helper.rb +22 -17
  16. data/app/lib/actions/remote_execution/run_host_job.rb +4 -10
  17. data/app/models/concerns/foreman_remote_execution/host_extensions.rb +29 -1
  18. data/app/models/host_status/execution_status.rb +1 -1
  19. data/app/models/input_template_renderer.rb +1 -1
  20. data/app/models/job_invocation.rb +12 -7
  21. data/app/models/job_invocation_composer.rb +15 -6
  22. data/app/models/job_invocation_task_group.rb +1 -1
  23. data/app/models/job_template.rb +45 -29
  24. data/app/models/job_template_importer.rb +21 -9
  25. data/app/models/remote_execution_feature.rb +4 -4
  26. data/app/models/setting/remote_execution.rb +7 -5
  27. data/app/models/ssh_execution_provider.rb +1 -3
  28. data/app/models/targeting.rb +6 -5
  29. data/app/models/template_invocation.rb +43 -1
  30. data/app/views/job_invocations/_form.html.erb +1 -1
  31. data/app/views/job_invocations/_tab_overview.html.erb +10 -1
  32. data/config/routes.rb +2 -2
  33. data/db/migrate/20150903192731_add_execution_to_interface.rb +6 -6
  34. data/db/migrate/20151215114631_add_host_id_to_template_invocation.rb +3 -2
  35. data/db/migrate/20160114120200_rename_job_categories.rb +1 -1
  36. data/db/migrate/20160127134031_add_advanced_to_template_input.rb +1 -1
  37. data/db/seeds.d/70-job_templates.rb +1 -1
  38. data/db/seeds.d/90-bookmarks.rb +1 -1
  39. data/doc/Gemfile +1 -1
  40. data/lib/foreman_remote_execution/engine.rb +1 -1
  41. data/lib/foreman_remote_execution/version.rb +1 -1
  42. data/lib/tasks/foreman_remote_execution_tasks.rake +1 -1
  43. data/locale/action_names.rb +1 -1
  44. data/locale/de/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  45. data/locale/de/foreman_remote_execution.po +39 -12
  46. data/locale/en/foreman_remote_execution.po +38 -11
  47. data/locale/en_GB/foreman_remote_execution.po +38 -11
  48. data/locale/es/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  49. data/locale/es/foreman_remote_execution.po +39 -12
  50. data/locale/foreman_remote_execution.pot +175 -141
  51. data/locale/fr/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  52. data/locale/fr/foreman_remote_execution.po +39 -12
  53. data/locale/ja/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  54. data/locale/ja/foreman_remote_execution.po +39 -12
  55. data/locale/ko/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  56. data/locale/ko/foreman_remote_execution.po +39 -12
  57. data/locale/pt_BR/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  58. data/locale/pt_BR/foreman_remote_execution.po +39 -12
  59. data/locale/ru/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  60. data/locale/ru/foreman_remote_execution.po +39 -12
  61. data/locale/zh_CN/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  62. data/locale/zh_CN/foreman_remote_execution.po +39 -12
  63. data/locale/zh_TW/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  64. data/locale/zh_TW/foreman_remote_execution.po +39 -12
  65. data/test/benchmark/run_hosts_job_benchmark.rb +2 -2
  66. data/test/benchmark/targeting_benchmark.rb +2 -2
  67. data/test/factories/foreman_remote_execution_factories.rb +27 -2
  68. data/test/functional/api/v2/job_templates_controller_test.rb +1 -1
  69. data/test/test_plugin_helper.rb +2 -19
  70. data/test/unit/concerns/host_extensions_test.rb +54 -5
  71. data/test/unit/concerns/nic_extensions_test.rb +1 -1
  72. data/test/unit/execution_task_status_mapper_test.rb +1 -2
  73. data/test/unit/input_template_renderer_test.rb +1 -1
  74. data/test/unit/job_invocation_composer_test.rb +21 -29
  75. data/test/unit/job_invocation_test.rb +1 -2
  76. data/test/unit/job_template_effective_user_test.rb +1 -1
  77. data/test/unit/job_template_importer_test.rb +38 -20
  78. data/test/unit/job_template_test.rb +8 -8
  79. data/test/unit/remote_execution_feature_test.rb +6 -6
  80. data/test/unit/remote_execution_provider_test.rb +2 -1
  81. data/test/unit/targeting_test.rb +6 -6
  82. data/test/unit/template_input_test.rb +1 -1
  83. data/test/unit/template_invocation_input_value_test.rb +3 -3
  84. metadata +3 -3
@@ -17,6 +17,9 @@ msgstr ""
17
17
  "Language: es\n"
18
18
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
19
 
20
+ msgid "%s"
21
+ msgstr ""
22
+
20
23
  msgid "%s ago"
21
24
  msgstr "Hace %s"
22
25
 
@@ -94,9 +97,18 @@ msgstr "Cerrar"
94
97
  msgid "Concurrency level"
95
98
  msgstr "Nivel de concurrencia"
96
99
 
100
+ msgid "Concurrency level limited to"
101
+ msgstr ""
102
+
97
103
  msgid "Control concurrency level and distribution over time"
98
104
  msgstr "Controlar el nivel de concurrencia y la distribución en el tiempo"
99
105
 
106
+ msgid "Could not find any suitable interface for execution"
107
+ msgstr ""
108
+
109
+ msgid "Could not render the preview because no host matches the search query."
110
+ msgstr ""
111
+
100
112
  msgid "Could not use any proxy. Consider configuring %{global_proxy}, %{fallback_proxy} or %{no_proxy} in settings"
101
113
  msgstr ""
102
114
 
@@ -184,12 +196,6 @@ msgstr "Ejecución"
184
196
  msgid "Exit status: %s"
185
197
  msgstr "Estado de salida: %s"
186
198
 
187
- msgid "Explanation"
188
- msgstr "Explicación"
189
-
190
- msgid "Export"
191
- msgstr "Exportar"
192
-
193
199
  msgid "Export a job template to ERB"
194
200
  msgstr "Exportar una plantilla de trabajo desde ERB"
195
201
 
@@ -295,6 +301,9 @@ msgstr "Plantillas de trabajo"
295
301
  msgid "Job category"
296
302
  msgstr "Categoría de trabajo"
297
303
 
304
+ msgid "Job execution failed"
305
+ msgstr ""
306
+
298
307
  msgid "Job finished with error"
299
308
  msgstr "El trabajo finalizó con error."
300
309
 
@@ -403,9 +412,6 @@ msgstr "pendiente"
403
412
  msgid "Perform no more executions after this time"
404
413
  msgstr "No ejecutar más después de esta cantidad de veces"
405
414
 
406
- msgid "Playbook execution failed"
407
- msgstr ""
408
-
409
415
  msgid "Port to use for SSH communication. Default port 22. You may override per host by setting a parameter called remote_execution_ssh_port."
410
416
  msgstr ""
411
417
 
@@ -496,12 +502,18 @@ msgstr "SSH"
496
502
  msgid "SSH provider specific options"
497
503
  msgstr "Opciones específicas del proveedor SSH"
498
504
 
505
+ msgid "Schedule Remote Job"
506
+ msgstr ""
507
+
499
508
  msgid "Schedule the job for a future time"
500
509
  msgstr "Programar el trabajo para el futuro"
501
510
 
502
511
  msgid "Schedule the job to start at a later time"
503
512
  msgstr "Programar el trabajo para que comience más tarde"
504
513
 
514
+ msgid "Scheduled to start at"
515
+ msgstr ""
516
+
505
517
  msgid "Scroll to bottom"
506
518
  msgstr "Desplazarse hasta el final"
507
519
 
@@ -532,6 +544,12 @@ msgstr "Seleccione tantos proxy de ejecución remota como se puedan aplicar a es
532
544
  msgid "Selectable values for user inputs"
533
545
  msgstr "Valores que se pueden seleccionar para entradas de usuario"
534
546
 
547
+ msgid "Set to distribute over"
548
+ msgstr ""
549
+
550
+ msgid "Should the ip addresses on host interfaces be preferred over the fqdn? It is useful, when DNS not resolving the fqdns properly. You may override this per host by setting a parameter called remote_execution_connect_by_ip."
551
+ msgstr ""
552
+
535
553
  msgid "Show foreign input set details"
536
554
  msgstr "Mostrar detalles del conjunto de entrada externo"
537
555
 
@@ -621,12 +639,12 @@ msgstr "La edición de la plantilla está bloqueada."
621
639
  msgid "This template is locked. Please clone it to a new template to customize."
622
640
  msgstr "La plantilla está bloqueada. Cópiela en una nueva para personalizarla."
623
641
 
624
- msgid "This template is used to generate the description Input values can be used using the syntax %{package}. You may also include the job category and template name using %{job_category} and %{template_name}."
625
- msgstr "Esta plantilla se utiliza para generar la descripción. Los valores de entrada se pueden utilizar con la sintaxis %{package}. También puede incluir la categoría de trabajo y el nombre de la plantilla con %{job_category} y %{template_name}."
626
-
627
642
  msgid "This template is used to generate the description. Input values can be used using the syntax %{package}. You may also include the job category and template name using %{job_category} and %{template_name}."
628
643
  msgstr "Esta plantilla se utiliza para generar la descripción. Los valores de entrada se pueden utilizar con la sintaxis %{package}. También puede incluir la categoría de trabajo y el nombre de la plantilla con %{job_category} y %{template_name}."
629
644
 
645
+ msgid "This template is used to generate the description.<br/>Input values can be used using the syntax %{package}.<br/>You may also include the job category and template<br/>name using %{job_category} and %{template_name}."
646
+ msgstr ""
647
+
630
648
  msgid "Time span"
631
649
  msgstr "Período de tiempo"
632
650
 
@@ -779,12 +797,18 @@ msgstr "no se encontró la plantilla incluida '%s'."
779
797
  msgid "input macro with name '%s' used, but no input with such name defined for this template"
780
798
  msgstr "macro de entrada con nombre '%s' en uso, pero ninguna entrada con ese nombre definida para esta plantilla"
781
799
 
800
+ msgid "minutes"
801
+ msgstr ""
802
+
782
803
  msgid "planned"
783
804
  msgstr ""
784
805
 
785
806
  msgid "queued"
786
807
  msgstr "en cola"
787
808
 
809
+ msgid "queued to start executing in %{time}"
810
+ msgstr ""
811
+
788
812
  msgid "remove template input"
789
813
  msgstr "eliminar entrada de la plantilla"
790
814
 
@@ -803,6 +827,9 @@ msgstr "exitoso"
803
827
  msgid "success"
804
828
  msgstr "Éxito"
805
829
 
830
+ msgid "tasks at a time"
831
+ msgstr ""
832
+
806
833
  msgid "template"
807
834
  msgstr "Plantilla"
808
835
 
@@ -8,8 +8,8 @@ msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: foreman_remote_execution 1.0.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2016-12-07 19:10+0100\n"
12
- "PO-Revision-Date: 2016-12-07 19:10+0100\n"
11
+ "POT-Creation-Date: 2017-05-30 18:05+0200\n"
12
+ "PO-Revision-Date: 2017-05-30 18:05+0200\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
15
  "Language: \n"
@@ -24,7 +24,7 @@ msgid ""
24
24
  "is one instead?"
25
25
  msgstr ""
26
26
 
27
- #: ../app/assets/javascripts/template_invocation.js:99
27
+ #: ../app/assets/javascripts/template_invocation.js:94
28
28
  msgid "There was an error while updating the status, try refreshing the page."
29
29
  msgstr ""
30
30
 
@@ -36,35 +36,35 @@ msgstr ""
36
36
  msgid "Show foreign input set details"
37
37
  msgstr ""
38
38
 
39
- #: ../app/controllers/api/v2/foreign_input_sets_controller.rb:26
39
+ #: ../app/controllers/api/v2/foreign_input_sets_controller.rb:25
40
40
  msgid "Target template ID"
41
41
  msgstr ""
42
42
 
43
- #: ../app/controllers/api/v2/foreign_input_sets_controller.rb:27
43
+ #: ../app/controllers/api/v2/foreign_input_sets_controller.rb:26
44
44
  msgid "Include all inputs from the foreign template"
45
45
  msgstr ""
46
46
 
47
+ #: ../app/controllers/api/v2/foreign_input_sets_controller.rb:27
47
48
  #: ../app/controllers/api/v2/foreign_input_sets_controller.rb:28
48
- #: ../app/controllers/api/v2/foreign_input_sets_controller.rb:29
49
49
  #: ../app/views/template_inputs/_foreign_input_set_form.html.erb:8
50
50
  msgid ""
51
51
  "A comma separated list of input names to be included from the foreign template"
52
52
  "."
53
53
  msgstr ""
54
54
 
55
- #: ../app/controllers/api/v2/foreign_input_sets_controller.rb:30
55
+ #: ../app/controllers/api/v2/foreign_input_sets_controller.rb:29
56
56
  msgid "Input set description"
57
57
  msgstr ""
58
58
 
59
- #: ../app/controllers/api/v2/foreign_input_sets_controller.rb:34
59
+ #: ../app/controllers/api/v2/foreign_input_sets_controller.rb:33
60
60
  msgid "Create a foreign input set"
61
61
  msgstr ""
62
62
 
63
- #: ../app/controllers/api/v2/foreign_input_sets_controller.rb:42
63
+ #: ../app/controllers/api/v2/foreign_input_sets_controller.rb:41
64
64
  msgid "Delete a foreign input set"
65
65
  msgstr ""
66
66
 
67
- #: ../app/controllers/api/v2/foreign_input_sets_controller.rb:49
67
+ #: ../app/controllers/api/v2/foreign_input_sets_controller.rb:48
68
68
  msgid "Update a foreign input set"
69
69
  msgstr ""
70
70
 
@@ -190,7 +190,7 @@ msgstr ""
190
190
  msgid "Export a job template to ERB"
191
191
  msgstr ""
192
192
 
193
- #: ../app/controllers/api/v2/job_templates_controller.rb:43
193
+ #: ../app/controllers/api/v2/job_templates_controller.rb:44
194
194
  msgid "Show job template details"
195
195
  msgstr ""
196
196
 
@@ -207,7 +207,6 @@ msgid "Job category"
207
207
  msgstr ""
208
208
 
209
209
  #: ../app/controllers/api/v2/job_templates_controller.rb:52
210
- #: ../app/views/job_templates/_custom_tabs.html.erb:14
211
210
  msgid ""
212
211
  "This template is used to generate the description. Input values can be used us"
213
212
  "ing the syntax %{package}. You may also include the job category and template "
@@ -245,7 +244,7 @@ msgid "Create a job template"
245
244
  msgstr ""
246
245
 
247
246
  #: ../app/controllers/api/v2/job_templates_controller.rb:79
248
- #: ../app/controllers/api/v2/remote_execution_features_controller.rb:25
247
+ #: ../app/controllers/api/v2/remote_execution_features_controller.rb:24
249
248
  msgid "Update a job template"
250
249
  msgstr ""
251
250
 
@@ -269,7 +268,7 @@ msgstr ""
269
268
  msgid "Show remote execution feature"
270
269
  msgstr ""
271
270
 
272
- #: ../app/controllers/api/v2/remote_execution_features_controller.rb:21
271
+ #: ../app/controllers/api/v2/remote_execution_features_controller.rb:20
273
272
  msgid "Job template ID to be used for the feature"
274
273
  msgstr ""
275
274
 
@@ -281,55 +280,55 @@ msgstr ""
281
280
  msgid "Show template input details"
282
281
  msgstr ""
283
282
 
284
- #: ../app/controllers/api/v2/template_inputs_controller.rb:27
283
+ #: ../app/controllers/api/v2/template_inputs_controller.rb:26
285
284
  msgid "Input name"
286
285
  msgstr ""
287
286
 
288
- #: ../app/controllers/api/v2/template_inputs_controller.rb:28
287
+ #: ../app/controllers/api/v2/template_inputs_controller.rb:27
289
288
  msgid "Input description"
290
289
  msgstr ""
291
290
 
292
- #: ../app/controllers/api/v2/template_inputs_controller.rb:29
291
+ #: ../app/controllers/api/v2/template_inputs_controller.rb:28
293
292
  msgid "Input is required"
294
293
  msgstr ""
295
294
 
296
- #: ../app/controllers/api/v2/template_inputs_controller.rb:30
295
+ #: ../app/controllers/api/v2/template_inputs_controller.rb:29
297
296
  msgid "Input is advanced"
298
297
  msgstr ""
299
298
 
300
- #: ../app/controllers/api/v2/template_inputs_controller.rb:31
299
+ #: ../app/controllers/api/v2/template_inputs_controller.rb:30
301
300
  msgid "Input type"
302
301
  msgstr ""
303
302
 
304
- #: ../app/controllers/api/v2/template_inputs_controller.rb:32
303
+ #: ../app/controllers/api/v2/template_inputs_controller.rb:31
305
304
  msgid "Fact name, used when input type is fact"
306
305
  msgstr ""
307
306
 
308
- #: ../app/controllers/api/v2/template_inputs_controller.rb:33
307
+ #: ../app/controllers/api/v2/template_inputs_controller.rb:32
309
308
  msgid "Variable name, used when input type is variable"
310
309
  msgstr ""
311
310
 
312
- #: ../app/controllers/api/v2/template_inputs_controller.rb:34
311
+ #: ../app/controllers/api/v2/template_inputs_controller.rb:33
313
312
  msgid "Puppet class name, used when input type is puppet_parameter"
314
313
  msgstr ""
315
314
 
316
- #: ../app/controllers/api/v2/template_inputs_controller.rb:35
315
+ #: ../app/controllers/api/v2/template_inputs_controller.rb:34
317
316
  msgid "Puppet parameter name, used when input type is puppet_parameter"
318
317
  msgstr ""
319
318
 
320
- #: ../app/controllers/api/v2/template_inputs_controller.rb:36
319
+ #: ../app/controllers/api/v2/template_inputs_controller.rb:35
321
320
  msgid "Selectable values for user inputs"
322
321
  msgstr ""
323
322
 
324
- #: ../app/controllers/api/v2/template_inputs_controller.rb:40
323
+ #: ../app/controllers/api/v2/template_inputs_controller.rb:39
325
324
  msgid "Create a template input"
326
325
  msgstr ""
327
326
 
328
- #: ../app/controllers/api/v2/template_inputs_controller.rb:48
327
+ #: ../app/controllers/api/v2/template_inputs_controller.rb:47
329
328
  msgid "Delete a template input"
330
329
  msgstr ""
331
330
 
332
- #: ../app/controllers/api/v2/template_inputs_controller.rb:55
331
+ #: ../app/controllers/api/v2/template_inputs_controller.rb:54
333
332
  msgid "Update a template input"
334
333
  msgstr ""
335
334
 
@@ -349,179 +348,184 @@ msgstr ""
349
348
 
350
349
  #:
351
350
  #: ../app/helpers/concerns/foreman_remote_execution/hosts_helper_extensions.rb:11
352
- #: ../app/helpers/concerns/foreman_remote_execution/hosts_helper_extensions.rb:15
353
- #: ../app/helpers/remote_execution_helper.rb:99
354
- msgid "Run Job"
351
+ #: ../app/helpers/concerns/foreman_remote_execution/hosts_helper_extensions.rb:27
352
+ msgid "Schedule Remote Job"
355
353
  msgstr ""
356
354
 
357
355
  #:
358
- #: ../app/helpers/concerns/foreman_remote_execution/job_templates_extensions.rb:13
359
- msgid "Export"
356
+ #: ../app/helpers/concerns/foreman_remote_execution/hosts_helper_extensions.rb:16
357
+ msgid "%s"
360
358
  msgstr ""
361
359
 
362
360
  #:
363
- #: ../app/helpers/concerns/foreman_remote_execution/job_templates_extensions.rb:14
361
+ #: ../app/helpers/concerns/foreman_remote_execution/job_templates_extensions.rb:13
364
362
  msgid "Run"
365
363
  msgstr ""
366
364
 
367
- #: ../app/helpers/remote_execution_helper.rb:23
365
+ #: ../app/helpers/remote_execution_helper.rb:18
368
366
  msgid "Success"
369
367
  msgstr ""
370
368
 
371
- #: ../app/helpers/remote_execution_helper.rb:24
369
+ #: ../app/helpers/remote_execution_helper.rb:19
372
370
  #: ../app/views/job_invocations/index.html.erb:11
373
371
  msgid "Failed"
374
372
  msgstr ""
375
373
 
376
- #: ../app/helpers/remote_execution_helper.rb:25
374
+ #: ../app/helpers/remote_execution_helper.rb:20
377
375
  #: ../app/views/job_invocations/index.html.erb:12
378
376
  msgid "Pending"
379
377
  msgstr ""
380
378
 
381
- #: ../app/helpers/remote_execution_helper.rb:26
379
+ #: ../app/helpers/remote_execution_helper.rb:21
382
380
  msgid "Cancelled"
383
381
  msgstr ""
384
382
 
385
383
  #: ../app/helpers/remote_execution_helper.rb:36
386
- msgid "queued"
384
+ msgid "queued to start executing in %{time}"
387
385
  msgstr ""
388
386
 
389
387
  #: ../app/helpers/remote_execution_helper.rb:38
388
+ msgid "queued"
389
+ msgstr ""
390
+
391
+ #: ../app/helpers/remote_execution_helper.rb:42
390
392
  msgid "running %{percent}%%"
391
393
  msgstr ""
392
394
 
393
- #: ../app/helpers/remote_execution_helper.rb:40
395
+ #: ../app/helpers/remote_execution_helper.rb:44
394
396
  msgid "succeeded"
395
397
  msgstr ""
396
398
 
397
- #: ../app/helpers/remote_execution_helper.rb:42
398
- #: ../app/helpers/remote_execution_helper.rb:75
399
+ #: ../app/helpers/remote_execution_helper.rb:46
400
+ #: ../app/helpers/remote_execution_helper.rb:68
399
401
  msgid "failed"
400
402
  msgstr ""
401
403
 
402
- #: ../app/helpers/remote_execution_helper.rb:44
404
+ #: ../app/helpers/remote_execution_helper.rb:48
403
405
  msgid "unknown status"
404
406
  msgstr ""
405
407
 
406
- #: ../app/helpers/remote_execution_helper.rb:66
408
+ #: ../app/helpers/remote_execution_helper.rb:62
407
409
  msgid "running"
408
410
  msgstr ""
409
411
 
410
- #: ../app/helpers/remote_execution_helper.rb:68
412
+ #: ../app/helpers/remote_execution_helper.rb:64
411
413
  msgid "planned"
412
414
  msgstr ""
413
415
 
414
- #: ../app/helpers/remote_execution_helper.rb:73
416
+ #: ../app/helpers/remote_execution_helper.rb:70
415
417
  msgid "cancelled"
416
418
  msgstr ""
417
419
 
418
- #: ../app/helpers/remote_execution_helper.rb:78
420
+ #: ../app/helpers/remote_execution_helper.rb:72
419
421
  msgid "success"
420
422
  msgstr ""
421
423
 
422
- #: ../app/helpers/remote_execution_helper.rb:87
424
+ #: ../app/helpers/remote_execution_helper.rb:81
423
425
  msgid "Host detail"
424
426
  msgstr ""
425
427
 
426
- #: ../app/helpers/remote_execution_helper.rb:88
428
+ #: ../app/helpers/remote_execution_helper.rb:82
427
429
  msgid "Rerun on %s"
428
430
  msgstr ""
429
431
 
430
- #: ../app/helpers/remote_execution_helper.rb:93
431
- #: ../app/helpers/remote_execution_helper.rb:205
432
- #: ../app/models/job_invocation.rb:131
432
+ #: ../app/helpers/remote_execution_helper.rb:87
433
+ #: ../app/helpers/remote_execution_helper.rb:206
434
+ #: ../app/models/job_invocation.rb:137
433
435
  msgid "N/A"
434
436
  msgstr ""
435
437
 
436
- #: ../app/helpers/remote_execution_helper.rb:107
437
- #: ../app/views/job_invocations/_form.html.erb:40
438
- msgid "Refresh"
438
+ #: ../app/helpers/remote_execution_helper.rb:93
439
+ msgid "Run Job"
439
440
  msgstr ""
440
441
 
441
- #: ../app/helpers/remote_execution_helper.rb:107
442
+ #: ../app/helpers/remote_execution_helper.rb:102
442
443
  msgid "Refresh this page"
443
444
  msgstr ""
444
445
 
445
- #: ../app/helpers/remote_execution_helper.rb:109
446
+ #: ../app/helpers/remote_execution_helper.rb:102
447
+ #: ../app/views/job_invocations/_form.html.erb:40
448
+ msgid "Refresh"
449
+ msgstr ""
450
+
451
+ #: ../app/helpers/remote_execution_helper.rb:104
446
452
  msgid "Rerun"
447
453
  msgstr ""
448
454
 
449
- #: ../app/helpers/remote_execution_helper.rb:111
455
+ #: ../app/helpers/remote_execution_helper.rb:106
450
456
  msgid "Rerun the job"
451
457
  msgstr ""
452
458
 
453
- #: ../app/helpers/remote_execution_helper.rb:114
459
+ #: ../app/helpers/remote_execution_helper.rb:109
454
460
  msgid "Rerun failed"
455
461
  msgstr ""
456
462
 
457
- #: ../app/helpers/remote_execution_helper.rb:117
463
+ #: ../app/helpers/remote_execution_helper.rb:112
458
464
  msgid "Rerun on failed hosts"
459
465
  msgstr ""
460
466
 
461
- #: ../app/helpers/remote_execution_helper.rb:120
467
+ #: ../app/helpers/remote_execution_helper.rb:115
462
468
  msgid "Job Task"
463
469
  msgstr ""
464
470
 
465
- #: ../app/helpers/remote_execution_helper.rb:122
471
+ #: ../app/helpers/remote_execution_helper.rb:117
466
472
  msgid "See the last task details"
467
473
  msgstr ""
468
474
 
469
- #: ../app/helpers/remote_execution_helper.rb:125
470
- #: ../app/helpers/remote_execution_helper.rb:143
475
+ #: ../app/helpers/remote_execution_helper.rb:120
476
+ #: ../app/helpers/remote_execution_helper.rb:138
471
477
  msgid "Cancel Job"
472
478
  msgstr ""
473
479
 
474
- #: ../app/helpers/remote_execution_helper.rb:127
480
+ #: ../app/helpers/remote_execution_helper.rb:122
475
481
  msgid "Try to cancel the job"
476
482
  msgstr ""
477
483
 
478
- #: ../app/helpers/remote_execution_helper.rb:138
484
+ #: ../app/helpers/remote_execution_helper.rb:133
479
485
  msgid "Task Details"
480
486
  msgstr ""
481
487
 
482
- #: ../app/helpers/remote_execution_helper.rb:140
488
+ #: ../app/helpers/remote_execution_helper.rb:135
483
489
  msgid "See the task details"
484
490
  msgstr ""
485
491
 
486
- #: ../app/helpers/remote_execution_helper.rb:145
492
+ #: ../app/helpers/remote_execution_helper.rb:140
487
493
  msgid "Try to cancel the job on a host"
488
494
  msgstr ""
489
495
 
490
- #: ../app/helpers/remote_execution_helper.rb:207
496
+ #: ../app/helpers/remote_execution_helper.rb:184
497
+ msgid "Could not render the preview because no host matches the search query."
498
+ msgstr ""
499
+
500
+ #: ../app/helpers/remote_execution_helper.rb:208
491
501
  msgid "%s ago"
492
502
  msgstr ""
493
503
 
494
- #: ../app/helpers/remote_execution_helper.rb:207
504
+ #: ../app/helpers/remote_execution_helper.rb:208
495
505
  msgid "in %s"
496
506
  msgstr ""
497
507
 
498
- #: ../app/helpers/remote_execution_helper.rb:219
508
+ #: ../app/helpers/remote_execution_helper.rb:220
499
509
  msgid "Template input"
500
510
  msgstr ""
501
511
 
502
- #: ../app/helpers/remote_execution_helper.rb:220
512
+ #: ../app/helpers/remote_execution_helper.rb:222
503
513
  msgid "remove template input"
504
514
  msgstr ""
505
515
 
506
- #: ../app/helpers/remote_execution_helper.rb:232
516
+ #: ../app/helpers/remote_execution_helper.rb:235
507
517
  msgid "Use default description template"
508
518
  msgstr ""
509
519
 
510
- #: ../app/helpers/remote_execution_helper.rb:237
520
+ #: ../app/helpers/remote_execution_helper.rb:240
511
521
  msgid "Description template"
512
522
  msgstr ""
513
523
 
514
- #: ../app/helpers/remote_execution_helper.rb:243
515
- #: ../app/views/job_invocations/_form.html.erb:101
516
- #: ../app/views/job_templates/_custom_tabs.html.erb:14
517
- msgid "Explanation"
518
- msgstr ""
519
-
520
- #: ../app/helpers/remote_execution_helper.rb:244
524
+ #: ../app/helpers/remote_execution_helper.rb:250
521
525
  msgid ""
522
- "This template is used to generate the description Input values can be used usi"
523
- "ng the syntax %{package}. You may also include the job category and template n"
524
- "ame using %{job_category} and %{template_name}."
526
+ "This template is used to generate the description.<br/>Input values can be use"
527
+ "d using the syntax %{package}.<br/>You may also include the job category and t"
528
+ "emplate<br/>name using %{job_category} and %{template_name}."
525
529
  msgstr ""
526
530
 
527
531
  #: ../app/lib/actions/remote_execution/run_host_job.rb:26
@@ -545,39 +549,38 @@ msgid "Failed rendering template: %s"
545
549
  msgstr ""
546
550
 
547
551
  #: ../app/lib/actions/remote_execution/run_host_job.rb:61
548
- #: ../app/lib/actions/remote_execution/run_host_job.rb:81
549
- msgid "Playbook execution failed"
552
+ msgid "Job execution failed"
550
553
  msgstr ""
551
554
 
552
- #: ../app/lib/actions/remote_execution/run_host_job.rb:71
555
+ #: ../app/lib/actions/remote_execution/run_host_job.rb:70
553
556
  msgid "%{description} on %{host}"
554
557
  msgstr ""
555
558
 
556
- #: ../app/lib/actions/remote_execution/run_host_job.rb:76 action_names.rb:5
559
+ #: ../app/lib/actions/remote_execution/run_host_job.rb:75 action_names.rb:5
557
560
  msgid "Remote action:"
558
561
  msgstr ""
559
562
 
560
- #: ../app/lib/actions/remote_execution/run_host_job.rb:104
563
+ #: ../app/lib/actions/remote_execution/run_host_job.rb:97
561
564
  msgid "Exit status: %s"
562
565
  msgstr ""
563
566
 
564
- #: ../app/lib/actions/remote_execution/run_host_job.rb:106
567
+ #: ../app/lib/actions/remote_execution/run_host_job.rb:99
565
568
  msgid "Job finished with error"
566
569
  msgstr ""
567
570
 
568
- #: ../app/lib/actions/remote_execution/run_host_job.rb:109
571
+ #: ../app/lib/actions/remote_execution/run_host_job.rb:102
569
572
  msgid "Error loading data from proxy"
570
573
  msgstr ""
571
574
 
572
- #: ../app/lib/actions/remote_execution/run_host_job.rb:145
575
+ #: ../app/lib/actions/remote_execution/run_host_job.rb:126
573
576
  msgid "User can not execute job on host %s"
574
577
  msgstr ""
575
578
 
576
- #: ../app/lib/actions/remote_execution/run_host_job.rb:146
579
+ #: ../app/lib/actions/remote_execution/run_host_job.rb:127
577
580
  msgid "User can not execute this job template"
578
581
  msgstr ""
579
582
 
580
- #: ../app/lib/actions/remote_execution/run_host_job.rb:151
583
+ #: ../app/lib/actions/remote_execution/run_host_job.rb:132
581
584
  msgid "User can not execute this job template on %s"
582
585
  msgstr ""
583
586
 
@@ -649,15 +652,15 @@ msgstr ""
649
652
  msgid "Unknown input %{input_name} for template %{template_name}"
650
653
  msgstr ""
651
654
 
652
- #: ../app/models/job_invocation_composer.rb:234
655
+ #: ../app/models/job_invocation_composer.rb:243
653
656
  msgid "Feature input %{input_name} not defined in template %{template_name}"
654
657
  msgstr ""
655
658
 
656
- #: ../app/models/job_invocation_composer.rb:243
659
+ #: ../app/models/job_invocation_composer.rb:252
657
660
  msgid "No template mapped to feature %{feature_name}"
658
661
  msgstr ""
659
662
 
660
- #: ../app/models/job_invocation_composer.rb:249
663
+ #: ../app/models/job_invocation_composer.rb:258
661
664
  msgid ""
662
665
  "The template %{template_name} mapped to feature %{feature_name} is not accessi"
663
666
  "ble by the user"
@@ -667,32 +670,32 @@ msgstr ""
667
670
  msgid "Job Invocation"
668
671
  msgstr ""
669
672
 
670
- #: ../app/models/job_template.rb:152
673
+ #: ../app/models/job_template.rb:168
671
674
  msgid "Duplicated inputs detected: %{duplicated_inputs}"
672
675
  msgstr ""
673
676
 
674
- #: ../app/models/job_template.rb:218
677
+ #: ../app/models/job_template.rb:234
675
678
  msgid "This template is locked. Please clone it to a new template to customize."
676
679
  msgstr ""
677
680
 
678
- #: ../app/models/remote_execution_feature.rb:18
681
+ #: ../app/models/remote_execution_feature.rb:21
679
682
  msgid "Unknown remote execution feature %s"
680
683
  msgstr ""
681
684
 
682
- #: ../app/models/setting/remote_execution.rb:10
685
+ #: ../app/models/setting/remote_execution.rb:11
683
686
  msgid ""
684
687
  "Search the host for any proxy with Remote Execution, useful when the host has "
685
688
  "no subnet or the subnet does not have an execution proxy"
686
689
  msgstr ""
687
690
 
688
- #: ../app/models/setting/remote_execution.rb:13
691
+ #: ../app/models/setting/remote_execution.rb:14
689
692
  msgid ""
690
693
  "Search for remote execution proxy outside of the proxies assigned to the host."
691
694
  " If locations or organizations are enabled, the search will be limited to the "
692
695
  "host's organization or location."
693
696
  msgstr ""
694
697
 
695
- #: ../app/models/setting/remote_execution.rb:18
698
+ #: ../app/models/setting/remote_execution.rb:19
696
699
  msgid ""
697
700
  "When enabled, the remote execution will try to run the commands directly, when"
698
701
  " no\n"
@@ -700,37 +703,48 @@ msgid ""
700
703
  " host."
701
704
  msgstr ""
702
705
 
703
- #: ../app/models/setting/remote_execution.rb:22
706
+ #: ../app/models/setting/remote_execution.rb:23
704
707
  msgid ""
705
708
  "Default user to use for SSH. You may override per host by setting a parameter"
706
709
  " called remote_execution_ssh_user."
707
710
  msgstr ""
708
711
 
709
- #: ../app/models/setting/remote_execution.rb:25
712
+ #: ../app/models/setting/remote_execution.rb:26
710
713
  msgid ""
711
714
  "Default user to use for executing the script. If the user differs from the SSH"
712
715
  " user, su or sudo is used to switch the user."
713
716
  msgstr ""
714
717
 
715
- #: ../app/models/setting/remote_execution.rb:28
718
+ #: ../app/models/setting/remote_execution.rb:29
716
719
  msgid "What command should be used to switch to the effective user. One of %s"
717
720
  msgstr ""
718
721
 
719
- #: ../app/models/setting/remote_execution.rb:34
722
+ #: ../app/models/setting/remote_execution.rb:35
720
723
  msgid "Whether we should sync templates from disk when running db:seed."
721
724
  msgstr ""
722
725
 
723
- #: ../app/models/setting/remote_execution.rb:37
726
+ #: ../app/models/setting/remote_execution.rb:38
724
727
  msgid ""
725
728
  "Port to use for SSH communication. Default port 22. You may override per host "
726
729
  "by setting a parameter called remote_execution_ssh_port."
727
730
  msgstr ""
728
731
 
732
+ #: ../app/models/setting/remote_execution.rb:41
733
+ msgid ""
734
+ "Should the ip addresses on host interfaces be preferred over the fqdn? It is u"
735
+ "seful, when DNS not resolving the fqdns properly. You may override this per ho"
736
+ "st by setting a parameter called remote_execution_connect_by_ip."
737
+ msgstr ""
738
+
729
739
  #: ../app/models/ssh_execution_provider.rb:14
730
740
  msgid "SSH"
731
741
  msgstr ""
732
742
 
733
- #: ../app/models/ssh_execution_provider.rb:38
743
+ #: ../app/models/ssh_execution_provider.rb:33
744
+ msgid "Could not find any suitable interface for execution"
745
+ msgstr ""
746
+
747
+ #: ../app/models/ssh_execution_provider.rb:55
734
748
  msgid "Effective user method \"%{current_value}\" is not one of %{valid_methods}"
735
749
  msgstr ""
736
750
 
@@ -750,20 +764,20 @@ msgstr ""
750
764
  msgid "Cannot resolve hosts without a bookmark or search query"
751
765
  msgstr ""
752
766
 
753
- #: ../app/models/targeting.rb:65 ../app/models/targeting.rb:66
767
+ #: ../app/models/targeting.rb:70 ../app/models/targeting.rb:71
754
768
  msgid "Must select a bookmark or enter a search query"
755
769
  msgstr ""
756
770
 
757
771
  #: ../app/models/template_input.rb:9
758
- msgid "Variable"
772
+ msgid "Fact value"
759
773
  msgstr ""
760
774
 
761
775
  #: ../app/models/template_input.rb:9
762
- msgid "Fact value"
776
+ msgid "User input"
763
777
  msgstr ""
764
778
 
765
779
  #: ../app/models/template_input.rb:9
766
- msgid "User input"
780
+ msgid "Variable"
767
781
  msgstr ""
768
782
 
769
783
  #: ../app/models/template_input.rb:10
@@ -778,7 +792,7 @@ msgstr ""
778
792
  msgid "Input"
779
793
  msgstr ""
780
794
 
781
- #: ../app/models/template_invocation.rb:48
795
+ #: ../app/models/template_invocation.rb:90
782
796
  msgid "Not all required inputs have values. Missing inputs: %s"
783
797
  msgstr ""
784
798
 
@@ -812,18 +826,18 @@ msgstr ""
812
826
  msgid "Hide advanced fields"
813
827
  msgstr ""
814
828
 
815
- #: ../app/views/job_invocations/_form.html.erb:75
816
- #: ../app/views/job_invocations/_tab_overview.html.erb:44
817
- #: ../app/views/job_templates/_custom_tabs.html.erb:39
818
- msgid "Effective user"
819
- msgstr ""
820
-
821
829
  #: ../app/views/job_invocations/_form.html.erb:75
822
830
  msgid ""
823
831
  "A user to be used for executing the script. If it differs from the SSH user, s"
824
832
  "u or sudo is used to switch the accounts."
825
833
  msgstr ""
826
834
 
835
+ #: ../app/views/job_invocations/_form.html.erb:75
836
+ #: ../app/views/job_invocations/_tab_overview.html.erb:44
837
+ #: ../app/views/job_templates/_custom_tabs.html.erb:36
838
+ msgid "Effective user"
839
+ msgstr ""
840
+
827
841
  #: ../app/views/job_invocations/_form.html.erb:89
828
842
  msgid "Concurrency level"
829
843
  msgstr ""
@@ -837,10 +851,6 @@ msgid "Time span"
837
851
  msgstr ""
838
852
 
839
853
  #: ../app/views/job_invocations/_form.html.erb:94
840
- msgid "Type of query"
841
- msgstr ""
842
-
843
- #: ../app/views/job_invocations/_form.html.erb:102
844
854
  msgid ""
845
855
  "Type has impact on when is the query evaulated to hosts.<br><ul><li><b>Static<"
846
856
  "/b> - evaluates just after you submit this form</li><li><b>Dynamic</b> - evalu"
@@ -848,6 +858,10 @@ msgid ""
848
858
  "ed hosts set may change before it</li></ul>"
849
859
  msgstr ""
850
860
 
861
+ #: ../app/views/job_invocations/_form.html.erb:94
862
+ msgid "Type of query"
863
+ msgstr ""
864
+
851
865
  #: ../app/views/job_invocations/_preview_hosts_list.html.erb:3
852
866
  msgid ""
853
867
  "The final host list may change because the selected query is dynamic. It will"
@@ -934,6 +948,26 @@ msgstr ""
934
948
  msgid "following user inputs were provided"
935
949
  msgstr ""
936
950
 
951
+ #: ../app/views/job_invocations/_tab_overview.html.erb:47
952
+ msgid "tasks at a time"
953
+ msgstr ""
954
+
955
+ #: ../app/views/job_invocations/_tab_overview.html.erb:47
956
+ msgid "Concurrency level limited to"
957
+ msgstr ""
958
+
959
+ #: ../app/views/job_invocations/_tab_overview.html.erb:50
960
+ msgid "minutes"
961
+ msgstr ""
962
+
963
+ #: ../app/views/job_invocations/_tab_overview.html.erb:50
964
+ msgid "Set to distribute over"
965
+ msgstr ""
966
+
967
+ #: ../app/views/job_invocations/_tab_overview.html.erb:53
968
+ msgid "Scheduled to start at"
969
+ msgstr ""
970
+
937
971
  #: ../app/views/job_invocations/index.html.erb:1
938
972
  msgid "Job invocations"
939
973
  msgstr ""
@@ -970,23 +1004,23 @@ msgstr ""
970
1004
  msgid "Type"
971
1005
  msgstr ""
972
1006
 
973
- #: ../app/views/job_templates/_custom_tabs.html.erb:28
974
- msgid "add a input for this template"
975
- msgstr ""
976
-
977
- #: ../app/views/job_templates/_custom_tabs.html.erb:28
1007
+ #: ../app/views/job_templates/_custom_tabs.html.erb:25
978
1008
  msgid "Add Input"
979
1009
  msgstr ""
980
1010
 
981
- #: ../app/views/job_templates/_custom_tabs.html.erb:35
982
- msgid "Add Foreign Input Set"
1011
+ #: ../app/views/job_templates/_custom_tabs.html.erb:25
1012
+ msgid "add a input for this template"
983
1013
  msgstr ""
984
1014
 
985
- #: ../app/views/job_templates/_custom_tabs.html.erb:35
1015
+ #: ../app/views/job_templates/_custom_tabs.html.erb:32
986
1016
  msgid "add an input set for this template to reference a different template inputs"
987
1017
  msgstr ""
988
1018
 
989
- #: ../app/views/job_templates/_custom_tabs.html.erb:53
1019
+ #: ../app/views/job_templates/_custom_tabs.html.erb:32
1020
+ msgid "Add Foreign Input Set"
1021
+ msgstr ""
1022
+
1023
+ #: ../app/views/job_templates/_custom_tabs.html.erb:50
990
1024
  msgid "Snippet"
991
1025
  msgstr ""
992
1026
 
@@ -997,11 +1031,11 @@ msgid ""
997
1031
  msgstr ""
998
1032
 
999
1033
  #: ../app/views/job_templates/_import_job_template_modal.html.erb:14
1000
- msgid "Overwrite"
1034
+ msgid "Whether to overwrite the template if it already exists"
1001
1035
  msgstr ""
1002
1036
 
1003
1037
  #: ../app/views/job_templates/_import_job_template_modal.html.erb:14
1004
- msgid "Whether to overwrite the template if it already exists"
1038
+ msgid "Overwrite"
1005
1039
  msgstr ""
1006
1040
 
1007
1041
  #: ../app/views/job_templates/edit.html.erb:4
@@ -1037,11 +1071,11 @@ msgstr ""
1037
1071
  msgid "This template is locked for editing."
1038
1072
  msgstr ""
1039
1073
 
1040
- #: ../app/views/overrides/nics/_execution_interface.html.erb:5
1074
+ #: ../app/views/overrides/nics/_execution_interface.html.erb:4
1041
1075
  msgid "The execution interface is used for remote execution"
1042
1076
  msgstr ""
1043
1077
 
1044
- #: ../app/views/overrides/nics/_execution_interface.html.erb:8
1078
+ #: ../app/views/overrides/nics/_execution_interface.html.erb:7
1045
1079
  msgid "Remote execution"
1046
1080
  msgstr ""
1047
1081
 
@@ -1067,7 +1101,7 @@ msgid ""
1067
1101
  msgstr ""
1068
1102
 
1069
1103
  #: ../app/views/remote_execution_features/index.html.erb:1
1070
- #: ../lib/foreman_remote_execution/engine.rb:95
1104
+ #: ../lib/foreman_remote_execution/engine.rb:97
1071
1105
  msgid "Remote Execution Features"
1072
1106
  msgstr ""
1073
1107
 
@@ -1143,16 +1177,16 @@ msgstr ""
1143
1177
  msgid "Unsupported or no operating system found for this host."
1144
1178
  msgstr ""
1145
1179
 
1146
- #: ../lib/foreman_remote_execution/engine.rb:90
1180
+ #: ../lib/foreman_remote_execution/engine.rb:92
1147
1181
  msgid "Job templates"
1148
1182
  msgstr ""
1149
1183
 
1150
- #: ../lib/foreman_remote_execution/engine.rb:101
1184
+ #: ../lib/foreman_remote_execution/engine.rb:103
1151
1185
  msgid "Jobs"
1152
1186
  msgstr ""
1153
1187
 
1154
1188
  #: action_names.rb:2
1155
- msgid "Import Puppet classes"
1189
+ msgid "Action with sub plans"
1156
1190
  msgstr ""
1157
1191
 
1158
1192
  #: action_names.rb:3
@@ -1160,7 +1194,7 @@ msgid "Import facts"
1160
1194
  msgstr ""
1161
1195
 
1162
1196
  #: action_names.rb:4
1163
- msgid "Action with sub plans"
1197
+ msgid "Import Puppet classes"
1164
1198
  msgstr ""
1165
1199
 
1166
1200
  #: gemspec.rb:2