foreman_remote_execution 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +3 -5
- data/.rubocop_todo.yml +90 -92
- data/app/assets/javascripts/job_templates.js +10 -0
- data/app/assets/stylesheets/modal_window.css.scss +4 -0
- data/app/controllers/api/v2/job_templates_controller.rb +22 -1
- data/app/controllers/job_templates_controller.rb +21 -1
- data/app/helpers/concerns/foreman_remote_execution/job_templates_extensions.rb +3 -2
- data/app/helpers/remote_execution_helper.rb +5 -3
- data/app/lib/actions/middleware/bind_job_invocation.rb +1 -1
- data/app/lib/actions/remote_execution/run_host_job.rb +15 -8
- data/app/lib/actions/remote_execution/run_hosts_job.rb +2 -1
- data/app/models/concerns/foreman_remote_execution/exportable.rb +71 -0
- data/app/models/foreign_input_set.rb +3 -0
- data/app/models/job_invocation.rb +6 -4
- data/app/models/job_invocation_composer.rb +1 -1
- data/app/models/job_template.rb +22 -6
- data/app/models/template_input.rb +4 -0
- data/app/models/template_invocation.rb +1 -1
- data/app/services/proxy_load_balancer.rb +3 -0
- data/app/views/job_invocations/_preview_hosts_modal.html.erb +3 -1
- data/app/views/job_templates/_import_job_template_modal.html.erb +20 -0
- data/app/views/job_templates/index.html.erb +5 -1
- data/config/routes.rb +4 -0
- data/lib/foreman_remote_execution/engine.rb +4 -4
- data/lib/foreman_remote_execution/version.rb +1 -1
- data/locale/Makefile +18 -19
- data/locale/action_names.rb +2 -2
- data/locale/de/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/de/foreman_remote_execution.po +823 -0
- data/locale/en/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/en/foreman_remote_execution.po +332 -283
- data/locale/en_GB/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/en_GB/foreman_remote_execution.po +824 -0
- data/locale/foreman_remote_execution.pot +277 -131
- data/locale/fr/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/fr/foreman_remote_execution.po +823 -0
- data/test/functional/api/v2/job_templates_controller_test.rb +15 -0
- data/test/unit/actions/run_host_job_test.rb +50 -0
- data/test/unit/concerns/exportable_test.rb +88 -0
- data/test/unit/job_invocation_composer_test.rb +1 -1
- data/test/unit/job_invocation_test.rb +3 -6
- data/test/unit/job_template_test.rb +34 -2
- data/test/unit/proxy_load_balancer_test.rb +8 -6
- data/test/unit/template_input_test.rb +15 -0
- metadata +17 -2
@@ -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: 2016-
|
12
|
-
"PO-Revision-Date: 2016-
|
11
|
+
"POT-Creation-Date: 2016-04-27 10:42-0400\n"
|
12
|
+
"PO-Revision-Date: 2016-04-27 10:42-0400\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
@@ -89,7 +89,7 @@ msgid "Inputs to use"
|
|
89
89
|
msgstr ""
|
90
90
|
|
91
91
|
#: ../app/controllers/api/v2/job_invocations_controller.rb:31
|
92
|
-
#: ../app/controllers/api/v2/job_templates_controller.rb:
|
92
|
+
#: ../app/controllers/api/v2/job_templates_controller.rb:60
|
93
93
|
msgid "SSH provider specific options"
|
94
94
|
msgstr ""
|
95
95
|
|
@@ -129,23 +129,36 @@ msgid ""
|
|
129
129
|
"his time."
|
130
130
|
msgstr ""
|
131
131
|
|
132
|
+
#: ../app/controllers/api/v2/job_invocations_controller.rb:48
|
133
|
+
msgid "Control concurrency level and distribution over time"
|
134
|
+
msgstr ""
|
135
|
+
|
136
|
+
#: ../app/controllers/api/v2/job_invocations_controller.rb:49
|
137
|
+
msgid "Distribute tasks over N seconds"
|
138
|
+
msgstr ""
|
139
|
+
|
132
140
|
#: ../app/controllers/api/v2/job_invocations_controller.rb:50
|
141
|
+
#: ../app/views/job_invocations/_form.html.erb:89
|
142
|
+
msgid "Run at most N tasks at a time"
|
143
|
+
msgstr ""
|
144
|
+
|
145
|
+
#: ../app/controllers/api/v2/job_invocations_controller.rb:55
|
133
146
|
msgid "Override the description format from the template for this invocation only"
|
134
147
|
msgstr ""
|
135
148
|
|
136
|
-
#: ../app/controllers/api/v2/job_invocations_controller.rb:
|
149
|
+
#: ../app/controllers/api/v2/job_invocations_controller.rb:59
|
137
150
|
msgid "Create a job invocation"
|
138
151
|
msgstr ""
|
139
152
|
|
140
|
-
#: ../app/controllers/api/v2/job_invocations_controller.rb:
|
153
|
+
#: ../app/controllers/api/v2/job_invocations_controller.rb:68
|
141
154
|
msgid "Get output for a host"
|
142
155
|
msgstr ""
|
143
156
|
|
144
|
-
#: ../app/controllers/api/v2/job_invocations_controller.rb:
|
157
|
+
#: ../app/controllers/api/v2/job_invocations_controller.rb:101
|
145
158
|
msgid "Host with id '%{id}' was not found"
|
146
159
|
msgstr ""
|
147
160
|
|
148
|
-
#: ../app/controllers/api/v2/job_invocations_controller.rb:
|
161
|
+
#: ../app/controllers/api/v2/job_invocations_controller.rb:107
|
149
162
|
msgid "Template with id '%{id}' was not found"
|
150
163
|
msgstr ""
|
151
164
|
|
@@ -162,22 +175,38 @@ msgid "List job templates per organization"
|
|
162
175
|
msgstr ""
|
163
176
|
|
164
177
|
#: ../app/controllers/api/v2/job_templates_controller.rb:25
|
178
|
+
msgid "Import a job template from ERB"
|
179
|
+
msgstr ""
|
180
|
+
|
181
|
+
#: ../app/controllers/api/v2/job_templates_controller.rb:26
|
182
|
+
msgid "Template ERB"
|
183
|
+
msgstr ""
|
184
|
+
|
185
|
+
#: ../app/controllers/api/v2/job_templates_controller.rb:27
|
186
|
+
msgid "Overwrite template if it already exists"
|
187
|
+
msgstr ""
|
188
|
+
|
189
|
+
#: ../app/controllers/api/v2/job_templates_controller.rb:36
|
190
|
+
msgid "Export a job template to ERB"
|
191
|
+
msgstr ""
|
192
|
+
|
193
|
+
#: ../app/controllers/api/v2/job_templates_controller.rb:42
|
165
194
|
msgid "Show job template details"
|
166
195
|
msgstr ""
|
167
196
|
|
168
|
-
#: ../app/controllers/api/v2/job_templates_controller.rb:
|
169
|
-
#: ../app/controllers/api/v2/job_templates_controller.rb:
|
197
|
+
#: ../app/controllers/api/v2/job_templates_controller.rb:49
|
198
|
+
#: ../app/controllers/api/v2/job_templates_controller.rb:100
|
170
199
|
msgid "Template name"
|
171
200
|
msgstr ""
|
172
201
|
|
173
|
-
#: ../app/controllers/api/v2/job_templates_controller.rb:
|
202
|
+
#: ../app/controllers/api/v2/job_templates_controller.rb:50
|
174
203
|
#: ../app/views/job_invocations/_form.html.erb:9
|
175
204
|
#: ../app/views/job_templates/_custom_tabs.html.erb:3
|
176
205
|
#: ../app/views/job_templates/_custom_tabs.html.erb:6
|
177
206
|
msgid "Job category"
|
178
207
|
msgstr ""
|
179
208
|
|
180
|
-
#: ../app/controllers/api/v2/job_templates_controller.rb:
|
209
|
+
#: ../app/controllers/api/v2/job_templates_controller.rb:51
|
181
210
|
#: ../app/views/job_templates/_custom_tabs.html.erb:14
|
182
211
|
msgid ""
|
183
212
|
"This template is used to generate the description. Input values can be used us"
|
@@ -185,52 +214,65 @@ msgid ""
|
|
185
214
|
"name using %{job_category} and %{template_name}."
|
186
215
|
msgstr ""
|
187
216
|
|
188
|
-
#: ../app/controllers/api/v2/job_templates_controller.rb:
|
217
|
+
#: ../app/controllers/api/v2/job_templates_controller.rb:56
|
189
218
|
msgid "Provider type"
|
190
219
|
msgstr ""
|
191
220
|
|
192
|
-
#: ../app/controllers/api/v2/job_templates_controller.rb:
|
221
|
+
#: ../app/controllers/api/v2/job_templates_controller.rb:59
|
193
222
|
msgid "Whether or not the template is locked for editing"
|
194
223
|
msgstr ""
|
195
224
|
|
196
|
-
#: ../app/controllers/api/v2/job_templates_controller.rb:
|
225
|
+
#: ../app/controllers/api/v2/job_templates_controller.rb:61
|
197
226
|
msgid "Effective user options"
|
198
227
|
msgstr ""
|
199
228
|
|
200
|
-
#: ../app/controllers/api/v2/job_templates_controller.rb:
|
229
|
+
#: ../app/controllers/api/v2/job_templates_controller.rb:62
|
201
230
|
msgid "What user should be used to run the script (using sudo-like mechanisms)"
|
202
231
|
msgstr ""
|
203
232
|
|
204
|
-
#: ../app/controllers/api/v2/job_templates_controller.rb:
|
233
|
+
#: ../app/controllers/api/v2/job_templates_controller.rb:63
|
205
234
|
msgid ""
|
206
235
|
"Whether it should be allowed to override the effective user from the invocatio"
|
207
236
|
"n form."
|
208
237
|
msgstr ""
|
209
238
|
|
210
|
-
#: ../app/controllers/api/v2/job_templates_controller.rb:
|
239
|
+
#: ../app/controllers/api/v2/job_templates_controller.rb:64
|
211
240
|
msgid "Whether the current user login should be used as the effective user"
|
212
241
|
msgstr ""
|
213
242
|
|
214
|
-
#: ../app/controllers/api/v2/job_templates_controller.rb:
|
243
|
+
#: ../app/controllers/api/v2/job_templates_controller.rb:71
|
215
244
|
msgid "Create a job template"
|
216
245
|
msgstr ""
|
217
246
|
|
218
|
-
#: ../app/controllers/api/v2/job_templates_controller.rb:
|
247
|
+
#: ../app/controllers/api/v2/job_templates_controller.rb:78
|
248
|
+
#: ../app/controllers/api/v2/remote_execution_features_controller.rb:24
|
219
249
|
msgid "Update a job template"
|
220
250
|
msgstr ""
|
221
251
|
|
222
|
-
#: ../app/controllers/api/v2/job_templates_controller.rb:
|
252
|
+
#: ../app/controllers/api/v2/job_templates_controller.rb:86
|
223
253
|
msgid "Template version"
|
224
254
|
msgstr ""
|
225
255
|
|
226
|
-
#: ../app/controllers/api/v2/job_templates_controller.rb:
|
256
|
+
#: ../app/controllers/api/v2/job_templates_controller.rb:92
|
227
257
|
msgid "Delete a job template"
|
228
258
|
msgstr ""
|
229
259
|
|
230
|
-
#: ../app/controllers/api/v2/job_templates_controller.rb:
|
260
|
+
#: ../app/controllers/api/v2/job_templates_controller.rb:104
|
231
261
|
msgid "Clone a provision template"
|
232
262
|
msgstr ""
|
233
263
|
|
264
|
+
#: ../app/controllers/api/v2/remote_execution_features_controller.rb:8
|
265
|
+
msgid "List remote execution features"
|
266
|
+
msgstr ""
|
267
|
+
|
268
|
+
#: ../app/controllers/api/v2/remote_execution_features_controller.rb:13
|
269
|
+
msgid "Show remote execution feature"
|
270
|
+
msgstr ""
|
271
|
+
|
272
|
+
#: ../app/controllers/api/v2/remote_execution_features_controller.rb:20
|
273
|
+
msgid "Job template ID to be used for the feature"
|
274
|
+
msgstr ""
|
275
|
+
|
234
276
|
#: ../app/controllers/api/v2/template_inputs_controller.rb:11
|
235
277
|
msgid "List template inputs"
|
236
278
|
msgstr ""
|
@@ -297,15 +339,28 @@ msgid ""
|
|
297
339
|
"te input changes before you try to preview it."
|
298
340
|
msgstr ""
|
299
341
|
|
342
|
+
#: ../app/controllers/job_templates_controller.rb:32
|
343
|
+
msgid "Job template imported successfully."
|
344
|
+
msgstr ""
|
345
|
+
|
346
|
+
#: ../app/controllers/job_templates_controller.rb:37
|
347
|
+
msgid "Unable to save template. Correct highlighted errors"
|
348
|
+
msgstr ""
|
349
|
+
|
300
350
|
#:
|
301
351
|
#: ../app/helpers/concerns/foreman_remote_execution/hosts_helper_extensions.rb:11
|
302
352
|
#: ../app/helpers/concerns/foreman_remote_execution/hosts_helper_extensions.rb:15
|
303
|
-
#: ../app/helpers/remote_execution_helper.rb:
|
353
|
+
#: ../app/helpers/remote_execution_helper.rb:99
|
304
354
|
msgid "Run Job"
|
305
355
|
msgstr ""
|
306
356
|
|
307
357
|
#:
|
308
358
|
#: ../app/helpers/concerns/foreman_remote_execution/job_templates_extensions.rb:13
|
359
|
+
msgid "Export"
|
360
|
+
msgstr ""
|
361
|
+
|
362
|
+
#:
|
363
|
+
#: ../app/helpers/concerns/foreman_remote_execution/job_templates_extensions.rb:14
|
309
364
|
msgid "Run"
|
310
365
|
msgstr ""
|
311
366
|
|
@@ -340,7 +395,7 @@ msgid "succeeded"
|
|
340
395
|
msgstr ""
|
341
396
|
|
342
397
|
#: ../app/helpers/remote_execution_helper.rb:42
|
343
|
-
#: ../app/helpers/remote_execution_helper.rb:
|
398
|
+
#: ../app/helpers/remote_execution_helper.rb:75
|
344
399
|
msgid "failed"
|
345
400
|
msgstr ""
|
346
401
|
|
@@ -348,121 +403,125 @@ msgstr ""
|
|
348
403
|
msgid "unknown status"
|
349
404
|
msgstr ""
|
350
405
|
|
351
|
-
#: ../app/helpers/remote_execution_helper.rb:
|
352
|
-
msgid "
|
406
|
+
#: ../app/helpers/remote_execution_helper.rb:66
|
407
|
+
msgid "running"
|
353
408
|
msgstr ""
|
354
409
|
|
355
|
-
#: ../app/helpers/remote_execution_helper.rb:
|
356
|
-
msgid "
|
410
|
+
#: ../app/helpers/remote_execution_helper.rb:68
|
411
|
+
msgid "planned"
|
412
|
+
msgstr ""
|
413
|
+
|
414
|
+
#: ../app/helpers/remote_execution_helper.rb:73
|
415
|
+
msgid "cancelled"
|
357
416
|
msgstr ""
|
358
417
|
|
359
|
-
#: ../app/helpers/remote_execution_helper.rb:
|
360
|
-
msgid "
|
418
|
+
#: ../app/helpers/remote_execution_helper.rb:78
|
419
|
+
msgid "success"
|
361
420
|
msgstr ""
|
362
421
|
|
363
|
-
#: ../app/helpers/remote_execution_helper.rb:
|
422
|
+
#: ../app/helpers/remote_execution_helper.rb:87
|
364
423
|
msgid "Host detail"
|
365
424
|
msgstr ""
|
366
425
|
|
367
|
-
#: ../app/helpers/remote_execution_helper.rb:
|
426
|
+
#: ../app/helpers/remote_execution_helper.rb:88
|
368
427
|
msgid "Rerun on %s"
|
369
428
|
msgstr ""
|
370
429
|
|
371
|
-
#: ../app/helpers/remote_execution_helper.rb:
|
372
|
-
#: ../app/helpers/remote_execution_helper.rb:
|
373
|
-
#: ../app/models/job_invocation.rb:
|
430
|
+
#: ../app/helpers/remote_execution_helper.rb:93
|
431
|
+
#: ../app/helpers/remote_execution_helper.rb:200
|
432
|
+
#: ../app/models/job_invocation.rb:128
|
374
433
|
msgid "N/A"
|
375
434
|
msgstr ""
|
376
435
|
|
377
|
-
#: ../app/helpers/remote_execution_helper.rb:
|
378
|
-
msgid "Refresh this page"
|
379
|
-
msgstr ""
|
380
|
-
|
381
|
-
#: ../app/helpers/remote_execution_helper.rb:105
|
436
|
+
#: ../app/helpers/remote_execution_helper.rb:107
|
382
437
|
#: ../app/views/job_invocations/_form.html.erb:40
|
383
438
|
msgid "Refresh"
|
384
439
|
msgstr ""
|
385
440
|
|
386
441
|
#: ../app/helpers/remote_execution_helper.rb:107
|
387
|
-
msgid "
|
442
|
+
msgid "Refresh this page"
|
388
443
|
msgstr ""
|
389
444
|
|
390
445
|
#: ../app/helpers/remote_execution_helper.rb:109
|
446
|
+
msgid "Rerun"
|
447
|
+
msgstr ""
|
448
|
+
|
449
|
+
#: ../app/helpers/remote_execution_helper.rb:111
|
391
450
|
msgid "Rerun the job"
|
392
451
|
msgstr ""
|
393
452
|
|
394
|
-
#: ../app/helpers/remote_execution_helper.rb:
|
453
|
+
#: ../app/helpers/remote_execution_helper.rb:114
|
395
454
|
msgid "Rerun failed"
|
396
455
|
msgstr ""
|
397
456
|
|
398
|
-
#: ../app/helpers/remote_execution_helper.rb:
|
457
|
+
#: ../app/helpers/remote_execution_helper.rb:117
|
399
458
|
msgid "Rerun on failed hosts"
|
400
459
|
msgstr ""
|
401
460
|
|
402
|
-
#: ../app/helpers/remote_execution_helper.rb:
|
461
|
+
#: ../app/helpers/remote_execution_helper.rb:120
|
403
462
|
msgid "Job Task"
|
404
463
|
msgstr ""
|
405
464
|
|
406
|
-
#: ../app/helpers/remote_execution_helper.rb:
|
465
|
+
#: ../app/helpers/remote_execution_helper.rb:122
|
407
466
|
msgid "See the last task details"
|
408
467
|
msgstr ""
|
409
468
|
|
410
|
-
#: ../app/helpers/remote_execution_helper.rb:
|
411
|
-
#: ../app/helpers/remote_execution_helper.rb:
|
469
|
+
#: ../app/helpers/remote_execution_helper.rb:125
|
470
|
+
#: ../app/helpers/remote_execution_helper.rb:143
|
412
471
|
msgid "Cancel Job"
|
413
472
|
msgstr ""
|
414
473
|
|
415
|
-
#: ../app/helpers/remote_execution_helper.rb:
|
474
|
+
#: ../app/helpers/remote_execution_helper.rb:127
|
416
475
|
msgid "Try to cancel the job"
|
417
476
|
msgstr ""
|
418
477
|
|
419
|
-
#: ../app/helpers/remote_execution_helper.rb:
|
478
|
+
#: ../app/helpers/remote_execution_helper.rb:138
|
420
479
|
msgid "Task Details"
|
421
480
|
msgstr ""
|
422
481
|
|
423
|
-
#: ../app/helpers/remote_execution_helper.rb:
|
482
|
+
#: ../app/helpers/remote_execution_helper.rb:140
|
424
483
|
msgid "See the task details"
|
425
484
|
msgstr ""
|
426
485
|
|
427
|
-
#: ../app/helpers/remote_execution_helper.rb:
|
486
|
+
#: ../app/helpers/remote_execution_helper.rb:145
|
428
487
|
msgid "Try to cancel the job on a host"
|
429
488
|
msgstr ""
|
430
489
|
|
431
|
-
#: ../app/helpers/remote_execution_helper.rb:
|
490
|
+
#: ../app/helpers/remote_execution_helper.rb:202
|
432
491
|
msgid "in %s"
|
433
492
|
msgstr ""
|
434
493
|
|
435
|
-
#: ../app/helpers/remote_execution_helper.rb:
|
494
|
+
#: ../app/helpers/remote_execution_helper.rb:202
|
436
495
|
msgid "%s ago"
|
437
496
|
msgstr ""
|
438
497
|
|
439
|
-
#: ../app/helpers/remote_execution_helper.rb:
|
498
|
+
#: ../app/helpers/remote_execution_helper.rb:212
|
440
499
|
msgid "Documentation"
|
441
500
|
msgstr ""
|
442
501
|
|
443
|
-
#: ../app/helpers/remote_execution_helper.rb:
|
502
|
+
#: ../app/helpers/remote_execution_helper.rb:219
|
444
503
|
msgid "Template input"
|
445
504
|
msgstr ""
|
446
505
|
|
447
|
-
#: ../app/helpers/remote_execution_helper.rb:
|
506
|
+
#: ../app/helpers/remote_execution_helper.rb:220
|
448
507
|
msgid "remove template input"
|
449
508
|
msgstr ""
|
450
509
|
|
451
|
-
#: ../app/helpers/remote_execution_helper.rb:
|
510
|
+
#: ../app/helpers/remote_execution_helper.rb:232
|
452
511
|
msgid "Use default description template"
|
453
512
|
msgstr ""
|
454
513
|
|
455
|
-
#: ../app/helpers/remote_execution_helper.rb:
|
514
|
+
#: ../app/helpers/remote_execution_helper.rb:237
|
456
515
|
msgid "Description template"
|
457
516
|
msgstr ""
|
458
517
|
|
459
|
-
#: ../app/helpers/remote_execution_helper.rb:
|
460
|
-
#: ../app/views/job_invocations/_form.html.erb:
|
518
|
+
#: ../app/helpers/remote_execution_helper.rb:243
|
519
|
+
#: ../app/views/job_invocations/_form.html.erb:101
|
461
520
|
#: ../app/views/job_templates/_custom_tabs.html.erb:14
|
462
521
|
msgid "Explanation"
|
463
522
|
msgstr ""
|
464
523
|
|
465
|
-
#: ../app/helpers/remote_execution_helper.rb:
|
524
|
+
#: ../app/helpers/remote_execution_helper.rb:244
|
466
525
|
msgid ""
|
467
526
|
"This template is used to generate the description Input values can be used usi"
|
468
527
|
"ng the syntax %{package}. You may also include the job category and template n"
|
@@ -474,36 +533,42 @@ msgid "Could not use any template used in the job invocation"
|
|
474
533
|
msgstr ""
|
475
534
|
|
476
535
|
#: ../app/lib/actions/remote_execution/run_host_job.rb:30
|
536
|
+
msgid "The only applicable proxy %{proxy_names} is down"
|
537
|
+
msgid_plural "All %{count} applicable proxies are down. Tried %{proxy_names}"
|
538
|
+
msgstr[0] ""
|
539
|
+
msgstr[1] ""
|
540
|
+
|
541
|
+
#: ../app/lib/actions/remote_execution/run_host_job.rb:37
|
477
542
|
msgid ""
|
478
543
|
"Could not use any proxy. Consider configuring %{global_proxy} or %{fallback_pr"
|
479
544
|
"oxy} in settings"
|
480
545
|
msgstr ""
|
481
546
|
|
482
|
-
#: ../app/lib/actions/remote_execution/run_host_job.rb:
|
547
|
+
#: ../app/lib/actions/remote_execution/run_host_job.rb:43
|
483
548
|
msgid "Failed rendering template: %s"
|
484
549
|
msgstr ""
|
485
550
|
|
486
|
-
#: ../app/lib/actions/remote_execution/run_host_job.rb:
|
551
|
+
#: ../app/lib/actions/remote_execution/run_host_job.rb:66
|
487
552
|
msgid "Failed to initialize command"
|
488
553
|
msgstr ""
|
489
554
|
|
490
|
-
#: ../app/lib/actions/remote_execution/run_host_job.rb:
|
555
|
+
#: ../app/lib/actions/remote_execution/run_host_job.rb:71
|
491
556
|
msgid "%{description} on %{host}"
|
492
557
|
msgstr ""
|
493
558
|
|
494
|
-
#: ../app/lib/actions/remote_execution/run_host_job.rb:
|
559
|
+
#: ../app/lib/actions/remote_execution/run_host_job.rb:76 action_names.rb:8
|
495
560
|
msgid "Remote action:"
|
496
561
|
msgstr ""
|
497
562
|
|
498
|
-
#: ../app/lib/actions/remote_execution/run_host_job.rb:
|
563
|
+
#: ../app/lib/actions/remote_execution/run_host_job.rb:95
|
499
564
|
msgid "User can not execute job on host %s"
|
500
565
|
msgstr ""
|
501
566
|
|
502
|
-
#: ../app/lib/actions/remote_execution/run_host_job.rb:
|
567
|
+
#: ../app/lib/actions/remote_execution/run_host_job.rb:96
|
503
568
|
msgid "User can not execute this job template"
|
504
569
|
msgstr ""
|
505
570
|
|
506
|
-
#: ../app/lib/actions/remote_execution/run_host_job.rb:
|
571
|
+
#: ../app/lib/actions/remote_execution/run_host_job.rb:101
|
507
572
|
msgid "User can not execute this job template on %s"
|
508
573
|
msgstr ""
|
509
574
|
|
@@ -539,7 +604,7 @@ msgstr ""
|
|
539
604
|
msgid "host already has an execution interface"
|
540
605
|
msgstr ""
|
541
606
|
|
542
|
-
#: ../app/models/foreign_input_set.rb:
|
607
|
+
#: ../app/models/foreign_input_set.rb:21
|
543
608
|
msgid ""
|
544
609
|
"Circular dependency detected in foreign input set '%{template}' -> '%{target_t"
|
545
610
|
"emplate}'. Templates stack: %{templates_stack}"
|
@@ -550,11 +615,11 @@ msgid "Execution"
|
|
550
615
|
msgstr ""
|
551
616
|
|
552
617
|
#: ../app/models/host_status/execution_status.rb:36
|
553
|
-
msgid "
|
618
|
+
msgid "Last execution succeeded"
|
554
619
|
msgstr ""
|
555
620
|
|
556
621
|
#: ../app/models/host_status/execution_status.rb:36
|
557
|
-
msgid "
|
622
|
+
msgid "No execution finished yet"
|
558
623
|
msgstr ""
|
559
624
|
|
560
625
|
#: ../app/models/host_status/execution_status.rb:38
|
@@ -565,21 +630,21 @@ msgstr ""
|
|
565
630
|
msgid "Unknown execution status"
|
566
631
|
msgstr ""
|
567
632
|
|
568
|
-
#: ../app/models/input_template_renderer.rb:
|
633
|
+
#: ../app/models/input_template_renderer.rb:16
|
569
634
|
msgid "Recursive rendering of templates detected"
|
570
635
|
msgstr ""
|
571
636
|
|
572
|
-
#: ../app/models/input_template_renderer.rb:
|
637
|
+
#: ../app/models/input_template_renderer.rb:30
|
573
638
|
msgid "error during rendering: %s"
|
574
639
|
msgstr ""
|
575
640
|
|
576
|
-
#: ../app/models/input_template_renderer.rb:
|
641
|
+
#: ../app/models/input_template_renderer.rb:49
|
577
642
|
msgid ""
|
578
643
|
"input macro with name '%s' used, but no input with such name defined for this "
|
579
644
|
"template"
|
580
645
|
msgstr ""
|
581
646
|
|
582
|
-
#: ../app/models/input_template_renderer.rb:
|
647
|
+
#: ../app/models/input_template_renderer.rb:63
|
583
648
|
msgid "included template '%s' not found"
|
584
649
|
msgstr ""
|
585
650
|
|
@@ -587,30 +652,48 @@ msgstr ""
|
|
587
652
|
msgid "template"
|
588
653
|
msgstr ""
|
589
654
|
|
590
|
-
#: ../app/models/job_invocation_composer.rb:
|
655
|
+
#: ../app/models/job_invocation_composer.rb:79
|
591
656
|
msgid "Cannot specify both bookmark_id and search_query"
|
592
657
|
msgstr ""
|
593
658
|
|
594
|
-
#: ../app/models/job_invocation_composer.rb:
|
659
|
+
#: ../app/models/job_invocation_composer.rb:84
|
595
660
|
msgid "Cannot specify both recurrence and scheduling"
|
596
661
|
msgstr ""
|
597
662
|
|
598
|
-
#: ../app/models/job_invocation_composer.rb:
|
663
|
+
#: ../app/models/job_invocation_composer.rb:118
|
599
664
|
msgid "Unknown input %{input_name} for template %{template_name}"
|
600
665
|
msgstr ""
|
601
666
|
|
667
|
+
#: ../app/models/job_invocation_composer.rb:226
|
668
|
+
msgid "Feature input %{input_name} not defined in template %{template_name}"
|
669
|
+
msgstr ""
|
670
|
+
|
671
|
+
#: ../app/models/job_invocation_composer.rb:235
|
672
|
+
msgid "No template mapped to feature %{feature_name}"
|
673
|
+
msgstr ""
|
674
|
+
|
675
|
+
#: ../app/models/job_invocation_composer.rb:241
|
676
|
+
msgid ""
|
677
|
+
"The template %{template_name} mapped to feature %{feature_name} is not accessi"
|
678
|
+
"ble by the user"
|
679
|
+
msgstr ""
|
680
|
+
|
602
681
|
#: ../app/models/job_invocation_task_group.rb:8
|
603
682
|
msgid "Job Invocation"
|
604
683
|
msgstr ""
|
605
684
|
|
606
|
-
#: ../app/models/job_template.rb:
|
685
|
+
#: ../app/models/job_template.rb:153
|
607
686
|
msgid "Duplicated inputs detected: %{duplicated_inputs}"
|
608
687
|
msgstr ""
|
609
688
|
|
610
|
-
#: ../app/models/job_template.rb:
|
689
|
+
#: ../app/models/job_template.rb:219
|
611
690
|
msgid "This template is locked. Please clone it to a new template to customize."
|
612
691
|
msgstr ""
|
613
692
|
|
693
|
+
#: ../app/models/remote_execution_feature.rb:20
|
694
|
+
msgid "Unknown remote execution feature %s"
|
695
|
+
msgstr ""
|
696
|
+
|
614
697
|
#: ../app/models/setting/remote_execution.rb:10
|
615
698
|
msgid ""
|
616
699
|
"Search the host for any proxy with Remote Execution, useful when the host has "
|
@@ -640,6 +723,10 @@ msgstr ""
|
|
640
723
|
msgid "What command should be used to switch to the effective user. One of %s"
|
641
724
|
msgstr ""
|
642
725
|
|
726
|
+
#: ../app/models/setting/remote_execution.rb:27
|
727
|
+
msgid "Whether we should sync templates from disk when running db:seed."
|
728
|
+
msgstr ""
|
729
|
+
|
643
730
|
#: ../app/models/ssh_execution_provider.rb:13
|
644
731
|
msgid "SSH"
|
645
732
|
msgstr ""
|
@@ -668,23 +755,23 @@ msgstr ""
|
|
668
755
|
msgid "Must select a bookmark or enter a search query"
|
669
756
|
msgstr ""
|
670
757
|
|
671
|
-
#: ../app/models/template_input.rb:
|
758
|
+
#: ../app/models/template_input.rb:9
|
672
759
|
msgid "User input"
|
673
760
|
msgstr ""
|
674
761
|
|
675
|
-
#: ../app/models/template_input.rb:
|
676
|
-
msgid "
|
762
|
+
#: ../app/models/template_input.rb:9
|
763
|
+
msgid "Fact value"
|
677
764
|
msgstr ""
|
678
765
|
|
679
|
-
#: ../app/models/template_input.rb:
|
680
|
-
msgid "
|
766
|
+
#: ../app/models/template_input.rb:9
|
767
|
+
msgid "Variable"
|
681
768
|
msgstr ""
|
682
769
|
|
683
|
-
#: ../app/models/template_input.rb:
|
770
|
+
#: ../app/models/template_input.rb:10
|
684
771
|
msgid "Puppet parameter"
|
685
772
|
msgstr ""
|
686
773
|
|
687
|
-
#: ../app/models/template_input.rb:
|
774
|
+
#: ../app/models/template_input.rb:113
|
688
775
|
msgid "Value for required input '%s' was not specified"
|
689
776
|
msgstr ""
|
690
777
|
|
@@ -696,31 +783,9 @@ msgstr ""
|
|
696
783
|
msgid "Not all required inputs have values. Missing inputs: %s"
|
697
784
|
msgstr ""
|
698
785
|
|
699
|
-
#: ../app/overrides/foreman/nics/_execution_interface.html.erb:5
|
700
|
-
msgid "The execution interface is used for remote execution"
|
701
|
-
msgstr ""
|
702
|
-
|
703
|
-
#: ../app/overrides/foreman/nics/_execution_interface.html.erb:8
|
704
|
-
msgid "Remote execution"
|
705
|
-
msgstr ""
|
706
|
-
|
707
|
-
#: ../app/overrides/foreman/subnets/_rex_tab.html.erb:1
|
708
|
-
msgid "Remote Execution"
|
709
|
-
msgstr ""
|
710
|
-
|
711
|
-
#: ../app/overrides/foreman/subnets/_rex_tab_pane.html.erb:3
|
712
|
-
msgid "Proxies"
|
713
|
-
msgstr ""
|
714
|
-
|
715
|
-
#: ../app/overrides/foreman/subnets/_rex_tab_pane.html.erb:3
|
716
|
-
msgid ""
|
717
|
-
"Select as many remote execution proxies as applicable for this subnet. When m"
|
718
|
-
"ultiple proxies with the same provider are added, actions will be load balance"
|
719
|
-
"d among them."
|
720
|
-
msgstr ""
|
721
|
-
|
722
786
|
#: ../app/views/job_invocations/_description_fields.html.erb:1
|
723
787
|
#: ../app/views/job_invocations/index.html.erb:8
|
788
|
+
#: ../app/views/remote_execution_features/index.html.erb:8
|
724
789
|
msgid "Description"
|
725
790
|
msgstr ""
|
726
791
|
|
@@ -741,11 +806,11 @@ msgid "Preview"
|
|
741
806
|
msgstr ""
|
742
807
|
|
743
808
|
#: ../app/views/job_invocations/_form.html.erb:64
|
744
|
-
msgid "
|
809
|
+
msgid "Display advanced fields"
|
745
810
|
msgstr ""
|
746
811
|
|
747
812
|
#: ../app/views/job_invocations/_form.html.erb:64
|
748
|
-
msgid "
|
813
|
+
msgid "Hide advanced fields"
|
749
814
|
msgstr ""
|
750
815
|
|
751
816
|
#: ../app/views/job_invocations/_form.html.erb:75
|
@@ -761,10 +826,22 @@ msgid ""
|
|
761
826
|
msgstr ""
|
762
827
|
|
763
828
|
#: ../app/views/job_invocations/_form.html.erb:89
|
829
|
+
msgid "Concurrency level"
|
830
|
+
msgstr ""
|
831
|
+
|
832
|
+
#: ../app/views/job_invocations/_form.html.erb:90
|
833
|
+
msgid "Time span"
|
834
|
+
msgstr ""
|
835
|
+
|
836
|
+
#: ../app/views/job_invocations/_form.html.erb:90
|
837
|
+
msgid "Distribute execution over N seconds"
|
838
|
+
msgstr ""
|
839
|
+
|
840
|
+
#: ../app/views/job_invocations/_form.html.erb:94
|
764
841
|
msgid "Type of query"
|
765
842
|
msgstr ""
|
766
843
|
|
767
|
-
#: ../app/views/job_invocations/_form.html.erb:
|
844
|
+
#: ../app/views/job_invocations/_form.html.erb:102
|
768
845
|
msgid ""
|
769
846
|
"Type has impact on when is the query evaulated to hosts.<br><ul><li><b>Static<"
|
770
847
|
"/b> - evaluates just after you submit this form</li><li><b>Dynamic</b> - evalu"
|
@@ -788,7 +865,8 @@ msgstr[1] ""
|
|
788
865
|
msgid "No hosts found."
|
789
866
|
msgstr ""
|
790
867
|
|
791
|
-
#: ../app/views/job_invocations/_preview_hosts_modal.html.erb:
|
868
|
+
#: ../app/views/job_invocations/_preview_hosts_modal.html.erb:8
|
869
|
+
#: ../app/views/job_templates/_import_job_template_modal.html.erb:8
|
792
870
|
msgid "Close"
|
793
871
|
msgstr ""
|
794
872
|
|
@@ -810,7 +888,7 @@ msgid "Status"
|
|
810
888
|
msgstr ""
|
811
889
|
|
812
890
|
#: ../app/views/job_invocations/_tab_hosts.html.erb:23
|
813
|
-
#: ../app/views/job_templates/index.html.erb:
|
891
|
+
#: ../app/views/job_templates/index.html.erb:18
|
814
892
|
msgid "Actions"
|
815
893
|
msgstr ""
|
816
894
|
|
@@ -894,11 +972,11 @@ msgid "Type"
|
|
894
972
|
msgstr ""
|
895
973
|
|
896
974
|
#: ../app/views/job_templates/_custom_tabs.html.erb:28
|
897
|
-
msgid "
|
975
|
+
msgid "Add Input"
|
898
976
|
msgstr ""
|
899
977
|
|
900
978
|
#: ../app/views/job_templates/_custom_tabs.html.erb:28
|
901
|
-
msgid "
|
979
|
+
msgid "add a input for this template"
|
902
980
|
msgstr ""
|
903
981
|
|
904
982
|
#: ../app/views/job_templates/_custom_tabs.html.erb:35
|
@@ -913,35 +991,99 @@ msgstr ""
|
|
913
991
|
msgid "Snippet"
|
914
992
|
msgstr ""
|
915
993
|
|
994
|
+
#: ../app/views/job_templates/_import_job_template_modal.html.erb:13
|
995
|
+
msgid ""
|
996
|
+
"Select an ERB file to upload in order to import a job template. The template "
|
997
|
+
"must contain metadata in the first ERB comment."
|
998
|
+
msgstr ""
|
999
|
+
|
1000
|
+
#: ../app/views/job_templates/_import_job_template_modal.html.erb:14
|
1001
|
+
msgid "Overwrite"
|
1002
|
+
msgstr ""
|
1003
|
+
|
1004
|
+
#: ../app/views/job_templates/_import_job_template_modal.html.erb:14
|
1005
|
+
msgid "Whether to overwrite the template if it already exists"
|
1006
|
+
msgstr ""
|
1007
|
+
|
916
1008
|
#: ../app/views/job_templates/edit.html.erb:4
|
917
1009
|
msgid "Edit Job Template"
|
918
1010
|
msgstr ""
|
919
1011
|
|
920
|
-
#: ../app/views/job_templates/index.html.erb:
|
1012
|
+
#: ../app/views/job_templates/index.html.erb:6
|
921
1013
|
msgid "Job Templates"
|
922
1014
|
msgstr ""
|
923
1015
|
|
924
|
-
#: ../app/views/job_templates/index.html.erb:
|
1016
|
+
#: ../app/views/job_templates/index.html.erb:8
|
1017
|
+
msgid "Import"
|
1018
|
+
msgstr ""
|
1019
|
+
|
1020
|
+
#: ../app/views/job_templates/index.html.erb:9
|
925
1021
|
#: ../app/views/job_templates/new.html.erb:4
|
926
1022
|
msgid "New Job Template"
|
927
1023
|
msgstr ""
|
928
1024
|
|
929
|
-
#: ../app/views/job_templates/index.html.erb:
|
1025
|
+
#: ../app/views/job_templates/index.html.erb:15
|
930
1026
|
msgid "JobTemplate|Name"
|
931
1027
|
msgstr ""
|
932
1028
|
|
933
|
-
#: ../app/views/job_templates/index.html.erb:
|
1029
|
+
#: ../app/views/job_templates/index.html.erb:16
|
934
1030
|
msgid "JobTemplate|Snippet"
|
935
1031
|
msgstr ""
|
936
1032
|
|
937
|
-
#: ../app/views/job_templates/index.html.erb:
|
1033
|
+
#: ../app/views/job_templates/index.html.erb:17
|
938
1034
|
msgid "JobTemplate|Locked"
|
939
1035
|
msgstr ""
|
940
1036
|
|
941
|
-
#: ../app/views/job_templates/index.html.erb:
|
1037
|
+
#: ../app/views/job_templates/index.html.erb:28
|
942
1038
|
msgid "This template is locked for editing."
|
943
1039
|
msgstr ""
|
944
1040
|
|
1041
|
+
#: ../app/views/overrides/nics/_execution_interface.html.erb:5
|
1042
|
+
msgid "The execution interface is used for remote execution"
|
1043
|
+
msgstr ""
|
1044
|
+
|
1045
|
+
#: ../app/views/overrides/nics/_execution_interface.html.erb:8
|
1046
|
+
msgid "Remote execution"
|
1047
|
+
msgstr ""
|
1048
|
+
|
1049
|
+
#: ../app/views/overrides/subnets/_rex_tab.html.erb:1
|
1050
|
+
msgid "Remote Execution"
|
1051
|
+
msgstr ""
|
1052
|
+
|
1053
|
+
#: ../app/views/overrides/subnets/_rex_tab_pane.html.erb:3
|
1054
|
+
msgid "Proxies"
|
1055
|
+
msgstr ""
|
1056
|
+
|
1057
|
+
#: ../app/views/overrides/subnets/_rex_tab_pane.html.erb:3
|
1058
|
+
msgid ""
|
1059
|
+
"Select as many remote execution proxies as applicable for this subnet. When m"
|
1060
|
+
"ultiple proxies with the same provider are added, actions will be load balance"
|
1061
|
+
"d among them."
|
1062
|
+
msgstr ""
|
1063
|
+
|
1064
|
+
#: ../app/views/remote_execution_features/_form.html.erb:18
|
1065
|
+
msgid ""
|
1066
|
+
"You are not allowed to see the currently assigned template. Saving the form no"
|
1067
|
+
"w would unassign the template."
|
1068
|
+
msgstr ""
|
1069
|
+
|
1070
|
+
#: ../app/views/remote_execution_features/index.html.erb:1
|
1071
|
+
#: ../lib/foreman_remote_execution/engine.rb:93
|
1072
|
+
msgid "Remote Execution Features"
|
1073
|
+
msgstr ""
|
1074
|
+
|
1075
|
+
#: ../app/views/remote_execution_features/index.html.erb:6
|
1076
|
+
msgid "Label"
|
1077
|
+
msgstr ""
|
1078
|
+
|
1079
|
+
#: ../app/views/remote_execution_features/index.html.erb:7
|
1080
|
+
msgid "Name"
|
1081
|
+
msgstr ""
|
1082
|
+
|
1083
|
+
#: ../app/views/remote_execution_features/show.html.erb:1
|
1084
|
+
msgid "Edit Remote Execution Feature"
|
1085
|
+
msgstr ""
|
1086
|
+
|
945
1087
|
#: ../app/views/template_inputs/_foreign_input_set_form.html.erb:3
|
946
1088
|
msgid "Foreign input set"
|
947
1089
|
msgstr ""
|
@@ -998,36 +1140,40 @@ msgstr ""
|
|
998
1140
|
msgid "Scroll to top"
|
999
1141
|
msgstr ""
|
1000
1142
|
|
1001
|
-
#: ../
|
1143
|
+
#: ../app/views/templates/package_action.erb:5
|
1144
|
+
msgid "Unsupported or no operating system found for this host."
|
1145
|
+
msgstr ""
|
1146
|
+
|
1147
|
+
#: ../lib/foreman_remote_execution/engine.rb:88
|
1002
1148
|
msgid "Job templates"
|
1003
1149
|
msgstr ""
|
1004
1150
|
|
1005
|
-
#: ../lib/foreman_remote_execution/engine.rb:
|
1151
|
+
#: ../lib/foreman_remote_execution/engine.rb:99
|
1006
1152
|
msgid "Jobs"
|
1007
1153
|
msgstr ""
|
1008
1154
|
|
1009
1155
|
#: action_names.rb:2
|
1010
|
-
msgid "
|
1156
|
+
msgid "Action with sub plans"
|
1011
1157
|
msgstr ""
|
1012
1158
|
|
1013
1159
|
#: action_names.rb:3
|
1014
|
-
msgid "
|
1160
|
+
msgid "Create architecture"
|
1015
1161
|
msgstr ""
|
1016
1162
|
|
1017
1163
|
#: action_names.rb:4
|
1018
|
-
msgid "
|
1164
|
+
msgid "Delete architecture"
|
1019
1165
|
msgstr ""
|
1020
1166
|
|
1021
1167
|
#: action_names.rb:5
|
1022
|
-
msgid "
|
1168
|
+
msgid "Update architecture"
|
1023
1169
|
msgstr ""
|
1024
1170
|
|
1025
1171
|
#: action_names.rb:6
|
1026
|
-
msgid "Import
|
1172
|
+
msgid "Import facts"
|
1027
1173
|
msgstr ""
|
1028
1174
|
|
1029
1175
|
#: action_names.rb:7
|
1030
|
-
msgid "
|
1176
|
+
msgid "Import Puppet classes"
|
1031
1177
|
msgstr ""
|
1032
1178
|
|
1033
1179
|
#: gemspec.rb:2
|