foreman_remote_execution 1.6.3 → 1.6.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/foreman_remote_execution/template_input.js +0 -10
  3. data/app/assets/javascripts/foreman_remote_execution/template_invocation.js +1 -12
  4. data/app/assets/stylesheets/foreman_remote_execution/template_invocation.css.scss +1 -0
  5. data/app/controllers/api/v2/job_invocations_controller.rb +5 -1
  6. data/app/helpers/job_invocation_output_helper.rb +5 -4
  7. data/app/helpers/job_invocations_helper.rb +0 -29
  8. data/app/helpers/remote_execution_helper.rb +1 -24
  9. data/app/lib/foreman_remote_execution/renderer/scope/input.rb +28 -8
  10. data/app/models/concerns/foreman_remote_execution/template_extensions.rb +0 -12
  11. data/app/models/concerns/foreman_remote_execution/template_input_extensions.rb +9 -0
  12. data/app/models/concerns/foreman_remote_execution/template_overrides.rb +11 -0
  13. data/app/models/input_template_renderer.rb +16 -17
  14. data/app/models/job_invocation.rb +14 -4
  15. data/app/models/job_invocation_composer.rb +2 -6
  16. data/app/models/job_template.rb +23 -52
  17. data/app/models/template_invocation_input_value.rb +12 -1
  18. data/app/views/api/v2/smart_proxies/pubkey.json.rabl +1 -0
  19. data/app/views/job_invocations/_form.html.erb +1 -7
  20. data/app/views/job_templates/_custom_tabs.html.erb +0 -7
  21. data/app/views/template_invocations/_output_line_set.html.erb +2 -2
  22. data/app/views/templates/ssh/module_action.erb +67 -0
  23. data/app/views/templates/ssh/package_action.erb +39 -7
  24. data/app/views/templates/ssh/power_action.erb +2 -1
  25. data/app/views/templates/ssh/puppet_run_once.erb +1 -0
  26. data/app/views/templates/ssh/run_command.erb +1 -0
  27. data/app/views/templates/ssh/service_action.erb +9 -1
  28. data/config/routes.rb +0 -1
  29. data/lib/foreman_remote_execution/engine.rb +4 -0
  30. data/lib/foreman_remote_execution/version.rb +1 -1
  31. data/locale/de/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  32. data/locale/de/foreman_remote_execution.po +3 -72
  33. data/locale/en/foreman_remote_execution.po +3 -72
  34. data/locale/en_GB/foreman_remote_execution.po +3 -72
  35. data/locale/es/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  36. data/locale/es/foreman_remote_execution.po +3 -72
  37. data/locale/foreman_remote_execution.pot +124 -225
  38. data/locale/fr/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  39. data/locale/fr/foreman_remote_execution.po +3 -72
  40. data/locale/ja/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  41. data/locale/ja/foreman_remote_execution.po +3 -72
  42. data/locale/ko/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  43. data/locale/ko/foreman_remote_execution.po +3 -72
  44. data/locale/pt_BR/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  45. data/locale/pt_BR/foreman_remote_execution.po +3 -72
  46. data/locale/ru/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  47. data/locale/ru/foreman_remote_execution.po +3 -72
  48. data/locale/zh_CN/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  49. data/locale/zh_CN/foreman_remote_execution.po +3 -72
  50. data/locale/zh_TW/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  51. data/locale/zh_TW/foreman_remote_execution.po +3 -72
  52. data/test/factories/foreman_remote_execution_factories.rb +6 -5
  53. data/test/functional/api/v2/job_invocations_controller_test.rb +10 -0
  54. data/test/unit/input_template_renderer_test.rb +52 -21
  55. data/test/unit/job_invocation_composer_test.rb +2 -2
  56. data/test/unit/job_invocation_test.rb +36 -0
  57. metadata +6 -19
  58. data/app/controllers/api/v2/template_inputs_controller.rb +0 -92
  59. data/app/controllers/concerns/foreman/controller/parameters/template_input.rb +0 -17
  60. data/app/models/template_input.rb +0 -179
  61. data/app/views/api/v2/template_inputs/base.json.rabl +0 -3
  62. data/app/views/api/v2/template_inputs/create.json.rabl +0 -3
  63. data/app/views/api/v2/template_inputs/index.json.rabl +0 -3
  64. data/app/views/api/v2/template_inputs/main.json.rabl +0 -10
  65. data/app/views/api/v2/template_inputs/show.json.rabl +0 -3
  66. data/app/views/template_inputs/_form.html.erb +0 -25
  67. data/app/views/template_inputs/_invocation_form.html.erb +0 -7
  68. data/db/migrate/20150616080015_create_template_input.rb +0 -19
  69. data/db/migrate/20150827152730_add_options_to_template_input.rb +0 -5
  70. data/db/migrate/20160127134031_add_advanced_to_template_input.rb +0 -11
  71. data/test/functional/api/v2/template_inputs_controller_test.rb +0 -56
  72. data/test/unit/template_input_test.rb +0 -40
