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.
- checksums.yaml +5 -5
- data/.rubocop.yml +3 -0
- data/app/controllers/api/v2/template_invocations_controller.rb +46 -0
- data/app/controllers/job_invocations_controller.rb +6 -0
- data/app/models/job_invocation_composer.rb +5 -1
- data/app/models/remote_execution_provider.rb +1 -1
- data/app/views/api/v2/template_invocations/base.json.rabl +5 -0
- data/app/views/api/v2/template_invocations/template_invocations.json.rabl +3 -0
- data/app/views/job_invocations/welcome.html.erb +14 -0
- data/app/views/template_invocations/show.html.erb +10 -1
- data/config/routes.rb +1 -0
- data/db/seeds.d/70-job_templates.rb +5 -1
- data/foreman_remote_execution.gemspec +1 -0
- data/lib/foreman_remote_execution/engine.rb +2 -0
- data/lib/foreman_remote_execution/version.rb +1 -1
- data/locale/de/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/de/foreman_remote_execution.po +165 -27
- data/locale/en/foreman_remote_execution.po +161 -23
- data/locale/en_GB/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/en_GB/foreman_remote_execution.po +162 -24
- data/locale/es/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/es/foreman_remote_execution.po +165 -27
- data/locale/foreman_remote_execution.pot +282 -189
- data/locale/fr/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/fr/foreman_remote_execution.po +165 -27
- data/locale/ja/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/ja/foreman_remote_execution.po +165 -27
- data/locale/ko/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/ko/foreman_remote_execution.po +165 -27
- data/locale/pt_BR/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/pt_BR/foreman_remote_execution.po +165 -27
- data/locale/ru/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/ru/foreman_remote_execution.po +165 -27
- data/locale/zh_CN/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/zh_CN/foreman_remote_execution.po +165 -27
- data/locale/zh_TW/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/zh_TW/foreman_remote_execution.po +165 -27
- data/test/functional/api/v2/template_invocations_controller_test.rb +33 -0
- data/test/unit/remote_execution_provider_test.rb +6 -1
- metadata +11 -4
@@ -38,6 +38,9 @@ msgstr ""
|
|
38
38
|
msgid "A comma separated list of input names to be included from the foreign template."
|
39
39
|
msgstr ""
|
40
40
|
|
41
|
+
msgid "A job '%{subject}' has finished successfully"
|
42
|
+
msgstr ""
|
43
|
+
|
41
44
|
msgid "A list of options the user can select from. If not provided, the user will be given a free-form field"
|
42
45
|
msgstr ""
|
43
46
|
|
@@ -47,6 +50,9 @@ msgstr ""
|
|
47
50
|
msgid "A user to be used for executing the script. If it differs from the SSH user, su or sudo is used to switch the accounts."
|
48
51
|
msgstr ""
|
49
52
|
|
53
|
+
msgid "Abort Job"
|
54
|
+
msgstr ""
|
55
|
+
|
50
56
|
msgid "Action with sub plans"
|
51
57
|
msgstr ""
|
52
58
|
|
@@ -59,6 +65,9 @@ msgstr ""
|
|
59
65
|
msgid "Add Input"
|
60
66
|
msgstr ""
|
61
67
|
|
68
|
+
msgid "Amount of workers in the pool to handle the execution of the remote execution jobs. Restart of the dynflowd/foreman-tasks service is required."
|
69
|
+
msgstr ""
|
70
|
+
|
62
71
|
msgid "Another interface is already set as execution. Are you sure you want to use this one instead?"
|
63
72
|
msgstr ""
|
64
73
|
|
@@ -71,6 +80,9 @@ msgstr ""
|
|
71
80
|
msgid "Cancel Job"
|
72
81
|
msgstr ""
|
73
82
|
|
83
|
+
msgid "Cancel job invocation"
|
84
|
+
msgstr ""
|
85
|
+
|
74
86
|
msgid "Cancelled"
|
75
87
|
msgstr ""
|
76
88
|
|
@@ -89,6 +101,9 @@ msgstr ""
|
|
89
101
|
msgid "Circular dependency detected in foreign input set '%{template}' -> '%{target_template}'. Templates stack: %{templates_stack}"
|
90
102
|
msgstr ""
|
91
103
|
|
104
|
+
msgid "Cleanup working directories"
|
105
|
+
msgstr ""
|
106
|
+
|
92
107
|
msgid "Clone a provision template"
|
93
108
|
msgstr ""
|
94
109
|
|
@@ -101,6 +116,9 @@ msgstr ""
|
|
101
116
|
msgid "Concurrency level limited to"
|
102
117
|
msgstr ""
|
103
118
|
|
119
|
+
msgid "Connect by IP"
|
120
|
+
msgstr ""
|
121
|
+
|
104
122
|
msgid "Control concurrency level and distribution over time"
|
105
123
|
msgstr ""
|
106
124
|
|
@@ -131,6 +149,18 @@ msgstr ""
|
|
131
149
|
msgid "Create a template input"
|
132
150
|
msgstr ""
|
133
151
|
|
152
|
+
msgid "Default SSH key passphrase"
|
153
|
+
msgstr ""
|
154
|
+
|
155
|
+
msgid "Default SSH password"
|
156
|
+
msgstr ""
|
157
|
+
|
158
|
+
msgid "Default key passphrase to use for SSH. You may override per host by setting a parameter called remote_execution_ssh_key_passphrase"
|
159
|
+
msgstr ""
|
160
|
+
|
161
|
+
msgid "Default password to use for SSH. You may override per host by setting a parameter called remote_execution_ssh_password"
|
162
|
+
msgstr ""
|
163
|
+
|
134
164
|
msgid "Default user to use for SSH. You may override per host by setting a parameter called remote_execution_ssh_user."
|
135
165
|
msgstr ""
|
136
166
|
|
@@ -152,9 +182,6 @@ msgstr ""
|
|
152
182
|
msgid "Description template"
|
153
183
|
msgstr ""
|
154
184
|
|
155
|
-
msgid "Detail of %s run"
|
156
|
-
msgstr ""
|
157
|
-
|
158
185
|
msgid "Display advanced fields"
|
159
186
|
msgstr ""
|
160
187
|
|
@@ -170,12 +197,21 @@ msgstr ""
|
|
170
197
|
msgid "Dynamic Query"
|
171
198
|
msgstr ""
|
172
199
|
|
200
|
+
msgid "Edit %s"
|
201
|
+
msgstr ""
|
202
|
+
|
173
203
|
msgid "Edit Job Template"
|
174
204
|
msgstr ""
|
175
205
|
|
176
206
|
msgid "Edit Remote Execution Feature"
|
177
207
|
msgstr ""
|
178
208
|
|
209
|
+
msgid "Effective User"
|
210
|
+
msgstr ""
|
211
|
+
|
212
|
+
msgid "Effective User Method"
|
213
|
+
msgstr ""
|
214
|
+
|
179
215
|
msgid "Effective user"
|
180
216
|
msgstr ""
|
181
217
|
|
@@ -185,6 +221,9 @@ msgstr ""
|
|
185
221
|
msgid "Effective user options"
|
186
222
|
msgstr ""
|
187
223
|
|
224
|
+
msgid "Enable Global Proxy"
|
225
|
+
msgstr ""
|
226
|
+
|
188
227
|
msgid "Error loading data from proxy"
|
189
228
|
msgstr ""
|
190
229
|
|
@@ -212,6 +251,12 @@ msgstr ""
|
|
212
251
|
msgid "Failed rendering template: %s"
|
213
252
|
msgstr ""
|
214
253
|
|
254
|
+
msgid "Fallback Without Proxy"
|
255
|
+
msgstr ""
|
256
|
+
|
257
|
+
msgid "Fallback to Any Proxy"
|
258
|
+
msgstr ""
|
259
|
+
|
215
260
|
msgid "Feature input %{input_name} not defined in template %{template_name}"
|
216
261
|
msgstr ""
|
217
262
|
|
@@ -221,6 +266,9 @@ msgstr ""
|
|
221
266
|
msgid "Foreign input set"
|
222
267
|
msgstr ""
|
223
268
|
|
269
|
+
msgid "Foreman can run arbitrary commands on remote hosts using different providers, such as SSH or Ansible. Communication goes through the Smart Proxy so Foreman does not have to have direct access to the target hosts and can scale to control many hosts."
|
270
|
+
msgstr ""
|
271
|
+
|
224
272
|
msgid "Get output for a host"
|
225
273
|
msgstr ""
|
226
274
|
|
@@ -233,10 +281,10 @@ msgstr ""
|
|
233
281
|
msgid "Host detail"
|
234
282
|
msgstr ""
|
235
283
|
|
236
|
-
msgid "Host
|
284
|
+
msgid "Host task"
|
237
285
|
msgstr ""
|
238
286
|
|
239
|
-
msgid "
|
287
|
+
msgid "Host with id '%{id}' was not found"
|
240
288
|
msgstr ""
|
241
289
|
|
242
290
|
msgid "How often the job should occur, in the cron format"
|
@@ -290,15 +338,24 @@ msgstr ""
|
|
290
338
|
msgid "Job"
|
291
339
|
msgstr ""
|
292
340
|
|
341
|
+
msgid "Job Details"
|
342
|
+
msgstr ""
|
343
|
+
|
293
344
|
msgid "Job Invocation"
|
294
345
|
msgstr ""
|
295
346
|
|
347
|
+
msgid "Job Invocations"
|
348
|
+
msgstr ""
|
349
|
+
|
296
350
|
msgid "Job Task"
|
297
351
|
msgstr ""
|
298
352
|
|
299
353
|
msgid "Job Templates"
|
300
354
|
msgstr ""
|
301
355
|
|
356
|
+
msgid "Job cancelled by user"
|
357
|
+
msgstr ""
|
358
|
+
|
302
359
|
msgid "Job category"
|
303
360
|
msgstr ""
|
304
361
|
|
@@ -338,6 +395,9 @@ msgstr ""
|
|
338
395
|
msgid "Jobs"
|
339
396
|
msgstr ""
|
340
397
|
|
398
|
+
msgid "Key passhprase is only applicable for SSH provider. Other providers ignore this field. <br> Passphrase is stored encrypted in DB until the job finishes. For future or recurring executions, it is removed after the last execution."
|
399
|
+
msgstr ""
|
400
|
+
|
341
401
|
msgid "Label"
|
342
402
|
msgstr ""
|
343
403
|
|
@@ -347,6 +407,9 @@ msgstr ""
|
|
347
407
|
msgid "Last execution succeeded"
|
348
408
|
msgstr ""
|
349
409
|
|
410
|
+
msgid "Learn more about this in the documentation."
|
411
|
+
msgstr ""
|
412
|
+
|
350
413
|
msgid "List foreign input sets"
|
351
414
|
msgstr ""
|
352
415
|
|
@@ -368,6 +431,9 @@ msgstr ""
|
|
368
431
|
msgid "List template inputs"
|
369
432
|
msgstr ""
|
370
433
|
|
434
|
+
msgid "List template invocations belonging to job invocation"
|
435
|
+
msgstr ""
|
436
|
+
|
371
437
|
msgid "Manual selection"
|
372
438
|
msgstr ""
|
373
439
|
|
@@ -410,13 +476,16 @@ msgstr ""
|
|
410
476
|
msgid "Overwrite template if it already exists"
|
411
477
|
msgstr ""
|
412
478
|
|
413
|
-
msgid "
|
479
|
+
msgid "Password"
|
414
480
|
msgstr ""
|
415
481
|
|
416
|
-
msgid "
|
482
|
+
msgid "Password is stored encrypted in DB until the job finishes. For future or recurring executions, it is removed after the last execution."
|
417
483
|
msgstr ""
|
418
484
|
|
419
|
-
msgid "
|
485
|
+
msgid "Pending"
|
486
|
+
msgstr ""
|
487
|
+
|
488
|
+
msgid "Perform no more executions after this time"
|
420
489
|
msgstr ""
|
421
490
|
|
422
491
|
msgid "Port to use for SSH communication. Default port 22. You may override per host by setting a parameter called remote_execution_ssh_port."
|
@@ -425,7 +494,10 @@ msgstr ""
|
|
425
494
|
msgid "Preview"
|
426
495
|
msgstr ""
|
427
496
|
|
428
|
-
msgid "Preview
|
497
|
+
msgid "Preview templates"
|
498
|
+
msgstr ""
|
499
|
+
|
500
|
+
msgid "Private key passphrase"
|
429
501
|
msgstr ""
|
430
502
|
|
431
503
|
msgid "Problem with previewing the template: %{error}. Note that you must save template input changes before you try to preview it."
|
@@ -458,9 +530,6 @@ msgstr ""
|
|
458
530
|
msgid "Refresh"
|
459
531
|
msgstr ""
|
460
532
|
|
461
|
-
msgid "Refresh this page"
|
462
|
-
msgstr ""
|
463
|
-
|
464
533
|
msgid "Remote Execution"
|
465
534
|
msgstr ""
|
466
535
|
|
@@ -473,6 +542,9 @@ msgstr ""
|
|
473
542
|
msgid "Remote execution"
|
474
543
|
msgstr ""
|
475
544
|
|
545
|
+
msgid "Remote execution feature label that should be triggered, job template assigned to this feature will be used"
|
546
|
+
msgstr ""
|
547
|
+
|
476
548
|
msgid "Repeat a maximum of N times"
|
477
549
|
msgstr ""
|
478
550
|
|
@@ -482,6 +554,9 @@ msgstr ""
|
|
482
554
|
msgid "Rerun failed"
|
483
555
|
msgstr ""
|
484
556
|
|
557
|
+
msgid "Rerun job on failed hosts"
|
558
|
+
msgstr ""
|
559
|
+
|
485
560
|
msgid "Rerun on %s"
|
486
561
|
msgstr ""
|
487
562
|
|
@@ -494,6 +569,9 @@ msgstr ""
|
|
494
569
|
msgid "Resolves to"
|
495
570
|
msgstr ""
|
496
571
|
|
572
|
+
msgid "Results"
|
573
|
+
msgstr ""
|
574
|
+
|
497
575
|
msgid "Run"
|
498
576
|
msgstr ""
|
499
577
|
|
@@ -506,9 +584,18 @@ msgstr ""
|
|
506
584
|
msgid "SSH"
|
507
585
|
msgstr ""
|
508
586
|
|
587
|
+
msgid "SSH Port"
|
588
|
+
msgstr ""
|
589
|
+
|
590
|
+
msgid "SSH User"
|
591
|
+
msgstr ""
|
592
|
+
|
509
593
|
msgid "SSH provider specific options"
|
510
594
|
msgstr ""
|
511
595
|
|
596
|
+
msgid "Schedule"
|
597
|
+
msgstr ""
|
598
|
+
|
512
599
|
msgid "Schedule Remote Job"
|
513
600
|
msgstr ""
|
514
601
|
|
@@ -521,6 +608,9 @@ msgstr ""
|
|
521
608
|
msgid "Scheduled to start at"
|
522
609
|
msgstr ""
|
523
610
|
|
611
|
+
msgid "Scheduled to start before"
|
612
|
+
msgstr ""
|
613
|
+
|
524
614
|
msgid "Scroll to bottom"
|
525
615
|
msgstr ""
|
526
616
|
|
@@ -590,6 +680,15 @@ msgstr ""
|
|
590
680
|
msgid "Success"
|
591
681
|
msgstr ""
|
592
682
|
|
683
|
+
msgid "Sudo password"
|
684
|
+
msgstr ""
|
685
|
+
|
686
|
+
msgid "Sudo password is only applicable for SSH provider. Other providers ignore this field. <br> Password is stored encrypted in DB until the job finishes. For future or recurring executions, it is removed after the last execution."
|
687
|
+
msgstr ""
|
688
|
+
|
689
|
+
msgid "Sync Job Templates"
|
690
|
+
msgstr ""
|
691
|
+
|
593
692
|
msgid "Target hosts"
|
594
693
|
msgstr ""
|
595
694
|
|
@@ -602,9 +701,15 @@ msgstr ""
|
|
602
701
|
msgid "Task Details"
|
603
702
|
msgstr ""
|
604
703
|
|
704
|
+
msgid "Task cancelled"
|
705
|
+
msgstr ""
|
706
|
+
|
605
707
|
msgid "Template ERB"
|
606
708
|
msgstr ""
|
607
709
|
|
710
|
+
msgid "Template Invocation for %s"
|
711
|
+
msgstr ""
|
712
|
+
|
608
713
|
msgid "Template input"
|
609
714
|
msgstr ""
|
610
715
|
|
@@ -617,6 +722,9 @@ msgstr ""
|
|
617
722
|
msgid "Template with id '%{id}' was not found"
|
618
723
|
msgstr ""
|
619
724
|
|
725
|
+
msgid "The dynamic query '#{job_invocation.targeting.search_query}' was not resolved yet. The list of hosts to which it would resolve now can be seen"
|
726
|
+
msgstr ""
|
727
|
+
|
620
728
|
msgid "The dynamic query '%{query}' was not resolved yet. The list of hosts to which it would resolve now can be seen %{here}."
|
621
729
|
msgstr ""
|
622
730
|
|
@@ -626,7 +734,16 @@ msgstr ""
|
|
626
734
|
msgid "The final host list may change because the selected query is dynamic. It will be rerun during execution."
|
627
735
|
msgstr ""
|
628
736
|
|
629
|
-
msgid "The job
|
737
|
+
msgid "The job cannot be aborted at the moment."
|
738
|
+
msgstr ""
|
739
|
+
|
740
|
+
msgid "The job cannot be cancelled at the moment."
|
741
|
+
msgstr ""
|
742
|
+
|
743
|
+
msgid "The job could not be cancelled."
|
744
|
+
msgstr ""
|
745
|
+
|
746
|
+
msgid "The job template to use, parameter is required unless feature was specified"
|
630
747
|
msgstr ""
|
631
748
|
|
632
749
|
msgid "The only applicable proxy %{proxy_names} is down"
|
@@ -658,9 +775,6 @@ msgstr ""
|
|
658
775
|
msgid "Time span"
|
659
776
|
msgstr ""
|
660
777
|
|
661
|
-
msgid "Timeout interval"
|
662
|
-
msgstr ""
|
663
|
-
|
664
778
|
msgid "Timeout to kill"
|
665
779
|
msgstr ""
|
666
780
|
|
@@ -682,16 +796,28 @@ msgstr ""
|
|
682
796
|
msgid "Total hosts"
|
683
797
|
msgstr ""
|
684
798
|
|
799
|
+
msgid "Try to abort the job on a host without waiting for its result"
|
800
|
+
msgstr ""
|
801
|
+
|
802
|
+
msgid "Try to abort the job without waiting for the results from the remote hosts"
|
803
|
+
msgstr ""
|
804
|
+
|
685
805
|
msgid "Try to cancel the job"
|
686
806
|
msgstr ""
|
687
807
|
|
688
808
|
msgid "Try to cancel the job on a host"
|
689
809
|
msgstr ""
|
690
810
|
|
811
|
+
msgid "Trying to abort the job"
|
812
|
+
msgstr ""
|
813
|
+
|
814
|
+
msgid "Trying to cancel the job"
|
815
|
+
msgstr ""
|
816
|
+
|
691
817
|
msgid "Type"
|
692
818
|
msgstr ""
|
693
819
|
|
694
|
-
msgid "Type has impact on when is the query
|
820
|
+
msgid "Type has impact on when is the query evaluated to hosts.<br><ul><li><b>Static</b> - evaluates just after you submit this form</li><li><b>Dynamic</b> - evaluates just before the execution is started, so if it's planed in future, targeted hosts set may change before it</li></ul>"
|
695
821
|
msgstr ""
|
696
822
|
|
697
823
|
msgid "Type of query"
|
@@ -727,6 +853,9 @@ msgstr ""
|
|
727
853
|
msgid "Use default description template"
|
728
854
|
msgstr ""
|
729
855
|
|
856
|
+
msgid "User Inputs"
|
857
|
+
msgstr ""
|
858
|
+
|
730
859
|
msgid "User can not execute job on host %s"
|
731
860
|
msgstr ""
|
732
861
|
|
@@ -739,6 +868,9 @@ msgstr ""
|
|
739
868
|
msgid "User input"
|
740
869
|
msgstr ""
|
741
870
|
|
871
|
+
msgid "Value"
|
872
|
+
msgstr ""
|
873
|
+
|
742
874
|
msgid "Value for required input '%s' was not specified"
|
743
875
|
msgstr ""
|
744
876
|
|
@@ -762,6 +894,9 @@ msgid ""
|
|
762
894
|
" proxy with remote execution feature is configured for the host."
|
763
895
|
msgstr ""
|
764
896
|
|
897
|
+
msgid "When enabled, working directories will be removed after task completion. You may override this per host by setting a parameter called remote_execution_cleanup_working_dirs."
|
898
|
+
msgstr ""
|
899
|
+
|
765
900
|
msgid "Whether it should be allowed to override the effective user from the invocation form."
|
766
901
|
msgstr ""
|
767
902
|
|
@@ -777,6 +912,9 @@ msgstr ""
|
|
777
912
|
msgid "Whether we should sync templates from disk when running db:seed."
|
778
913
|
msgstr ""
|
779
914
|
|
915
|
+
msgid "Workers pool size"
|
916
|
+
msgstr ""
|
917
|
+
|
780
918
|
msgid "You are not allowed to see the currently assigned template. Saving the form now would unassign the template."
|
781
919
|
msgstr ""
|
782
920
|
|
@@ -789,13 +927,13 @@ msgstr ""
|
|
789
927
|
msgid "cancelled"
|
790
928
|
msgstr ""
|
791
929
|
|
792
|
-
msgid "
|
930
|
+
msgid "effective user"
|
793
931
|
msgstr ""
|
794
932
|
|
795
|
-
msgid "
|
933
|
+
msgid "error during rendering: %s"
|
796
934
|
msgstr ""
|
797
935
|
|
798
|
-
msgid "
|
936
|
+
msgid "failed"
|
799
937
|
msgstr ""
|
800
938
|
|
801
939
|
msgid "here"
|
@@ -816,9 +954,6 @@ msgstr ""
|
|
816
954
|
msgid "input macro with name '%s' used, but no input with such name defined for this template"
|
817
955
|
msgstr ""
|
818
956
|
|
819
|
-
msgid "minutes"
|
820
|
-
msgstr ""
|
821
|
-
|
822
957
|
msgid "planned"
|
823
958
|
msgstr ""
|
824
959
|
|
@@ -857,3 +992,6 @@ msgstr ""
|
|
857
992
|
|
858
993
|
msgid "unknown status"
|
859
994
|
msgstr ""
|
995
|
+
|
996
|
+
msgid "using "
|
997
|
+
msgstr ""
|
Binary file
|