foreman_remote_execution 8.2.0 → 8.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/api/v2/job_invocations_controller.rb +1 -0
  3. data/app/controllers/job_invocations_controller.rb +20 -1
  4. data/app/controllers/ui_job_wizard_controller.rb +3 -1
  5. data/app/helpers/remote_execution_helper.rb +1 -1
  6. data/app/lib/actions/remote_execution/run_host_job.rb +1 -1
  7. data/app/views/api/v2/job_invocations/base.json.rabl +1 -1
  8. data/app/views/job_invocations/_form.html.erb +1 -1
  9. data/app/views/job_invocations/show.html.erb +1 -1
  10. data/app/views/job_invocations/welcome.html.erb +1 -1
  11. data/config/routes.rb +1 -0
  12. data/db/migrate/20210816100932_rex_setting_category_to_dsl.rb +1 -1
  13. data/lib/foreman_remote_execution/engine.rb +1 -1
  14. data/lib/foreman_remote_execution/version.rb +1 -1
  15. data/locale/action_names.rb +2 -2
  16. data/locale/de/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  17. data/locale/de/foreman_remote_execution.po +266 -154
  18. data/locale/en/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  19. data/locale/en/foreman_remote_execution.po +132 -24
  20. data/locale/en_GB/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  21. data/locale/en_GB/foreman_remote_execution.po +149 -41
  22. data/locale/es/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  23. data/locale/es/foreman_remote_execution.po +320 -210
  24. data/locale/foreman_remote_execution.pot +394 -211
  25. data/locale/fr/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  26. data/locale/fr/foreman_remote_execution.po +353 -241
  27. data/locale/ja/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  28. data/locale/ja/foreman_remote_execution.po +368 -261
  29. data/locale/ko/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  30. data/locale/ko/foreman_remote_execution.po +161 -53
  31. data/locale/pt_BR/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  32. data/locale/pt_BR/foreman_remote_execution.po +335 -225
  33. data/locale/ru/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  34. data/locale/ru/foreman_remote_execution.po +161 -53
  35. data/locale/zh_CN/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  36. data/locale/zh_CN/foreman_remote_execution.po +465 -359
  37. data/locale/zh_TW/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  38. data/locale/zh_TW/foreman_remote_execution.po +162 -54
  39. data/webpack/JobWizard/JobWizard.js +52 -10
  40. data/webpack/JobWizard/JobWizardConstants.js +1 -1
  41. data/webpack/JobWizard/__tests__/__snapshots__/integration.test.js.snap +8 -0
  42. data/webpack/JobWizard/__tests__/fixtures.js +5 -0
  43. data/webpack/JobWizard/__tests__/integration.test.js +15 -0
  44. data/webpack/JobWizard/__tests__/validation.test.js +27 -0
  45. data/webpack/JobWizard/autofill.js +1 -0
  46. data/webpack/JobWizard/steps/AdvancedFields/__tests__/AdvancedFields.test.js +19 -0
  47. data/webpack/JobWizard/steps/AdvancedFields/__tests__/__snapshots__/AdvancedFields.test.js.snap +8 -0
  48. data/webpack/JobWizard/steps/HostsAndInputs/HostPreviewModal.js +3 -0
  49. data/webpack/JobWizard/steps/HostsAndInputs/__tests__/HostsAndInputs.test.js +32 -2
  50. data/webpack/JobWizard/steps/HostsAndInputs/buildHostQuery.js +16 -10
  51. data/webpack/JobWizard/steps/HostsAndInputs/index.js +51 -3
  52. data/webpack/JobWizard/steps/Schedule/QueryType.js +1 -1
  53. data/webpack/JobWizard/steps/Schedule/RepeatHour.js +0 -1
  54. data/webpack/JobWizard/steps/Schedule/__tests__/Schedule.test.js +25 -5
  55. data/webpack/JobWizard/steps/form/DateTimePicker.js +0 -1
  56. data/webpack/JobWizard/steps/form/GroupedSelectField.js +0 -1
  57. data/webpack/JobWizard/steps/form/SelectField.js +0 -1
  58. data/webpack/JobWizard/submit.js +13 -2
  59. data/webpack/react_app/components/RecentJobsCard/RecentJobsCard.js +4 -4
  60. data/webpack/react_app/components/RecentJobsCard/RecentJobsTable.js +2 -2
  61. data/webpack/react_app/components/RecentJobsCard/constants.js +2 -2
  62. metadata +6 -6