@@ -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-07-12 14:11+0200\n"
12
- "PO-Revision-Date: 2018-07-12 14:11+0200\n"
11
+ "POT-Creation-Date: 2018-10-09 21:19+0200\n"
12
+ "PO-Revision-Date: 2018-10-09 21:19+0200\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
15
  "Language: \n"
@@ -24,7 +24,7 @@ msgid ""
24
24
  "is one instead?"
25
25
  msgstr ""
26
26
 
27
- #: ../app/assets/javascripts/foreman_remote_execution/template_invocation.js:94
27
+ #: ../app/assets/javascripts/foreman_remote_execution/template_invocation.js:83
28
28
  msgid "There was an error while updating the status, try refreshing the page."
29
29
  msgstr ""
30
30
 
@@ -137,7 +137,7 @@ msgid "Distribute tasks over N seconds"
137
137
  msgstr ""
138
138
 
139
139
  #: ../app/controllers/api/v2/job_invocations_controller.rb:48
140
- #: ../app/views/job_invocations/_form.html.erb:100
140
+ #: ../app/views/job_invocations/_form.html.erb:102
141
141
  msgid "Run at most N tasks at a time"
142
142
  msgstr ""
143
143
 
@@ -163,23 +163,28 @@ msgstr ""
163
163
  msgid "Get output for a host"
164
164
  msgstr ""
165
165
 
166
- #: ../app/controllers/api/v2/job_invocations_controller.rb:98
166
+ #: ../app/controllers/api/v2/job_invocations_controller.rb:96
167
167
  msgid "Cancel job invocation"
168
168
  msgstr ""
169
169
 
170
- #: ../app/controllers/api/v2/job_invocations_controller.rb:106
170
+ #: ../app/controllers/api/v2/job_invocations_controller.rb:104
171
171
  msgid "The job could not be cancelled."
172
172
  msgstr ""
173
173
 
174
- #: ../app/controllers/api/v2/job_invocations_controller.rb:111
174
+ #: ../app/controllers/api/v2/job_invocations_controller.rb:109
175
175
  msgid "Rerun job on failed hosts"
176
176
  msgstr ""
177
177
 
178
- #: ../app/controllers/api/v2/job_invocations_controller.rb:139
178
+ #: ../app/controllers/api/v2/job_invocations_controller.rb:119
179
+ #: ../app/views/job_invocations/_form.html.erb:4
180
+ msgid "Could not rerun job %{id} because its template could not be found"
181
+ msgstr ""
182
+
183
+ #: ../app/controllers/api/v2/job_invocations_controller.rb:146
179
184
  msgid "Host with id '%{id}' was not found"
180
185
  msgstr ""
181
186
 
182
- #: ../app/controllers/api/v2/job_invocations_controller.rb:145
187
+ #: ../app/controllers/api/v2/job_invocations_controller.rb:152
183
188
  msgid "Template with id '%{id}' was not found"
184
189
  msgstr ""
185
190
 
@@ -221,7 +226,7 @@ msgid "Template name"
221
226
  msgstr ""
222
227
 
223
228
  #: ../app/controllers/api/v2/job_templates_controller.rb:50
224
- #: ../app/views/job_invocations/_form.html.erb:9
229
+ #: ../app/views/job_invocations/_form.html.erb:11
225
230
  #: ../app/views/job_templates/_custom_tabs.html.erb:3
226
231
  #: ../app/views/job_templates/_custom_tabs.html.erb:6
227
232
  msgid "Job category"
@@ -293,66 +298,6 @@ msgstr ""
293
298
  msgid "Job template ID to be used for the feature"
294
299
  msgstr ""
295
300
 
