foreman_remote_execution 1.5.2 → 1.5.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +5 -5
  2. data/.rubocop.yml +3 -0
  3. data/app/controllers/api/v2/template_invocations_controller.rb +46 -0
  4. data/app/controllers/job_invocations_controller.rb +6 -0
  5. data/app/models/job_invocation_composer.rb +5 -1
  6. data/app/models/remote_execution_provider.rb +1 -1
  7. data/app/views/api/v2/template_invocations/base.json.rabl +5 -0
  8. data/app/views/api/v2/template_invocations/template_invocations.json.rabl +3 -0
  9. data/app/views/job_invocations/welcome.html.erb +14 -0
  10. data/app/views/template_invocations/show.html.erb +10 -1
  11. data/config/routes.rb +1 -0
  12. data/db/seeds.d/70-job_templates.rb +5 -1
  13. data/foreman_remote_execution.gemspec +1 -0
  14. data/lib/foreman_remote_execution/engine.rb +2 -0
  15. data/lib/foreman_remote_execution/version.rb +1 -1
  16. data/locale/de/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  17. data/locale/de/foreman_remote_execution.po +165 -27
  18. data/locale/en/foreman_remote_execution.po +161 -23
  19. data/locale/en_GB/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  20. data/locale/en_GB/foreman_remote_execution.po +162 -24
  21. data/locale/es/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  22. data/locale/es/foreman_remote_execution.po +165 -27
  23. data/locale/foreman_remote_execution.pot +282 -189
  24. data/locale/fr/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  25. data/locale/fr/foreman_remote_execution.po +165 -27
  26. data/locale/ja/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  27. data/locale/ja/foreman_remote_execution.po +165 -27
  28. data/locale/ko/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  29. data/locale/ko/foreman_remote_execution.po +165 -27
  30. data/locale/pt_BR/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  31. data/locale/pt_BR/foreman_remote_execution.po +165 -27
  32. data/locale/ru/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  33. data/locale/ru/foreman_remote_execution.po +165 -27
  34. data/locale/zh_CN/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  35. data/locale/zh_CN/foreman_remote_execution.po +165 -27
  36. data/locale/zh_TW/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  37. data/locale/zh_TW/foreman_remote_execution.po +165 -27
  38. data/test/functional/api/v2/template_invocations_controller_test.rb +33 -0
  39. data/test/unit/remote_execution_provider_test.rb +6 -1
  40. metadata +11 -4
@@ -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: 2018-03-12 13:59-0400\n"
12
- "PO-Revision-Date: 2018-03-12 13:59-0400\n"
11
+ "POT-Creation-Date: 2018-06-14 21:18+0200\n"
12
+ "PO-Revision-Date: 2018-06-14 21:18+0200\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
15
  "Language: \n"
@@ -138,7 +138,7 @@ msgid "Distribute tasks over N seconds"
138
138
  msgstr ""
139
139
 
140
140
  #: ../app/controllers/api/v2/job_invocations_controller.rb:48
141
- #: ../app/views/job_invocations/_form.html.erb:99
141
+ #: ../app/views/job_invocations/_form.html.erb:100
142
142
  msgid "Run at most N tasks at a time"
143
143
  msgstr ""
144
144
 
@@ -354,19 +354,23 @@ msgstr ""
354
354
  msgid "Update a template input"
355
355
  msgstr ""
356
356
 
357
- #: ../app/controllers/job_invocations_controller.rb:82
357
+ #: ../app/controllers/api/v2/template_invocations_controller.rb:10
358
+ msgid "List template invocations belonging to job invocation"
359
+ msgstr ""
360
+
361
+ #: ../app/controllers/job_invocations_controller.rb:104
358
362
  msgid "Trying to abort the job"
359
363
  msgstr ""
360
364
 
361
- #: ../app/controllers/job_invocations_controller.rb:84
365
+ #: ../app/controllers/job_invocations_controller.rb:106
362
366
  msgid "Trying to cancel the job"
363
367
  msgstr ""
364
368
 
365
- #: ../app/controllers/job_invocations_controller.rb:88
369
+ #: ../app/controllers/job_invocations_controller.rb:110
366
370
  msgid "The job cannot be aborted at the moment."
367
371
  msgstr ""
368
372
 
369
- #: ../app/controllers/job_invocations_controller.rb:90
373
+ #: ../app/controllers/job_invocations_controller.rb:112
370
374
  msgid "The job cannot be cancelled at the moment."
371
375
  msgstr ""
372
376
 
@@ -400,244 +404,249 @@ msgstr ""
400
404
  msgid "Run"
401
405
  msgstr ""
402
406
 
403
- #: ../app/helpers/remote_execution_helper.rb:18
407
+ #: ../app/helpers/job_invocations_chart_helper.rb:17
404
408
  msgid "Success"
405
409
  msgstr ""
406
410
 
407
- #: ../app/helpers/remote_execution_helper.rb:19
411
+ #: ../app/helpers/job_invocations_chart_helper.rb:18
408
412
  #: ../app/views/job_invocations/index.html.erb:11
409
413
  msgid "Failed"
410
414
  msgstr ""
411
415
 
412
- #: ../app/helpers/remote_execution_helper.rb:20
416
+ #: ../app/helpers/job_invocations_chart_helper.rb:19
413
417
  #: ../app/views/job_invocations/index.html.erb:12
414
418
  msgid "Pending"
415
419
  msgstr ""
416
420
 
417
- #: ../app/helpers/remote_execution_helper.rb:21
421
+ #: ../app/helpers/job_invocations_chart_helper.rb:20
418
422
  msgid "Cancelled"
419
423
  msgstr ""