@@ -3,13 +3,13 @@
3
3
  # This file is distributed under the same license as the foreman_remote_execution package.
4
4
  #
5
5
  # Translators:
6
- # Dominic Cleal <dominic@cleal.org>, 2016
6
+ # 0868a4d1af5275b3f70b0a6dac4c99a4, 2016
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: foreman_remote_execution 1.5.3\n"
9
+ "Project-Id-Version: foreman_remote_execution 9.0.1\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "PO-Revision-Date: 2018-06-14 23:10+0000\n"
12
- "Last-Translator: Andi Chandler <andi@gowling.com>\n"
11
+ "PO-Revision-Date: 2016-02-15 13:54+0000\n"
12
+ "Last-Translator: 0868a4d1af5275b3f70b0a6dac4c99a4, 2016\n"
13
13
  "Language-Team: English (United Kingdom) (http://www.transifex.com/foreman/fore"
14
14
  "man/language/en_GB/)\n"
15
15
  "MIME-Version: 1.0\n"
@@ -30,6 +30,12 @@ msgstr ""
30
30
  msgid "%{description} on %{host}"
31
31
  msgstr ""
32
32
 
33
+ msgid "'Starts before' date must be after 'Starts at' date"
34
+ msgstr ""
35
+
36
+ msgid "'Starts before' date must in the future"
37
+ msgstr ""
38
+
33
39
  msgid ", and %s more"
34
40
  msgstr ""
35
41
 
@@ -65,6 +71,9 @@ msgstr ""
65
71
  msgid "A special label for tracking a recurring job. There can be only one active job with a given purpose at a time."
66
72
  msgstr ""
67
73
 
74
+ msgid "A user to be used for SSH."
75
+ msgstr ""
76
+
68
77
  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."
69
78
  msgstr ""
70
79
 
@@ -72,9 +81,12 @@ msgid "Abort Job"
72
81
  msgstr ""
73
82
 
74
83
  msgid "Action with sub plans"
75
- msgstr ""
84
+ msgstr "Action with sub plans"
76
85
 
77
86
  msgid "Actions"
87
+ msgstr "Actions"
88
+
89
+ msgid "Active Filters:"
78
90
  msgstr ""
79
91
 
80
92
  msgid "Add Foreign Input Set"
@@ -83,6 +95,9 @@ msgstr ""
83
95
  msgid "Advanced fields"
84
96
  msgstr ""
85
97
 
98
+ msgid "After"
99
+ msgstr ""
100
+
86
101
  msgid "All fields are required."
87
102
  msgstr ""
88
103
 
@@ -99,7 +114,7 @@ msgid "Any Location"
99
114
  msgstr ""
100
115
 
101
116
  msgid "Any Organization"
102
- msgstr ""
117
+ msgstr "Any Organisation"
103
118
 
104
119
  msgid "Apply to"
105
120
  msgstr ""
@@ -155,6 +170,9 @@ msgstr ""
155
170
  msgid "Clear filters"
156
171
  msgstr ""
157
172
 
173
+ msgid "Clear input"
174
+ msgstr ""
175
+
158
176
  msgid "Clone a provision template"
159
177
  msgstr ""
160
178
 
@@ -194,6 +212,9 @@ msgstr ""
194
212
  msgid "Could not use any template used in the job invocation"
195
213
  msgstr ""
196
214
 
215
+ msgid "Create"
216
+ msgstr ""
217
+
197
218
  msgid "Create Report"
198
219
  msgstr ""
199
220
 