296
- #: ../app/controllers/api/v2/template_inputs_controller.rb:12
297
- msgid "List template inputs"
298
- msgstr ""
299
-
300
- #: ../app/controllers/api/v2/template_inputs_controller.rb:19
301
- msgid "Show template input details"
302
- msgstr ""
303
-
304
- #: ../app/controllers/api/v2/template_inputs_controller.rb:26
305
- msgid "Input name"
306
- msgstr ""
307
-
308
- #: ../app/controllers/api/v2/template_inputs_controller.rb:27
309
- msgid "Input description"
310
- msgstr ""
311
-
312
- #: ../app/controllers/api/v2/template_inputs_controller.rb:28
313
- msgid "Input is required"
314
- msgstr ""
315
-
316
- #: ../app/controllers/api/v2/template_inputs_controller.rb:29
317
- msgid "Input is advanced"
318
- msgstr ""
319
-
320
- #: ../app/controllers/api/v2/template_inputs_controller.rb:30
321
- msgid "Input type"
322
- msgstr ""
323
-
324
- #: ../app/controllers/api/v2/template_inputs_controller.rb:31
325
- msgid "Fact name, used when input type is fact"
326
- msgstr ""
327
-
328
- #: ../app/controllers/api/v2/template_inputs_controller.rb:32
329
- msgid "Variable name, used when input type is variable"
330
- msgstr ""
331
-
332
- #: ../app/controllers/api/v2/template_inputs_controller.rb:33
333
- msgid "Puppet class name, used when input type is puppet_parameter"
334
- msgstr ""
335
-
336
- #: ../app/controllers/api/v2/template_inputs_controller.rb:34
337
- msgid "Puppet parameter name, used when input type is puppet_parameter"
338
- msgstr ""
339
-
340
- #: ../app/controllers/api/v2/template_inputs_controller.rb:35
341
- msgid "Selectable values for user inputs"
342
- msgstr ""
343
-
344
- #: ../app/controllers/api/v2/template_inputs_controller.rb:39
345
- msgid "Create a template input"
346
- msgstr ""
347
-
348
- #: ../app/controllers/api/v2/template_inputs_controller.rb:47
349
- msgid "Delete a template input"
350
- msgstr ""
351
-
352
- #: ../app/controllers/api/v2/template_inputs_controller.rb:54
353
- msgid "Update a template input"
354
- msgstr ""
355
-
356
301
  #: ../app/controllers/api/v2/template_invocations_controller.rb:10
357
302
  msgid "List template invocations belonging to job invocation"
358
303
  msgstr ""
@@ -373,17 +318,17 @@ msgstr ""
373
318
  msgid "The job cannot be cancelled at the moment."
374
319
  msgstr ""
375
320
 
376
- #: ../app/controllers/job_templates_controller.rb:25
321
+ #: ../app/controllers/job_templates_controller.rb:27
377
322
  msgid ""
378
323
  "Problem with previewing the template: %{error}. Note that you must save templa"
379
324
  "te input changes before you try to preview it."
380
325
  msgstr ""
381
326
 
382
- #: ../app/controllers/job_templates_controller.rb:34
327
+ #: ../app/controllers/job_templates_controller.rb:39
383
328
  msgid "Job template imported successfully."
384
329
  msgstr ""
385
330
 
386
- #: ../app/controllers/job_templates_controller.rb:39
331
+ #: ../app/controllers/job_templates_controller.rb:44
387
332
  msgid "Unable to save template. Correct highlighted errors"
388
333
  msgstr ""
389
334
 
@@ -438,7 +383,7 @@ msgid "succeeded"
438
383
  msgstr ""
439
384
 
440
385
  #: ../app/helpers/job_invocations_chart_helper.rb:40
441
- #: ../app/helpers/remote_execution_helper.rb:31
386
+ #: ../app/helpers/remote_execution_helper.rb:27
442
387
  msgid "failed"
443
388
  msgstr ""
444
389
 
@@ -446,141 +391,125 @@ msgstr ""
446
391
  msgid "unknown status"
447
392
  msgstr ""
448
393
 
449
- #: ../app/helpers/job_invocations_helper.rb:19
450
- #: ../app/helpers/remote_execution_helper.rb:74
451
- msgid "Rerun"
394
+ #: ../app/helpers/job_invocations_helper.rb:18
395
+ #: ../app/helpers/remote_execution_helper.rb:60
396
+ #: ../app/views/job_invocations/welcome.html.erb:12
397
+ msgid "Run Job"
452
398
  msgstr ""
453
399
 
454
- #: ../app/helpers/job_invocations_helper.rb:21
455
- #: ../app/helpers/remote_execution_helper.rb:76
456
- msgid "Rerun the job"
400
+ #: ../app/helpers/remote_execution_helper.rb:21
401
+ msgid "running"
457
402
  msgstr ""
458
403
 
459
- #: ../app/helpers/job_invocations_helper.rb:24
460
- #: ../app/helpers/remote_execution_helper.rb:79
461
- msgid "Rerun failed"
404
+ #: ../app/helpers/remote_execution_helper.rb:23
405
+ msgid "planned"
462
406
  msgstr ""