420
424
 
421
- #: ../app/helpers/remote_execution_helper.rb:36
425
+ #: ../app/helpers/job_invocations_chart_helper.rb:30
422
426
  msgid "queued to start executing in %{time}"
423
427
  msgstr ""
424
428
 
425
- #: ../app/helpers/remote_execution_helper.rb:38
429
+ #: ../app/helpers/job_invocations_chart_helper.rb:32
426
430
  msgid "queued"
427
431
  msgstr ""
428
432
 
429
- #: ../app/helpers/remote_execution_helper.rb:42
433
+ #: ../app/helpers/job_invocations_chart_helper.rb:36
430
434
  msgid "running %{percent}%%"
431
435
  msgstr ""
432
436
 
433
- #: ../app/helpers/remote_execution_helper.rb:44
437
+ #: ../app/helpers/job_invocations_chart_helper.rb:38
434
438
  msgid "succeeded"
435
439
  msgstr ""
436
440
 
437
- #: ../app/helpers/remote_execution_helper.rb:46
438
- #: ../app/helpers/remote_execution_helper.rb:68
441
+ #: ../app/helpers/job_invocations_chart_helper.rb:40
442
+ #: ../app/helpers/remote_execution_helper.rb:31
439
443
  msgid "failed"
440
444
  msgstr ""
441
445
 
442
- #: ../app/helpers/remote_execution_helper.rb:48
446
+ #: ../app/helpers/job_invocations_chart_helper.rb:42
443
447
  msgid "unknown status"
444
448
  msgstr ""
445
449
 
446
- #: ../app/helpers/remote_execution_helper.rb:62
447
- msgid "running"
448
- msgstr ""
449
-
450
- #: ../app/helpers/remote_execution_helper.rb:64
451
- msgid "planned"
450
+ #: ../app/helpers/job_invocations_helper.rb:19
451
+ #: ../app/helpers/remote_execution_helper.rb:74
452
+ msgid "Rerun"
452
453
  msgstr ""
453
454
 
454
- #: ../app/helpers/remote_execution_helper.rb:70
455
- msgid "cancelled"
455
+ #: ../app/helpers/job_invocations_helper.rb:21
456
+ #: ../app/helpers/remote_execution_helper.rb:76
457
+ msgid "Rerun the job"
456
458
  msgstr ""
457
459
 
458
- #: ../app/helpers/remote_execution_helper.rb:72
459
- msgid "success"
460
+ #: ../app/helpers/job_invocations_helper.rb:24
461
+ #: ../app/helpers/remote_execution_helper.rb:79
462
+ msgid "Rerun failed"
460
463
  msgstr ""
461
464
 
462
- #: ../app/helpers/remote_execution_helper.rb:81
463
- msgid "Host detail"
465
+ #: ../app/helpers/job_invocations_helper.rb:27
466
+ #: ../app/helpers/remote_execution_helper.rb:82
467
+ msgid "Rerun on failed hosts"
464
468
  msgstr ""
465
469
 
466
- #: ../app/helpers/remote_execution_helper.rb:82
467
- msgid "Rerun on %s"
470
+ #: ../app/helpers/job_invocations_helper.rb:30
471
+ #: ../app/helpers/remote_execution_helper.rb:85
472
+ msgid "Job Task"
468
473
  msgstr ""
469
474
 
475
+ #: ../app/helpers/job_invocations_helper.rb:32
470
476
  #: ../app/helpers/remote_execution_helper.rb:87
471
- #: ../app/helpers/remote_execution_helper.rb:216
472
- #: ../app/models/job_invocation.rb:167
473
- msgid "N/A"
477
+ msgid "See the last task details"
474
478
  msgstr ""
475
479
 
476
- #: ../app/helpers/remote_execution_helper.rb:93
477
- msgid "Run Job"
480
+ #: ../app/helpers/job_invocations_helper.rb:35
481
+ #: ../app/helpers/remote_execution_helper.rb:90
482
+ #: ../app/helpers/remote_execution_helper.rb:114
483
+ msgid "Cancel Job"
478
484
  msgstr ""
479
485
 
480
- #: ../app/helpers/remote_execution_helper.rb:102
481
- #: ../app/views/job_invocations/_form.html.erb:41
482
- msgid "Refresh"
486
+ #: ../app/helpers/job_invocations_helper.rb:37
487
+ #: ../app/helpers/remote_execution_helper.rb:92
488
+ msgid "Try to cancel the job"
483
489
  msgstr ""
484
490
 
485
- #: ../app/helpers/remote_execution_helper.rb:102
486
- msgid "Refresh this page"
491
+ #: ../app/helpers/job_invocations_helper.rb:47
492
+ #: ../app/helpers/remote_execution_helper.rb:64
493
+ #: ../app/views/job_invocations/welcome.html.erb:12
494
+ msgid "Run Job"
487
495
  msgstr ""
488
496
 
489
- #: ../app/helpers/remote_execution_helper.rb:104
490
- msgid "Rerun"
497
+ #: ../app/helpers/remote_execution_helper.rb:25
498
+ msgid "running"
491
499
  msgstr ""
492
500
 
493
- #: ../app/helpers/remote_execution_helper.rb:106
494
- msgid "Rerun the job"
501
+ #: ../app/helpers/remote_execution_helper.rb:27
502
+ msgid "planned"
495
503
  msgstr ""
496
504
 
497
- #: ../app/helpers/remote_execution_helper.rb:109
498
- msgid "Rerun failed"
505
+ #: ../app/helpers/remote_execution_helper.rb:33
506
+ msgid "cancelled"
499
507
  msgstr ""
500
508
 