@@ -213,7 +234,7 @@ msgid "Create report for this job"
213
234
  msgstr ""
214
235
 
215
236
  msgid "Cron line"
216
- msgstr ""
237
+ msgstr "Cron line"
217
238
 
218
239
  msgid "Cron line format 'a b c d e', where:"
219
240
  msgstr ""
@@ -221,9 +242,15 @@ msgstr ""
221
242
  msgid "Cronline"
222
243
  msgstr ""
223
244
 
245
+ msgid "Current location %s is different from job's location %s. This job may run on different hosts than before."
246
+ msgstr ""
247
+
224
248
  msgid "Current location %{loc_c} is different from job's location %{loc_j}."
225
249
  msgstr ""
226
250
 
251
+ msgid "Current organization %s is different from job's organization %s. This job may run on different hosts than before."
252
+ msgstr ""
253
+
227
254
  msgid "Current organization %{org_c} is different from job's organization %{org_j}."
228
255
  msgstr ""
229
256
 
@@ -287,9 +314,6 @@ msgstr ""
287
314
  msgid "Duplicated inputs detected: %{duplicated_inputs}"
288
315
  msgstr ""
289
316
 
290
- msgid "Dynamic"
291
- msgstr ""
292
-
293
317
  msgid "Dynamic Query"
294
318
  msgstr ""
295
319
 
@@ -297,7 +321,7 @@ msgid "Dynamic query"
297
321
  msgstr ""
298
322
 
299
323
  msgid "Edit %s"
300
- msgstr ""
324
+ msgstr "Edit %s"
301
325
 
302
326
  msgid "Edit Job Template"
303
327
  msgstr ""
@@ -308,6 +332,9 @@ msgstr ""
308
332
  msgid "Edit job description template"
309
333
  msgstr ""
310
334
 
335
+ msgid "Effective User"
336
+ msgstr ""
337
+
311
338
  msgid "Effective User Method"
312
339
  msgstr ""
313
340
 
@@ -329,9 +356,6 @@ msgstr ""
329
356
  msgid "Effective user password is only applicable for SSH provider. Other providers ignore this field. Password is stored encrypted in DB until the job finishes. For future or recurring executions, it is removed after the last execution."
330
357
  msgstr ""
331
358
 
332
- msgid "Efffective User"
333
- msgstr ""
334
-
335
359
  msgid "Enable Global Proxy"
336
360
  msgstr ""
337
361
 
@@ -342,7 +366,7 @@ msgid "Ends"
342
366
  msgstr ""
343
367
 
344
368
  msgid "Error"
345
- msgstr ""
369
+ msgstr "Error"
346
370
 
347
371
  msgid "Error loading data from proxy"
348
372
  msgstr ""
@@ -353,7 +377,13 @@ msgstr ""
353
377
  msgid "Evaluated at:"
354
378
  msgstr ""
355
379
 
356
- msgid "Execute now"
380
+ msgid "Execute the job later, at a scheduled time."
381
+ msgstr ""
382
+
383
+ msgid "Execute the job now."
384
+ msgstr ""
385
+
386
+ msgid "Execute the job on a repeating schedule."
357
387
  msgstr ""
358
388
 
359
389
  msgid "Execute the jobs on hosts in randomized order"
@@ -404,6 +434,9 @@ msgstr ""
404
434
  msgid "Finished"
405
435
  msgstr ""
406
436
 
437
+ msgid "For Future execution a 'Starts at' date or 'Starts before' date must be selected. Immediate execution can be selected in the previous step."
438
+ msgstr ""
439
+
407
440
  msgid "For example: 1, 2, 3, 4, 5..."
408
441
  msgstr ""
409
442
 
@@ -416,6 +449,9 @@ msgstr ""
416
449
  msgid "Form Job Template"
417
450
  msgstr ""
418
451
 
452
+ msgid "Future execution"
453
+ msgstr ""
454
+
419
455
  msgid "Get output for a host"
420
456
  msgstr ""
421
457
 
@@ -453,7 +489,7 @@ msgid "Host with id '%{id}' was not found"
453
489
  msgstr ""