463
407
 
464
- #: ../app/helpers/job_invocations_helper.rb:27
465
- #: ../app/helpers/remote_execution_helper.rb:82
466
- msgid "Rerun on failed hosts"
408
+ #: ../app/helpers/remote_execution_helper.rb:29
409
+ msgid "cancelled"
467
410
  msgstr ""
468
411
 
469
- #: ../app/helpers/job_invocations_helper.rb:30
470
- #: ../app/helpers/remote_execution_helper.rb:85
471
- msgid "Job Task"
412
+ #: ../app/helpers/remote_execution_helper.rb:31
413
+ msgid "success"
472
414
  msgstr ""
473
415
 
474
- #: ../app/helpers/job_invocations_helper.rb:32
475
- #: ../app/helpers/remote_execution_helper.rb:87
476
- msgid "See the last task details"
416
+ #: ../app/helpers/remote_execution_helper.rb:41
417
+ msgid "Host detail"
477
418
  msgstr ""
478
419
 
479
- #: ../app/helpers/job_invocations_helper.rb:35
480
- #: ../app/helpers/remote_execution_helper.rb:90
481
- #: ../app/helpers/remote_execution_helper.rb:114
482
- msgid "Cancel Job"
420
+ #: ../app/helpers/remote_execution_helper.rb:42
421
+ msgid "Rerun on %s"
483
422
  msgstr ""
484
423
 
485
- #: ../app/helpers/job_invocations_helper.rb:37
486
- #: ../app/helpers/remote_execution_helper.rb:92
487
- msgid "Try to cancel the job"
424
+ #: ../app/helpers/remote_execution_helper.rb:45
425
+ msgid "Host task"
488
426
  msgstr ""
489
427
 
490
- #: ../app/helpers/job_invocations_helper.rb:47
491
- #: ../app/helpers/remote_execution_helper.rb:64
492
- #: ../app/views/job_invocations/welcome.html.erb:12
493
- msgid "Run Job"
428
+ #: ../app/helpers/remote_execution_helper.rb:54
429
+ #: ../app/helpers/remote_execution_helper.rb:174
430
+ #: ../app/models/job_invocation.rb:175
431
+ msgid "N/A"
494
432
  msgstr ""
495
433
 
496
- #: ../app/helpers/remote_execution_helper.rb:25
497
- msgid "running"
434
+ #: ../app/helpers/remote_execution_helper.rb:70
435
+ msgid "Rerun"
498
436
  msgstr ""
499
437
 
500
- #: ../app/helpers/remote_execution_helper.rb:27
501
- msgid "planned"
438
+ #: ../app/helpers/remote_execution_helper.rb:72
439
+ msgid "Rerun the job"
502
440
  msgstr ""
503
441
 
504
- #: ../app/helpers/remote_execution_helper.rb:33
505
- msgid "cancelled"
442
+ #: ../app/helpers/remote_execution_helper.rb:75
443
+ msgid "Rerun failed"
506
444
  msgstr ""
507
445
 
508
- #: ../app/helpers/remote_execution_helper.rb:35
509
- msgid "success"
446
+ #: ../app/helpers/remote_execution_helper.rb:78
447
+ msgid "Rerun on failed hosts"
510
448
  msgstr ""
511
449
 
512
- #: ../app/helpers/remote_execution_helper.rb:45
513
- msgid "Host detail"
450
+ #: ../app/helpers/remote_execution_helper.rb:81
451
+ msgid "Job Task"
514
452
  msgstr ""
515
453
 
516
- #: ../app/helpers/remote_execution_helper.rb:46
517
- msgid "Rerun on %s"
454
+ #: ../app/helpers/remote_execution_helper.rb:83
455
+ msgid "See the last task details"
518
456
  msgstr ""
519
457
 
520
- #: ../app/helpers/remote_execution_helper.rb:49
521
- msgid "Host task"
458
+ #: ../app/helpers/remote_execution_helper.rb:86
459
+ #: ../app/helpers/remote_execution_helper.rb:110
460
+ msgid "Cancel Job"
522
461
  msgstr ""
523
462
 
524
- #: ../app/helpers/remote_execution_helper.rb:58
525
- #: ../app/helpers/remote_execution_helper.rb:178
526
- #: ../app/models/job_invocation.rb:168
527
- msgid "N/A"
463
+ #: ../app/helpers/remote_execution_helper.rb:88
464
+ msgid "Try to cancel the job"
528
465
  msgstr ""
529
466
 