501
- #: ../app/helpers/remote_execution_helper.rb:112
502
- msgid "Rerun on failed hosts"
509
+ #: ../app/helpers/remote_execution_helper.rb:35
510
+ msgid "success"
503
511
  msgstr ""
504
512
 
505
- #: ../app/helpers/remote_execution_helper.rb:115
506
- msgid "Job Task"
513
+ #: ../app/helpers/remote_execution_helper.rb:45
514
+ msgid "Host detail"
507
515
  msgstr ""
508
516
 
509
- #: ../app/helpers/remote_execution_helper.rb:117
510
- msgid "See the last task details"
517
+ #: ../app/helpers/remote_execution_helper.rb:46
518
+ msgid "Rerun on %s"
511
519
  msgstr ""
512
520
 
513
- #: ../app/helpers/remote_execution_helper.rb:120
514
- #: ../app/helpers/remote_execution_helper.rb:143
515
- msgid "Cancel Job"
521
+ #: ../app/helpers/remote_execution_helper.rb:49
522
+ msgid "Host task"
516
523
  msgstr ""
517
524
 
518
- #: ../app/helpers/remote_execution_helper.rb:122
519
- msgid "Try to cancel the job"
525
+ #: ../app/helpers/remote_execution_helper.rb:58
526
+ #: ../app/helpers/remote_execution_helper.rb:178
527
+ #: ../app/models/job_invocation.rb:168
528
+ msgid "N/A"
520
529
  msgstr ""
521
530
 
522
- #: ../app/helpers/remote_execution_helper.rb:125
523
- #: ../app/helpers/remote_execution_helper.rb:148
531
+ #: ../app/helpers/remote_execution_helper.rb:95
532
+ #: ../app/helpers/remote_execution_helper.rb:119
524
533
  msgid "Abort Job"
525
534
  msgstr ""
526
535
 
527
- #: ../app/helpers/remote_execution_helper.rb:127
536
+ #: ../app/helpers/remote_execution_helper.rb:97
528
537
  msgid "Try to abort the job without waiting for the results from the remote hosts"
529
538
  msgstr ""
530
539
 
531
- #: ../app/helpers/remote_execution_helper.rb:138
540
+ #: ../app/helpers/remote_execution_helper.rb:109
532
541
  msgid "Task Details"
533
542
  msgstr ""
534
543
 
535
- #: ../app/helpers/remote_execution_helper.rb:140
544
+ #: ../app/helpers/remote_execution_helper.rb:111
536
545
  msgid "See the task details"
537
546
  msgstr ""
538
547
 
539
- #: ../app/helpers/remote_execution_helper.rb:145
548
+ #: ../app/helpers/remote_execution_helper.rb:116
540
549
  msgid "Try to cancel the job on a host"
541
550
  msgstr ""
542
551
 
543
- #: ../app/helpers/remote_execution_helper.rb:150
552
+ #: ../app/helpers/remote_execution_helper.rb:121
544
553
  msgid "Try to abort the job on a host without waiting for its result"
545
554
  msgstr ""
546
555
 
547
- #: ../app/helpers/remote_execution_helper.rb:194
556
+ #: ../app/helpers/remote_execution_helper.rb:167
548
557
  msgid "Could not render the preview because no host matches the search query."
549
558
  msgstr ""
550
559
 
551
- #: ../app/helpers/remote_execution_helper.rb:218
560
+ #: ../app/helpers/remote_execution_helper.rb:180
552
561
  msgid "in %s"
553
562
  msgstr ""
554
563
 
555
- #: ../app/helpers/remote_execution_helper.rb:218
564
+ #: ../app/helpers/remote_execution_helper.rb:180
556
565
  msgid "%s ago"
557
566
  msgstr ""
558
567
 
559
- #: ../app/helpers/remote_execution_helper.rb:230
568
+ #: ../app/helpers/remote_execution_helper.rb:192
560
569
  msgid "Template input"
561
570
  msgstr ""
562
571
 
563
- #: ../app/helpers/remote_execution_helper.rb:232
572
+ #: ../app/helpers/remote_execution_helper.rb:194
564
573
  msgid "remove template input"
565
574
  msgstr ""
566
575
 
567
- #: ../app/helpers/remote_execution_helper.rb:245
576
+ #: ../app/helpers/remote_execution_helper.rb:207
568
577
  msgid "Use default description template"
569
578
  msgstr ""
570
579
 
571
- #: ../app/helpers/remote_execution_helper.rb:250
580
+ #: ../app/helpers/remote_execution_helper.rb:212
572
581
  msgid "Description template"
573
582
  msgstr ""
574
583
 
575
- #: ../app/helpers/remote_execution_helper.rb:260
584
+ #: ../app/helpers/remote_execution_helper.rb:222
576
585
  msgid ""
577
586
  "This template is used to generate the description.<br/>Input values can be use"
578
587
  "d using the syntax %{package}.<br/>You may also include the job category and t"
579
588
  "emplate<br/>name using %{job_category} and %{template_name}."
580
589
  msgstr ""
581
590
 
582
- #: ../app/lib/actions/remote_execution/run_host_job.rb:26
591
+ #: ../app/lib/actions/remote_execution/run_host_job.rb:30
583
592
  msgid "Could not use any template used in the job invocation"
584
593
  msgstr ""
585
594
 
586
- #: ../app/lib/actions/remote_execution/run_host_job.rb:33
595
+ #: ../app/lib/actions/remote_execution/run_host_job.rb:37
587
596
  msgid "Failed rendering template: %s"
588
597
  msgstr ""
589
598
 