454
490
 
455
491
  msgid "Hosts"
456
- msgstr ""
492
+ msgstr "Hosts"
457
493
 
458
494
  msgid "Hosts gone missing"
459
495
  msgstr ""
@@ -467,17 +503,20 @@ msgstr ""
467
503
  msgid "Identifier of the Host interface for Remote execution"
468
504
  msgstr ""
469
505
 
506
+ msgid "Immediate execution"
507
+ msgstr ""
508
+
470
509
  msgid "Import"
471
510
  msgstr ""
472
511
 
473
512
  msgid "Import Puppet classes"
474
- msgstr ""
513
+ msgstr "Import Puppet classes"
475
514
 
476
515
  msgid "Import a job template from ERB"
477
516
  msgstr ""
478
517
 
479
518
  msgid "Import facts"
480
- msgstr ""
519
+ msgstr "Import facts"
481
520
 
482
521
  msgid "Include all inputs from the foreign template"
483
522
  msgstr ""
@@ -485,6 +524,9 @@ msgstr ""
485
524
  msgid "Indicates that the action should be cancelled if it cannot be started before this time."
486
525
  msgstr ""
487
526
 
527
+ msgid "Inherit from host parameter"
528
+ msgstr ""
529
+
488
530
  msgid "Input"
489
531
  msgstr ""
490
532
 
@@ -500,6 +542,9 @@ msgstr ""
500
542
  msgid "Internal proxy selector can only be used if Katello is enabled"
501
543
  msgstr ""
502
544
 
545
+ msgid "Interval in seconds, if the job is not picked up by a client within this interval it will be cancelled."
546
+ msgstr ""
547
+
503
548
  msgid "Invalid date"
504
549
  msgstr ""
505
550
 
@@ -563,9 +608,6 @@ msgstr ""
563
608
  msgid "Job templates"
564
609
  msgstr ""
565
610
 
566
- msgid "Job wizard"
567
- msgstr ""
568
-
569
611
  msgid "JobTemplate|Locked"
570
612
  msgstr ""
571
613
 
@@ -627,11 +669,14 @@ msgid "List template invocations belonging to job invocation"
627
669
  msgstr ""
628
670
 
629
671
  msgid "Location"
630
- msgstr ""
672
+ msgstr "Location"
631
673
 
632
674
  msgid "Manual selection"
633
675
  msgstr ""
634
676
 
677
+ msgid "Minute can only be a number between 0-59"
678
+ msgstr ""
679
+
635
680
  msgid "Monthly"
636
681
  msgstr ""
637
682
 
@@ -642,14 +687,17 @@ msgid "N/A"
642
687
  msgstr "N/A"
643
688
 
644
689
  msgid "Name"
645
- msgstr ""
690
+ msgstr "Name"
646
691
 
647
- msgid "Never ends"
692
+ msgid "Never"
648
693
  msgstr ""
649
694
 
650
695
  msgid "New Job Template"
651
696
  msgstr ""
652
697
 
698
+ msgid "No (override)"
699
+ msgstr ""
700
+
653
701
  msgid "No Target Hosts"
654
702
  msgstr ""
655
703
 
@@ -671,12 +719,21 @@ msgstr ""
671
719
  msgid "Not all required inputs have values. Missing inputs: %s"
672
720
  msgstr ""
673
721
 
722
+ msgid "Now"
723
+ msgstr ""
724
+
725
+ msgid "On"
726
+ msgstr ""
727
+
674
728
  msgid "Only one of feature or job_template_id can be specified"
675
729
  msgstr ""
676
730
 
677
- msgid "Organization"
731
+ msgid "Opening job invocation form"
678
732
  msgstr ""
679
733
 
734
+ msgid "Organization"
735
+ msgstr "Organisation"
736
+
680
737
  msgid "Override the description format from the template for this invocation only"
681
738
  msgstr ""
682
739
 
@@ -758,6 +815,9 @@ msgstr ""
758
815
  msgid "REX job has succeeded - %s"