530
- #: ../app/helpers/remote_execution_helper.rb:95
531
- #: ../app/helpers/remote_execution_helper.rb:119
467
+ #: ../app/helpers/remote_execution_helper.rb:91
468
+ #: ../app/helpers/remote_execution_helper.rb:115
532
469
  msgid "Abort Job"
533
470
  msgstr ""
534
471
 
535
- #: ../app/helpers/remote_execution_helper.rb:97
472
+ #: ../app/helpers/remote_execution_helper.rb:93
536
473
  msgid "Try to abort the job without waiting for the results from the remote hosts"
537
474
  msgstr ""
538
475
 
539
- #: ../app/helpers/remote_execution_helper.rb:109
476
+ #: ../app/helpers/remote_execution_helper.rb:105
540
477
  msgid "Task Details"
541
478
  msgstr ""
542
479
 
543
- #: ../app/helpers/remote_execution_helper.rb:111
480
+ #: ../app/helpers/remote_execution_helper.rb:107
544
481
  msgid "See the task details"
545
482
  msgstr ""
546
483
 
547
- #: ../app/helpers/remote_execution_helper.rb:116
484
+ #: ../app/helpers/remote_execution_helper.rb:112
548
485
  msgid "Try to cancel the job on a host"
549
486
  msgstr ""
550
487
 
551
- #: ../app/helpers/remote_execution_helper.rb:121
488
+ #: ../app/helpers/remote_execution_helper.rb:117
552
489
  msgid "Try to abort the job on a host without waiting for its result"
553
490
  msgstr ""
554
491
 
555
- #: ../app/helpers/remote_execution_helper.rb:167
492
+ #: ../app/helpers/remote_execution_helper.rb:163
556
493
  msgid "Could not render the preview because no host matches the search query."
557
494
  msgstr ""
558
495
 
559
- #: ../app/helpers/remote_execution_helper.rb:180
496
+ #: ../app/helpers/remote_execution_helper.rb:176
560
497
  msgid "in %s"
561
498
  msgstr ""
562
499
 
563
- #: ../app/helpers/remote_execution_helper.rb:180
500
+ #: ../app/helpers/remote_execution_helper.rb:176
564
501
  msgid "%s ago"
565
502
  msgstr ""
566
503
 
567
- #: ../app/helpers/remote_execution_helper.rb:192
568
- msgid "Template input"
569
- msgstr ""
570
-
571
504
  #: ../app/helpers/remote_execution_helper.rb:194
572
- msgid "remove template input"
573
- msgstr ""
574
-
575
- #: ../app/helpers/remote_execution_helper.rb:207
576
505
  msgid "Use default description template"
577
506
  msgstr ""
578
507
 
579
- #: ../app/helpers/remote_execution_helper.rb:212
508
+ #: ../app/helpers/remote_execution_helper.rb:199
580
509
  msgid "Description template"
581
510
  msgstr ""
582
511
 
583
- #: ../app/helpers/remote_execution_helper.rb:222
512
+ #: ../app/helpers/remote_execution_helper.rb:209
584
513
  msgid ""
585
514
  "This template is used to generate the description.<br/>Input values can be use"
586
515
  "d using the syntax %{package}.<br/>You may also include the job category and t"
@@ -607,7 +536,7 @@ msgstr ""
607
536
  msgid "%{description} on %{host}"
608
537
  msgstr ""
609
538
 
610
- #: ../app/lib/actions/remote_execution/run_host_job.rb:77 action_names.rb:2
539
+ #: ../app/lib/actions/remote_execution/run_host_job.rb:77 action_names.rb:5
611
540
  msgid "Remote action:"
612
541
  msgstr ""
613
542
 
@@ -651,6 +580,16 @@ msgid ""
651
580
  "y} or %{no_proxy} in settings"
652
581
  msgstr ""
653
582
 
583
+ #: ../app/lib/foreman_remote_execution/renderer/scope/input.rb:31
584
+ msgid "included template '%s' not found"
585
+ msgstr ""
586
+
587
+ #: ../app/lib/foreman_remote_execution/renderer/scope/input.rb:68
588
+ msgid ""
589
+ "input macro with name '%s' used, but no input with such name defined for this "
590
+ "template"
591
+ msgstr ""
592
+
654
593
  #: ../app/lib/proxy_api/remote_execution_ssh.rb:11
655
594
  msgid "Unable to fetch public key"
656
595
  msgstr ""
@@ -659,6 +598,10 @@ msgstr ""
659
598
  msgid "host already has an execution interface"
660
599
  msgstr ""
661
600
 
601
+ #: ../app/models/concerns/foreman_remote_execution/template_overrides.rb:7
602
+ msgid "This template is locked. Please clone it to a new template to customize."
603
+ msgstr ""
604
+
662
605
  #: ../app/models/foreign_input_set.rb:20