590
- #: ../app/lib/actions/remote_execution/run_host_job.rb:56
599
+ #: ../app/lib/actions/remote_execution/run_host_job.rb:62
591
600
  msgid "Task cancelled"
592
601
  msgstr ""
593
602
 
594
- #: ../app/lib/actions/remote_execution/run_host_job.rb:57
603
+ #: ../app/lib/actions/remote_execution/run_host_job.rb:63
595
604
  msgid "Job execution failed"
596
605
  msgstr ""
597
606
 
598
- #: ../app/lib/actions/remote_execution/run_host_job.rb:66
607
+ #: ../app/lib/actions/remote_execution/run_host_job.rb:72
599
608
  msgid "%{description} on %{host}"
600
609
  msgstr ""
601
610
 
602
- #: ../app/lib/actions/remote_execution/run_host_job.rb:71 action_names.rb:2
611
+ #: ../app/lib/actions/remote_execution/run_host_job.rb:77 action_names.rb:2
603
612
  msgid "Remote action:"
604
613
  msgstr ""
605
614
 
606
- #: ../app/lib/actions/remote_execution/run_host_job.rb:95
615
+ #: ../app/lib/actions/remote_execution/run_host_job.rb:101
607
616
  msgid "Job cancelled by user"
608
617
  msgstr ""
609
618
 
610
- #: ../app/lib/actions/remote_execution/run_host_job.rb:100
619
+ #: ../app/lib/actions/remote_execution/run_host_job.rb:106
611
620
  msgid "Exit status: %s"
612
621
  msgstr ""
613
622
 
614
- #: ../app/lib/actions/remote_execution/run_host_job.rb:102
623
+ #: ../app/lib/actions/remote_execution/run_host_job.rb:108
615
624
  msgid "Job finished with error"
616
625
  msgstr ""
617
626
 
618
- #: ../app/lib/actions/remote_execution/run_host_job.rb:105
627
+ #: ../app/lib/actions/remote_execution/run_host_job.rb:111
619
628
  msgid "Error loading data from proxy"
620
629
  msgstr ""
621
630
 
622
- #: ../app/lib/actions/remote_execution/run_host_job.rb:130
631
+ #: ../app/lib/actions/remote_execution/run_host_job.rb:143
623
632
  msgid "User can not execute job on host %s"
624
633
  msgstr ""
625
634
 
626
- #: ../app/lib/actions/remote_execution/run_host_job.rb:131
635
+ #: ../app/lib/actions/remote_execution/run_host_job.rb:144
627
636
  msgid "User can not execute this job template"
628
637
  msgstr ""
629
638
 
630
- #: ../app/lib/actions/remote_execution/run_host_job.rb:136
639
+ #: ../app/lib/actions/remote_execution/run_host_job.rb:149
631
640
  msgid "User can not execute this job template on %s"
632
641
  msgstr ""
633
642
 
634
- #: ../app/lib/actions/remote_execution/run_host_job.rb:146
643
+ #: ../app/lib/actions/remote_execution/run_host_job.rb:159
635
644
  msgid "The only applicable proxy %{proxy_names} is down"
636
645
  msgid_plural "All %{count} applicable proxies are down. Tried %{proxy_names}"
637
646
  msgstr[0] ""
638
647
  msgstr[1] ""
639
648
 
640
- #: ../app/lib/actions/remote_execution/run_host_job.rb:154
649
+ #: ../app/lib/actions/remote_execution/run_host_job.rb:167
641
650
  msgid ""
642
651
  "Could not use any proxy. Consider configuring %{global_proxy}, %{fallback_prox"
643
652
  "y} or %{no_proxy} in settings"
@@ -657,23 +666,23 @@ msgid ""
657
666
  "emplate}'. Templates stack: %{templates_stack}"
658
667
  msgstr ""
659
668
 
660
- #: ../app/models/host_status/execution_status.rb:30
669
+ #: ../app/models/host_status/execution_status.rb:34
661
670
  msgid "Execution"
662
671
  msgstr ""
663
672
 
664
- #: ../app/models/host_status/execution_status.rb:36
673
+ #: ../app/models/host_status/execution_status.rb:40
665
674
  msgid "Last execution succeeded"
666
675
  msgstr ""
667
676
 
668
- #: ../app/models/host_status/execution_status.rb:36
677
+ #: ../app/models/host_status/execution_status.rb:40
669
678
  msgid "No execution finished yet"
670
679
  msgstr ""
671
680
 
672
- #: ../app/models/host_status/execution_status.rb:38
681
+ #: ../app/models/host_status/execution_status.rb:42
673
682
  msgid "Last execution failed"
674
683
  msgstr ""
675
684
 
676
- #: ../app/models/host_status/execution_status.rb:40
685
+ #: ../app/models/host_status/execution_status.rb:44
677
686
  msgid "Unknown execution status"
678
687
  msgstr ""
679
688
 
@@ -699,27 +708,27 @@ msgstr ""
699
708
  msgid "template"
700
709
  msgstr ""
701
710
 
702
- #: ../app/models/job_invocation_composer.rb:105
711
+ #: ../app/models/job_invocation_composer.rb:110
703
712
  msgid "Cannot specify both bookmark_id and search_query"
704
713
  msgstr ""
705
714
 
706
- #: ../app/models/job_invocation_composer.rb:110
715
+ #: ../app/models/job_invocation_composer.rb:115
707
716
  msgid "Cannot specify both recurrence and scheduling"
708
717
  msgstr ""
709
718
 
710
- #: ../app/models/job_invocation_composer.rb:144
719
+ #: ../app/models/job_invocation_composer.rb:149
711
720
  msgid "Unknown input %{input_name} for template %{template_name}"