759
816
  msgstr ""
760
817
 
818
+ msgid "REX pull mode"
819
+ msgstr ""
820
+
761
821
  msgid "Randomized"
762
822
  msgstr ""
763
823
 
@@ -767,6 +827,9 @@ msgstr ""
767
827
  msgid "Recurrence"
768
828
  msgstr ""
769
829
 
830
+ msgid "Recurring execution"
831
+ msgstr ""
832
+
770
833
  msgid "Recurring logic"
771
834
  msgstr ""
772
835
 
@@ -786,7 +849,7 @@ msgid "Remote Execution Interface"
786
849
  msgstr ""
787
850
 
788
851
  msgid "Remote action:"
789
- msgstr ""
852
+ msgstr "Remote action:"
790
853
 
791
854
  msgid "Remote execution"
792
855
  msgstr ""
@@ -797,18 +860,15 @@ msgstr ""
797
860
  msgid "Remote execution job"
798
861
  msgstr ""
799
862
 
800
- msgid "Repeat N times"
801
- msgstr ""
802
-
803
- msgid "Repeat On"
804
- msgstr ""
805
-
806
863
  msgid "Repeat a maximum of N times"
807
864
  msgstr ""
808
865
 
809
866
  msgid "Repeat amount can only be a positive number"
810
867
  msgstr ""
811
868
 
869
+ msgid "Repeats"
870
+ msgstr ""
871
+
812
872
  msgid "Rerun"
813
873
  msgstr ""
814
874
 
@@ -827,6 +887,9 @@ msgstr ""
827
887
  msgid "Rerun the job"
828
888
  msgstr ""
829
889
 
890
+ msgid "Reset to default"
891
+ msgstr ""
892
+
830
893
  msgid "Resolves to"
831
894
  msgstr ""
832
895
 
@@ -855,7 +918,7 @@ msgid "Run job"
855
918
  msgstr ""
856
919
 
857
920
  msgid "Running"
858
- msgstr ""
921
+ msgstr "Running"
859
922
 
860
923
  msgid "SSH Port"
861
924
  msgstr ""
@@ -866,6 +929,9 @@ msgstr ""
866
929
  msgid "SSH provider specific options"
867
930
  msgstr ""
868
931
 
932
+ msgid "SSH user"
933
+ msgstr ""
934
+
869
935
  msgid "Schedule"
870
936
  msgstr ""
871
937
 
@@ -875,9 +941,6 @@ msgstr ""
875
941
  msgid "Schedule a job"
876
942
  msgstr ""
877
943
 
878
- msgid "Schedule for future execution"
879
- msgstr ""
880
-
881
944
  msgid "Schedule the job for a future time"
882
945
  msgstr ""
883
946
 
@@ -935,18 +998,30 @@ msgstr ""
935
998
  msgid "Select as many remote execution proxies as applicable for this subnet. When multiple proxies with the same provider are added, actions will be load balanced among them."
936
999
  msgstr ""
937
1000
 
1001
+ msgid "Select the type of execution"
1002
+ msgstr ""
1003
+
1004
+ msgid "Set 'host_registration_remote_execution_pull' parameter for the host. If it is set to true, pull provider client will be deployed on the host"
1005
+ msgstr ""
1006
+
938
1007
  msgid "Set SSH key passphrase"
939
1008
  msgstr ""
940
1009
 
941
1010
  msgid "Set SSH password"
942
1011
  msgstr ""
943
1012
 
1013
+ msgid "Set SSH user"
1014
+ msgstr ""
1015
+
944
1016
  msgid "Set password for effective user (using sudo-like mechanisms)"
945
1017
  msgstr ""
946
1018
 
947
1019
  msgid "Set to distribute over"
948
1020
  msgstr ""
949
1021
 
