foreman_remote_execution 8.3.1 → 9.0.0

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