712
721
  msgstr ""
713
722
 
714
- #: ../app/models/job_invocation_composer.rb:271
723
+ #: ../app/models/job_invocation_composer.rb:276
715
724
  msgid "Feature input %{input_name} not defined in template %{template_name}"
716
725
  msgstr ""
717
726
 
718
- #: ../app/models/job_invocation_composer.rb:280
727
+ #: ../app/models/job_invocation_composer.rb:285
719
728
  msgid "No template mapped to feature %{feature_name}"
720
729
  msgstr ""
721
730
 
722
- #: ../app/models/job_invocation_composer.rb:286
731
+ #: ../app/models/job_invocation_composer.rb:291
723
732
  msgid ""
724
733
  "The template %{template_name} mapped to feature %{feature_name} is not accessi"
725
734
  "ble by the user"
@@ -729,11 +738,11 @@ msgstr ""
729
738
  msgid "Job Invocation"
730
739
  msgstr ""
731
740
 
732
- #: ../app/models/job_template.rb:168
741
+ #: ../app/models/job_template.rb:151
733
742
  msgid "Duplicated inputs detected: %{duplicated_inputs}"
734
743
  msgstr ""
735
744
 
736
- #: ../app/models/job_template.rb:234
745
+ #: ../app/models/job_template.rb:230
737
746
  msgid "This template is locked. Please clone it to a new template to customize."
738
747
  msgstr ""
739
748
 
@@ -745,7 +754,7 @@ msgstr ""
745
754
  msgid "Effective user method \"%{current_value}\" is not one of %{valid_methods}"
746
755
  msgstr ""
747
756
 
748
- #: ../app/models/remote_execution_provider.rb:67
757
+ #: ../app/models/remote_execution_provider.rb:76
749
758
  msgid "Could not find any suitable interface for execution"
750
759
  msgstr ""
751
760
 
@@ -810,56 +819,82 @@ msgstr ""
810
819
  msgid "Effective User Method"
811
820
  msgstr ""
812
821
 
813
- #: ../app/models/setting/remote_execution.rb:43
822
+ #: ../app/models/setting/remote_execution.rb:42
823
+ #: ../app/views/job_invocations/_form.html.erb:96
824
+ msgid "Sudo password"
825
+ msgstr ""
826
+
827
+ #: ../app/models/setting/remote_execution.rb:44
814
828
  msgid "Whether we should sync templates from disk when running db:seed."
815
829
  msgstr ""
816
830
 
817
- #: ../app/models/setting/remote_execution.rb:45
831
+ #: ../app/models/setting/remote_execution.rb:46
818
832
  msgid "Sync Job Templates"
819
833
  msgstr ""
820
834
 
821
- #: ../app/models/setting/remote_execution.rb:47
835
+ #: ../app/models/setting/remote_execution.rb:48
822
836
  msgid ""
823
837
  "Port to use for SSH communication. Default port 22. You may override per host "
824
838
  "by setting a parameter called remote_execution_ssh_port."
825
839
  msgstr ""
826
840
 
827
- #: ../app/models/setting/remote_execution.rb:49
841
+ #: ../app/models/setting/remote_execution.rb:50
828
842
  msgid "SSH Port"
829
843
  msgstr ""
830
844
 
831
- #: ../app/models/setting/remote_execution.rb:51
845
+ #: ../app/models/setting/remote_execution.rb:52
832
846
  msgid ""
833
847
  "Should the ip addresses on host interfaces be preferred over the fqdn? It is u"
834
848
  "seful, when DNS not resolving the fqdns properly. You may override this per ho"
835
849
  "st by setting a parameter called remote_execution_connect_by_ip."
836
850
  msgstr ""
837
851
 
838
- #: ../app/models/setting/remote_execution.rb:54
852
+ #: ../app/models/setting/remote_execution.rb:55
839
853
  msgid "Connect by IP"
840
854
  msgstr ""
841
855
 
842
- #: ../app/models/setting/remote_execution.rb:56
856
+ #: ../app/models/setting/remote_execution.rb:57
843
857
  msgid ""
844
858
  "Default password to use for SSH. You may override per host by setting a parame"
845
859
  "ter called remote_execution_ssh_password"
846
860
  msgstr ""
847
861
 
848
- #: ../app/models/setting/remote_execution.rb:58
862
+ #: ../app/models/setting/remote_execution.rb:59
849
863
  msgid "Default SSH password"
850
864
  msgstr ""
851
865
 
852
- #: ../app/models/setting/remote_execution.rb:62
866
+ #: ../app/models/setting/remote_execution.rb:63
853
867
  msgid ""
854
868
  "Default key passphrase to use for SSH. You may override per host by setting a "
855
869
  "parameter called remote_execution_ssh_key_passphrase"
856
870
  msgstr ""
857
871
 
858
- #: ../app/models/setting/remote_execution.rb:64
872
+ #: ../app/models/setting/remote_execution.rb:65
859
873
  msgid "Default SSH key passphrase"
860
874
  msgstr ""
861
875
 
862
- #: ../app/models/ssh_execution_provider.rb:11
876
+ #: ../app/models/setting/remote_execution.rb:69
877
+ msgid ""
878
+ "Amount of workers in the pool to handle the execution of the remote execution "
879
+ "jobs. Restart of the dynflowd/foreman-tasks service is required."
880
+ msgstr ""
881
+
882
+ #: ../app/models/setting/remote_execution.rb:71
883
+ msgid "Workers pool size"
884
+ msgstr ""
885
+
886
+ #: ../app/models/setting/remote_execution.rb:73
887
+ msgid ""
888
+ "When enabled, working directories will be removed after task completion. You m"
889
+ "ay override this per host by setting a parameter called remote_execution_clean"
890
+ "up_working_dirs."
891
+ msgstr ""
892
+
893
+ #: ../app/models/setting/remote_execution.rb:75
894
+ msgid "Cleanup working directories"
895
+ msgstr ""
896
+
897
+ #: ../app/models/ssh_execution_provider.rb:13
863
898
  msgid "SSH"