1022
+ msgid "Setup remote execution pull mode. If set to `Yes`, pull provider client will be deployed on the registered host. The inherited value is based on the `host_registration_remote_execution_pull` parameter. It can be inherited e.g. from host group, operating system, organization. When overridden, the selected value will be stored on host parameter level."
1023
+ msgstr ""
1024
+
950
1025
  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. For dual-stacked hosts you should consider the remote_execution_connect_by_ip_prefer_ipv6 setting"
951
1026
  msgstr ""
952
1027
 
@@ -980,6 +1055,9 @@ msgstr ""
980
1055
  msgid "Started"
981
1056
  msgstr ""
982
1057
 
1058
+ msgid "Starts"
1059
+ msgstr ""
1060
+
983
1061
  msgid "Starts at"
984
1062
  msgstr ""
985
1063
 
@@ -987,10 +1065,7 @@ msgid "Starts before"
987
1065
  msgstr ""
988
1066
 
989
1067
  msgid "State"
990
- msgstr ""
991
-
992
- msgid "Static"
993
- msgstr ""
1068
+ msgstr "State"
994
1069
 
995
1070
  msgid "Static Query"
996
1071
  msgstr ""
@@ -1111,9 +1186,15 @@ msgstr ""
1111
1186
  msgid "Time in seconds from the start on the remote host after which the job should be killed."
1112
1187
  msgstr ""
1113
1188
 
1189
+ msgid "Time in seconds within which the host has to pick up a job. If the job is not picked up within this limit, the job will be cancelled. Defaults to 1 day."
1190
+ msgstr ""
1191
+
1114
1192
  msgid "Time span"
1115
1193
  msgstr ""
1116
1194
 
1195
+ msgid "Time to pickup"
1196
+ msgstr ""
1197
+
1117
1198
  msgid "Timeout to kill"
1118
1199
  msgstr ""
1119
1200
 
@@ -1162,6 +1243,9 @@ msgstr ""
1162
1243
  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>"
1163
1244
  msgstr ""
1164
1245
 
1246
+ msgid "Type of execution"
1247
+ msgstr ""
1248
+
1165
1249
  msgid "Type of query"
1166
1250
  msgstr ""
1167
1251
 
@@ -1198,6 +1282,15 @@ msgstr ""
1198
1282
  msgid "Use default description template"
1199
1283
  msgstr ""
1200
1284
 
1285
+ msgid "Use legacy form"
1286
+ msgstr ""
1287
+
1288
+ msgid "Use new job wizard"
1289
+ msgstr ""
1290
+
1291
+ msgid "Use old form"
1292
+ msgstr ""
1293
+
1201
1294
  msgid "User Inputs"
1202
1295
  msgstr ""
1203
1296
 
@@ -1273,6 +1366,9 @@ msgstr ""
1273
1366
  msgid "Workers pool size"
1274
1367
  msgstr ""
1275
1368
 
1369
+ msgid "Yes (override)"
1370
+ msgstr ""
1371
+
1276
1372
  msgid "You are not allowed to see the currently assigned template. Saving the form now would unassign the template."
1277
1373
  msgstr ""
1278
1374
 
@@ -1339,6 +1435,12 @@ msgstr ""
1339
1435
  msgid "is month (range: 1-12)"
1340
1436
  msgstr ""
1341
1437
 
1438
+ msgid "no"
1439
+ msgstr "no"
1440
+
1441
+ msgid "occurences"
1442
+ msgstr ""
1443
+
1342
1444
  msgid "open-help-tooltip-button"
1343
1445
  msgstr ""
1344
1446
 
@@ -1348,6 +1450,9 @@ msgstr ""
1348
1450
  msgid "queued to start executing in %{time}"
1349
1451
  msgstr ""
1350
1452
 
1453
+ msgid "range: 0-59"
1454
+ msgstr ""
1455
+
1351
1456
  msgid "remove template input set"
1352
1457
  msgstr ""
1353
1458
 
@@ -1374,3 +1479,6 @@ msgstr ""
1374
1479
 
1375
1480
  msgid "using Smart Proxy"
1376
1481
  msgstr ""
1482
+
1483
+ msgid "yes"
1484
+ msgstr "yes"