663
606
  msgid ""
664
607
  "Circular dependency detected in foreign input set '%{template}' -> '%{target_t"
@@ -689,21 +632,11 @@ msgstr ""
689
632
  msgid "Recursive rendering of templates detected"
690
633
  msgstr ""
691
634
 
692
- #: ../app/models/input_template_renderer.rb:30
635
+ #: ../app/models/input_template_renderer.rb:50
693
636
  msgid "error during rendering: %s"
694
637
  msgstr ""
695
638
 
696
- #: ../app/models/input_template_renderer.rb:49
697
- msgid ""
698
- "input macro with name '%s' used, but no input with such name defined for this "
699
- "template"
700
- msgstr ""
701
-
702
- #: ../app/models/input_template_renderer.rb:63
703
- msgid "included template '%s' not found"
704
- msgstr ""
705
-
706
- #: ../app/models/job_invocation.rb:10
639
+ #: ../app/models/job_invocation.rb:12
707
640
  msgid "template"
708
641
  msgstr ""
709
642
 
@@ -719,15 +652,15 @@ msgstr ""
719
652
  msgid "Unknown input %{input_name} for template %{template_name}"
720
653
  msgstr ""
721
654
 
722
- #: ../app/models/job_invocation_composer.rb:276
655
+ #: ../app/models/job_invocation_composer.rb:277
723
656
  msgid "Feature input %{input_name} not defined in template %{template_name}"
724
657
  msgstr ""
725
658
 
726
- #: ../app/models/job_invocation_composer.rb:285
659
+ #: ../app/models/job_invocation_composer.rb:286
727
660
  msgid "No template mapped to feature %{feature_name}"
728
661
  msgstr ""
729
662
 
730
- #: ../app/models/job_invocation_composer.rb:291
663
+ #: ../app/models/job_invocation_composer.rb:292
731
664
  msgid ""
732
665
  "The template %{template_name} mapped to feature %{feature_name} is not accessi"
733
666
  "ble by the user"
@@ -737,14 +670,10 @@ msgstr ""
737
670
  msgid "Job Invocation"
738
671
  msgstr ""
739
672
 
740
- #: ../app/models/job_template.rb:151
673
+ #: ../app/models/job_template.rb:97
741
674
  msgid "Duplicated inputs detected: %{duplicated_inputs}"
742
675
  msgstr ""
743
676
 
744
- #: ../app/models/job_template.rb:230
745
- msgid "This template is locked. Please clone it to a new template to customize."
746
- msgstr ""
747
-
748
677
  #: ../app/models/remote_execution_feature.rb:23
749
678
  msgid "Unknown remote execution feature %s"
750
679
  msgstr ""
@@ -819,7 +748,7 @@ msgid "Effective User Method"
819
748
  msgstr ""
820
749
 
821
750
  #: ../app/models/setting/remote_execution.rb:42
822
- #: ../app/views/job_invocations/_form.html.erb:96
751
+ #: ../app/views/job_invocations/_form.html.erb:98
823
752
  msgid "Sudo password"
824
753
  msgstr ""
825
754
 
@@ -917,27 +846,6 @@ msgstr ""
917
846
  msgid "Must select a bookmark or enter a search query"
918
847
  msgstr ""
919
848
 
920
- #: ../app/models/template_input.rb:9
921
- #: ../app/views/job_invocations/_user_input.html.erb:7
922
- msgid "User input"
923
- msgstr ""
924
-
925
- #: ../app/models/template_input.rb:9
926
- msgid "Fact value"
927
- msgstr ""
928
-
929
- #: ../app/models/template_input.rb:9
930
- msgid "Variable"
931
- msgstr ""
932
-
933
- #: ../app/models/template_input.rb:10
934
- msgid "Puppet parameter"
935
- msgstr ""
936
-
937
- #: ../app/models/template_input.rb:110
938
- msgid "Value for required input '%s' was not specified"
939
- msgstr ""
940
-
941
849
  #: ../app/models/template_invocation.rb:7
942
850
  msgid "Input"
943
851
  msgstr ""
@@ -1013,101 +921,101 @@ msgstr ""
1013
921
  msgid "Description"
1014
922
  msgstr ""
1015
923
 
1016
- #: ../app/views/job_invocations/_form.html.erb:21
924
+ #: ../app/views/job_invocations/_form.html.erb:23
1017
925
  msgid "Job template"
1018
926
  msgstr ""
1019
927
 