864
899
  msgstr ""
865
900
 
@@ -884,6 +919,7 @@ msgid "Must select a bookmark or enter a search query"
884
919
  msgstr ""
885
920
 
886
921
  #: ../app/models/template_input.rb:9
922
+ #: ../app/views/job_invocations/_user_input.html.erb:7
887
923
  msgid "User input"
888
924
  msgstr ""
889
925
 
@@ -911,6 +947,67 @@ msgstr ""
911
947
  msgid "Not all required inputs have values. Missing inputs: %s"
912
948
  msgstr ""
913
949
 
950
+ #: ../app/views/job_invocations/_card_results.html.erb:4
951
+ msgid "Results"
952
+ msgstr ""
953
+
954
+ #: ../app/views/job_invocations/_card_schedule.html.erb:7
955
+ msgid "Schedule"
956
+ msgstr ""
957
+
958
+ #: ../app/views/job_invocations/_card_schedule.html.erb:14
959
+ msgid "Concurrency level limited to"
960
+ msgstr ""
961
+
962
+ #: ../app/views/job_invocations/_card_schedule.html.erb:14
963
+ msgid "tasks at a time"
964
+ msgstr ""
965
+
966
+ #: ../app/views/job_invocations/_card_schedule.html.erb:17
967
+ msgid "Set to distribute over"
968
+ msgstr ""
969
+
970
+ #: ../app/views/job_invocations/_card_schedule.html.erb:17
971
+ #: ../app/views/job_invocations/_card_schedule.html.erb:26
972
+ msgid "seconds"
973
+ msgstr ""
974
+
975
+ #: ../app/views/job_invocations/_card_schedule.html.erb:20
976
+ msgid "Scheduled to start before"
977
+ msgstr ""
978
+
979
+ #: ../app/views/job_invocations/_card_schedule.html.erb:23
980
+ msgid "Scheduled to start at"
981
+ msgstr ""
982
+
983
+ #: ../app/views/job_invocations/_card_schedule.html.erb:26
984
+ msgid "Timeout to kill after"
985
+ msgstr ""
986
+
987
+ #: ../app/views/job_invocations/_card_target_hosts.html.erb:5
988
+ msgid "Target hosts"
989
+ msgstr ""
990
+
991
+ #: ../app/views/job_invocations/_card_target_hosts.html.erb:11
992
+ msgid "Bookmark"
993
+ msgstr ""
994
+
995
+ #: ../app/views/job_invocations/_card_target_hosts.html.erb:13
996
+ msgid "Manual selection"
997
+ msgstr ""
998
+
999
+ #: ../app/views/job_invocations/_card_target_hosts.html.erb:15
1000
+ msgid "using "
1001
+ msgstr ""
1002
+
1003
+ #: ../app/views/job_invocations/_card_target_hosts.html.erb:22
1004
+ msgid "Evaluated at:"
1005
+ msgstr ""
1006
+
1007
+ #: ../app/views/job_invocations/_card_user_input.html.erb:4
1008
+ msgid "User Inputs"
1009
+ msgstr ""
1010
+
914
1011
  #: ../app/views/job_invocations/_description_fields.html.erb:1
915
1012
  #: ../app/views/job_invocations/index.html.erb:8
916
1013
  #: ../app/views/remote_execution_features/index.html.erb:8
@@ -929,6 +1026,10 @@ msgstr ""
929
1026
  msgid "hosts"
930
1027
  msgstr ""
931
1028
 
1029
+ #: ../app/views/job_invocations/_form.html.erb:41
1030
+ msgid "Refresh"
1031
+ msgstr ""
1032
+
932
1033
  #: ../app/views/job_invocations/_form.html.erb:44
933
1034
  msgid "Preview"
934
1035
  msgstr ""
@@ -942,7 +1043,6 @@ msgid "Hide advanced fields"
942
1043
  msgstr ""
943
1044
 
944
1045
  #: ../app/views/job_invocations/_form.html.erb:76
945
- #: ../app/views/job_invocations/_tab_overview.html.erb:44
946
1046
  #: ../app/views/job_templates/_custom_tabs.html.erb:38
947
1047
  msgid "Effective user"
948
1048
  msgstr ""
@@ -985,23 +1085,30 @@ msgid ""
985
1085
  " future or recurring executions, it is removed after the last execution."
986
1086
  msgstr ""
987
1087
 
988
- #: ../app/views/job_invocations/_form.html.erb:99
989
- msgid "Concurrency level"
1088
+ #: ../app/views/job_invocations/_form.html.erb:96
1089
+ msgid ""
1090
+ "Sudo password is only applicable for SSH provider. Other providers ignore this"
1091
+ " field. <br> Password is stored encrypted in DB until the job finishes. For fu"
1092
+ "ture or recurring executions, it is removed after the last execution."
990
1093
  msgstr ""
991
1094
 
992
1095
  #: ../app/views/job_invocations/_form.html.erb:100
1096
+ msgid "Concurrency level"
1097
+ msgstr ""
1098
+
1099
+ #: ../app/views/job_invocations/_form.html.erb:101
993
1100
  msgid "Time span"
994
1101
  msgstr ""
995
1102
 
996
- #: ../app/views/job_invocations/_form.html.erb:100
1103
+ #: ../app/views/job_invocations/_form.html.erb:101
997
1104
  msgid "Distribute execution over N seconds"
998
1105
  msgstr ""
999
1106
 
1000
- #: ../app/views/job_invocations/_form.html.erb:104
1107
+ #: ../app/views/job_invocations/_form.html.erb:105
1001
1108
  msgid "Type of query"
1002
1109
  msgstr ""
1003
1110
 
1004
- #: ../app/views/job_invocations/_form.html.erb:104
1111
+ #: ../app/views/job_invocations/_form.html.erb:105
1005
1112
  msgid ""
1006
1113
  "Type has impact on when is the query evaluated to hosts.<br><ul><li><b>Static<"
1007
1114
  "/b> - evaluates just after you submit this form</li><li><b>Dynamic</b> - evalu"
@@ -1062,62 +1169,27 @@ msgstr ""
1062
1169
  msgid "here"
1063
1170
  msgstr ""
1064
1171
 
1065
- #: ../app/views/job_invocations/_tab_overview.html.erb:6
1066
- msgid "Target hosts"
1172
+ #: ../app/views/job_invocations/_tab_overview.html.erb:11
1173
+ msgid "effective user"
1067
1174
  msgstr ""
1068
1175
 
1069
- #: ../app/views/job_invocations/_tab_overview.html.erb:8
1070
- msgid "Bookmark"
1071
- msgstr ""
1072
-
1073
- #: ../app/views/job_invocations/_tab_overview.html.erb:10
1074
- msgid "Manual selection"
1075
- msgstr ""
1076
-
1077
- #: ../app/views/job_invocations/_tab_overview.html.erb:15
1078
- msgid "Evaluated at:"
1079
- msgstr ""
1080
-
1081
- #: ../app/views/job_invocations/_tab_overview.html.erb:21
1176
+ #: ../app/views/job_invocations/_tab_overview.html.erb:12
1082
1177
  #: ../app/views/job_invocations/index.html.erb:13
1083
1178
  msgid "Total hosts"
1084
1179
  msgstr ""
1085
1180
 
1086
- #: ../app/views/job_invocations/_tab_overview.html.erb:25
1087
- msgid "Providers and templates"
1088
- msgstr ""
1089
-
1090
- #: ../app/views/job_invocations/_tab_overview.html.erb:31
1091
- msgid "Preview for target %s"
1092
- msgstr ""
1093
-
1094
- #: ../app/views/job_invocations/_tab_overview.html.erb:36
1095
- msgid "following user inputs were provided"
1096
- msgstr ""
1097
-
1098
- #: ../app/views/job_invocations/_tab_overview.html.erb:47
1099
- msgid "Concurrency level limited to"
1100
- msgstr ""
1101
-
1102
- #: ../app/views/job_invocations/_tab_overview.html.erb:47
1103
- msgid "tasks at a time"
1104
- msgstr ""
1105
-
1106
- #: ../app/views/job_invocations/_tab_overview.html.erb:50
1107
- msgid "Set to distribute over"
1108
- msgstr ""
1109
-
1110
- #: ../app/views/job_invocations/_tab_overview.html.erb:50
1111
- #: ../app/views/job_invocations/_tab_overview.html.erb:56
1112
- msgid "seconds"
1181
+ #: ../app/views/job_invocations/_tab_overview.html.erb:26
1182
+ msgid ""
1183
+ "The dynamic query '#{job_invocation.targeting.search_query}' was not resolved "
1184
+ "yet. The list of hosts to which it would resolve now can be seen"
1113
1185
  msgstr ""
1114
1186
 
1115
- #: ../app/views/job_invocations/_tab_overview.html.erb:53
1116
- msgid "Scheduled to start at"
1187
+ #: ../app/views/job_invocations/_tab_preview_templates.html.erb:6
1188
+ msgid "Providers and templates"
1117
1189
  msgstr ""
1118
1190
 
1119
- #: ../app/views/job_invocations/_tab_overview.html.erb:56
1120
- msgid "Timeout to kill after"
1191
+ #: ../app/views/job_invocations/_user_input.html.erb:8
1192
+ msgid "Value"
1121
1193
  msgstr ""
1122
1194
 
1123
1195
  #: ../app/views/job_invocations/index.html.erb:1
@@ -1136,18 +1208,34 @@ msgstr ""
1136
1208
  msgid "Job invocation"
1137
1209
  msgstr ""
1138
1210
 
1139
- #: ../app/views/job_invocations/show.html.erb:10
1211
+ #: ../app/views/job_invocations/show.html.erb:14
1140
1212
  msgid "Overview"
1141
1213
  msgstr ""
1142
1214
 
1143
- #: ../app/views/job_invocations/show.html.erb:11
1144
- msgid "Hosts"
1215
+ #: ../app/views/job_invocations/show.html.erb:17
1216
+ msgid "Preview templates"
1145
1217
  msgstr ""
1146
1218
 
1147
- #: ../app/views/job_invocations/show.html.erb:12
1219
+ #: ../app/views/job_invocations/show.html.erb:20
1148
1220
  msgid "Recurring logic"
1149
1221
  msgstr ""
1150
1222
 
1223
+ #: ../app/views/job_invocations/welcome.html.erb:5
1224
+ msgid "Job Invocations"
1225
+ msgstr ""
1226
+
1227
+ #: ../app/views/job_invocations/welcome.html.erb:7
1228
+ msgid ""
1229
+ "Foreman can run arbitrary commands on remote hosts using different providers, "
1230
+ "such as SSH or Ansible. Communication goes through the Smart Proxy so Foreman "
1231
+ "does not have to have direct access to the target hosts and can scale to contr"
1232
+ "ol many hosts."
1233
+ msgstr ""
1234
+
1235
+ #: ../app/views/job_invocations/welcome.html.erb:9
1236
+ msgid "Learn more about this in the documentation."
1237
+ msgstr ""
1238
+
1151
1239
  #: ../app/views/job_templates/_custom_tab_headers.html.erb:1