1020
- #: ../app/views/job_invocations/_form.html.erb:37
928
+ #: ../app/views/job_invocations/_form.html.erb:39
1021
929
  msgid "Resolves to"
1022
930
  msgstr ""
1023
931
 
1024
- #: ../app/views/job_invocations/_form.html.erb:40
932
+ #: ../app/views/job_invocations/_form.html.erb:42
1025
933
  msgid "hosts"
1026
934
  msgstr ""
1027
935
 
1028
- #: ../app/views/job_invocations/_form.html.erb:41
936
+ #: ../app/views/job_invocations/_form.html.erb:43
1029
937
  msgid "Refresh"
1030
938
  msgstr ""
1031
939
 
1032
- #: ../app/views/job_invocations/_form.html.erb:44
940
+ #: ../app/views/job_invocations/_form.html.erb:46
1033
941
  msgid "Preview"
1034
942
  msgstr ""
1035
943
 
1036
- #: ../app/views/job_invocations/_form.html.erb:65
944
+ #: ../app/views/job_invocations/_form.html.erb:67
1037
945
  msgid "Display advanced fields"
1038
946
  msgstr ""
1039
947
 
1040
- #: ../app/views/job_invocations/_form.html.erb:65
948
+ #: ../app/views/job_invocations/_form.html.erb:67
1041
949
  msgid "Hide advanced fields"
1042
950
  msgstr ""
1043
951
 
1044
- #: ../app/views/job_invocations/_form.html.erb:76
1045
- #: ../app/views/job_templates/_custom_tabs.html.erb:38
952
+ #: ../app/views/job_invocations/_form.html.erb:78
953
+ #: ../app/views/job_templates/_custom_tabs.html.erb:31
1046
954
  msgid "Effective user"
1047
955
  msgstr ""
1048
956
 
1049
- #: ../app/views/job_invocations/_form.html.erb:76
957
+ #: ../app/views/job_invocations/_form.html.erb:78
1050
958
  msgid ""
1051
959
  "A user to be used for executing the script. If it differs from the SSH user, s"
1052
960
  "u or sudo is used to switch the accounts."
1053
961
  msgstr ""
1054
962
 
1055
- #: ../app/views/job_invocations/_form.html.erb:82
963
+ #: ../app/views/job_invocations/_form.html.erb:84
1056
964
  #: ../app/views/job_templates/_custom_tabs.html.erb:18
1057
965
  msgid "Timeout to kill"
1058
966
  msgstr ""
1059
967
 
1060
- #: ../app/views/job_invocations/_form.html.erb:82
968
+ #: ../app/views/job_invocations/_form.html.erb:84
1061
969
  msgid ""
1062
970
  "Time in seconds from the start on the remote host after which the job should b"
1063
971
  "e killed."
1064
972
  msgstr ""
1065
973
 
1066
- #: ../app/views/job_invocations/_form.html.erb:94
974
+ #: ../app/views/job_invocations/_form.html.erb:96
1067
975
  msgid "Password"
1068
976
  msgstr ""
1069
977
 
1070
- #: ../app/views/job_invocations/_form.html.erb:94
978
+ #: ../app/views/job_invocations/_form.html.erb:96
1071
979
  msgid ""
1072
980
  "Password is stored encrypted in DB until the job finishes. For future or recur"
1073
981
  "ring executions, it is removed after the last execution."
1074
982
  msgstr ""
1075
983
 
1076
- #: ../app/views/job_invocations/_form.html.erb:95
984
+ #: ../app/views/job_invocations/_form.html.erb:97
1077
985
  msgid "Private key passphrase"
1078
986
  msgstr ""
1079
987
 
1080
- #: ../app/views/job_invocations/_form.html.erb:95
988
+ #: ../app/views/job_invocations/_form.html.erb:97
1081
989
  msgid ""
1082
990
  "Key passhprase is only applicable for SSH provider. Other providers ignore thi"
1083
991
  "s field. <br> Passphrase is stored encrypted in DB until the job finishes. For"
1084
992
  " future or recurring executions, it is removed after the last execution."
1085
993
  msgstr ""
1086
994
 
1087
- #: ../app/views/job_invocations/_form.html.erb:96
995
+ #: ../app/views/job_invocations/_form.html.erb:98
1088
996
  msgid ""
1089
997
  "Sudo password is only applicable for SSH provider. Other providers ignore this"
1090
998
  " field. <br> Password is stored encrypted in DB until the job finishes. For fu"
1091
999
  "ture or recurring executions, it is removed after the last execution."
1092
1000
  msgstr ""
1093
1001
 
1094
- #: ../app/views/job_invocations/_form.html.erb:100
1002
+ #: ../app/views/job_invocations/_form.html.erb:102
1095
1003
  msgid "Concurrency level"