1152
1240
  msgid "Job"
1153
1241
  msgstr ""
@@ -1190,14 +1278,19 @@ msgstr ""
1190
1278
  msgid "Whether to overwrite the template if it already exists"
1191
1279
  msgstr ""
1192
1280
 
1193
- #: ../app/views/job_templates/edit.html.erb:4
1194
- msgid "Edit Job Template"
1195
- msgstr ""
1196
-
1281
+ #: ../app/views/job_templates/edit.html.erb:7
1197
1282
  #: ../app/views/job_templates/index.html.erb:5
1198
1283
  msgid "Job Templates"
1199
1284
  msgstr ""
1200
1285
 
1286
+ #: ../app/views/job_templates/edit.html.erb:11
1287
+ msgid "Edit %s"
1288
+ msgstr ""
1289
+
1290
+ #: ../app/views/job_templates/edit.html.erb:17
1291
+ msgid "Edit Job Template"
1292
+ msgstr ""
1293
+
1201
1294
  #: ../app/views/job_templates/index.html.erb:7
1202
1295
  msgid "Import"
1203
1296
  msgstr ""
@@ -1253,7 +1346,7 @@ msgid ""
1253
1346
  msgstr ""
1254
1347
 
1255
1348
  #: ../app/views/remote_execution_features/index.html.erb:1
1256
- #: ../lib/foreman_remote_execution/engine.rb:99
1349
+ #: ../lib/foreman_remote_execution/engine.rb:104
1257
1350
  msgid "Remote Execution Features"
1258
1351
  msgstr ""
1259
1352
 
@@ -1289,39 +1382,39 @@ msgid ""
1289
1382
  "given a free-form field"
1290
1383
  msgstr ""
1291
1384
 
1292
- #: ../app/views/template_invocations/show.html.erb:1
1293
- msgid "Detail of %s run"
1385
+ #: ../app/views/template_invocations/show.html.erb:3
1386
+ msgid "Template Invocation for %s"
1294
1387
  msgstr ""
1295
1388
 
1296
- #: ../app/views/template_invocations/show.html.erb:7
1389
+ #: ../app/views/template_invocations/show.html.erb:16
1297
1390
  msgid "Back to Job"
1298
1391
  msgstr ""
1299
1392
 
1300
- #: ../app/views/template_invocations/show.html.erb:8
1393
+ #: ../app/views/template_invocations/show.html.erb:17
1301
1394
  msgid "Toggle command"
1302
1395
  msgstr ""
1303
1396
 
1304
- #: ../app/views/template_invocations/show.html.erb:9
1397
+ #: ../app/views/template_invocations/show.html.erb:18
1305
1398
  msgid "Toggle STDERR"
1306
1399
  msgstr ""
1307
1400
 
1308
- #: ../app/views/template_invocations/show.html.erb:10
1401
+ #: ../app/views/template_invocations/show.html.erb:19
1309
1402
  msgid "Toggle STDOUT"
1310
1403
  msgstr ""
1311
1404
 
1312
- #: ../app/views/template_invocations/show.html.erb:11
1405
+ #: ../app/views/template_invocations/show.html.erb:20
1313
1406
  msgid "Toggle DEBUG"
1314
1407
  msgstr ""
1315
1408
 
1316
- #: ../app/views/template_invocations/show.html.erb:16
1409
+ #: ../app/views/template_invocations/show.html.erb:25
1317
1410
  msgid "Target: "
1318
1411
  msgstr ""
1319
1412
 
1320
- #: ../app/views/template_invocations/show.html.erb:26
1413
+ #: ../app/views/template_invocations/show.html.erb:35
1321
1414
  msgid "Scroll to bottom"
1322
1415
  msgstr ""
1323
1416
 
1324
- #: ../app/views/template_invocations/show.html.erb:32
1417
+ #: ../app/views/template_invocations/show.html.erb:41
1325
1418
  msgid "Scroll to top"
1326
1419
  msgstr ""
1327
1420
 
@@ -1330,7 +1423,7 @@ msgid "Unsupported or no operating system found for this host."
1330
1423
  msgstr ""
1331
1424
 
1332
1425
  #: ../db/seeds.d/50-notification_blueprints.rb:3
1333
- #: ../lib/foreman_remote_execution/engine.rb:105
1426
+ #: ../lib/foreman_remote_execution/engine.rb:110
1334
1427
  msgid "Jobs"
1335
1428
  msgstr ""
1336
1429
 
@@ -1342,16 +1435,16 @@ msgstr ""
1342
1435
  msgid "Job Details"
1343
1436
  msgstr ""
1344
1437
 
1345
- #: ../lib/foreman_remote_execution/engine.rb:94
1438
+ #: ../lib/foreman_remote_execution/engine.rb:99
1346
1439
  msgid "Job templates"
1347
1440
  msgstr ""
1348
1441
 
1349
1442
  #: action_names.rb:3
1350
- msgid "Import facts"
1443
+ msgid "Import Puppet classes"
1351
1444
  msgstr ""
1352
1445
 
1353
1446
  #: action_names.rb:4
1354
- msgid "Import Puppet classes"
1447
+ msgid "Import facts"
1355
1448
  msgstr ""
1356
1449
 
1357
1450
  #: action_names.rb:5