1096
1004
  msgstr ""
1097
1005
 
1098
- #: ../app/views/job_invocations/_form.html.erb:101
1006
+ #: ../app/views/job_invocations/_form.html.erb:103
1099
1007
  msgid "Time span"
1100
1008
  msgstr ""
1101
1009
 
1102
- #: ../app/views/job_invocations/_form.html.erb:101
1010
+ #: ../app/views/job_invocations/_form.html.erb:103
1103
1011
  msgid "Distribute execution over N seconds"
1104
1012
  msgstr ""
1105
1013
 
1106
- #: ../app/views/job_invocations/_form.html.erb:105
1014
+ #: ../app/views/job_invocations/_form.html.erb:107
1107
1015
  msgid "Type of query"
1108
1016
  msgstr ""
1109
1017
 
1110
- #: ../app/views/job_invocations/_form.html.erb:105
1018
+ #: ../app/views/job_invocations/_form.html.erb:107
1111
1019
  msgid ""
1112
1020
  "Type has impact on when is the query evaluated to hosts.<br><ul><li><b>Static<"
1113
1021
  "/b> - evaluates just after you submit this form</li><li><b>Dynamic</b> - evalu"
@@ -1187,6 +1095,10 @@ msgstr ""
1187
1095
  msgid "Providers and templates"
1188
1096
  msgstr ""
1189
1097
 
1098
+ #: ../app/views/job_invocations/_user_input.html.erb:7
1099
+ msgid "User input"
1100
+ msgstr ""
1101
+
1190
1102
  #: ../app/views/job_invocations/_user_input.html.erb:8
1191
1103
  msgid "Value"
1192
1104
  msgstr ""
@@ -1245,22 +1157,14 @@ msgid "Type"
1245
1157
  msgstr ""
1246
1158
 
1247
1159
  #: ../app/views/job_templates/_custom_tabs.html.erb:27
1248
- msgid "Add Input"
1249
- msgstr ""
1250
-
1251
- #: ../app/views/job_templates/_custom_tabs.html.erb:27
1252
- msgid "add a input for this template"
1253
- msgstr ""
1254
-
1255
- #: ../app/views/job_templates/_custom_tabs.html.erb:34
1256
1160
  msgid "Add Foreign Input Set"
1257
1161
  msgstr ""
1258
1162
 
1259
- #: ../app/views/job_templates/_custom_tabs.html.erb:34
1163
+ #: ../app/views/job_templates/_custom_tabs.html.erb:27
1260
1164
  msgid "add an input set for this template to reference a different template inputs"
1261
1165
  msgstr ""
1262
1166
 
1263
- #: ../app/views/job_templates/_custom_tabs.html.erb:52
1167
+ #: ../app/views/job_templates/_custom_tabs.html.erb:45
1264
1168
  msgid "Snippet"
1265
1169
  msgstr ""
1266
1170
 
@@ -1376,12 +1280,6 @@ msgid ""
1376
1280
  "."
1377
1281
  msgstr ""
1378
1282
 
1379
- #: ../app/views/template_inputs/_form.html.erb:19
1380
- msgid ""
1381
- "A list of options the user can select from. If not provided, the user will be "
1382
- "given a free-form field"
1383
- msgstr ""
1384
-
1385
1283
  #: ../app/views/template_invocations/show.html.erb:4
1386
1284
  msgid "Template Invocation for %s"
1387
1285
  msgstr ""
@@ -1418,6 +1316,7 @@ msgstr ""
1418
1316
  msgid "Scroll to top"
1419
1317
  msgstr ""
1420
1318
 
1319
+ #: ../app/views/templates/ssh/module_action.erb:5
1421
1320
  #: ../app/views/templates/ssh/package_action.erb:5
1422
1321
  msgid "Unsupported or no operating system found for this host."
1423
1322
  msgstr ""
@@ -1439,15 +1338,15 @@ msgstr ""
1439
1338
  msgid "Job templates"
1440
1339
  msgstr ""
1441
1340
 
1442
- #: action_names.rb:3
1341
+ #: action_names.rb:2
1443
1342
  msgid "Action with sub plans"
1444
1343
  msgstr ""
1445
1344
 
1446
- #: action_names.rb:4
1345
+ #: action_names.rb:3
1447
1346
  msgid "Import facts"
1448
1347
  msgstr ""
1449
1348
 
1450
- #: action_names.rb:5
1349
+ #: action_names.rb:4
1451
1350
  msgid "Import Puppet classes"
1452
1351
  msgstr ""
1453
1352