foreman-tasks 0.8.6 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +35 -0
- data/.rubocop_todo.yml +138 -0
- data/app/controllers/foreman_tasks/api/recurring_logics_controller.rb +3 -4
- data/app/controllers/foreman_tasks/api/tasks_controller.rb +56 -72
- data/app/controllers/foreman_tasks/concerns/hosts_controller_extension.rb +2 -4
- data/app/controllers/foreman_tasks/recurring_logics_controller.rb +2 -5
- data/app/controllers/foreman_tasks/tasks_controller.rb +7 -8
- data/app/helpers/foreman_tasks/foreman_tasks_helper.rb +44 -46
- data/app/helpers/foreman_tasks/tasks_helper.rb +1 -1
- data/app/lib/actions/action_with_sub_plans.rb +6 -8
- data/app/lib/actions/base.rb +6 -7
- data/app/lib/actions/bulk_action.rb +13 -9
- data/app/lib/actions/entry_action.rb +1 -3
- data/app/lib/actions/foreman/host/import_facts.rb +2 -5
- data/app/lib/actions/foreman/puppetclass/import.rb +1 -1
- data/app/lib/actions/helpers/args_serialization.rb +0 -1
- data/app/lib/actions/helpers/humanizer.rb +16 -21
- data/app/lib/actions/helpers/with_continuous_output.rb +0 -1
- data/app/lib/actions/helpers/with_delegated_action.rb +2 -2
- data/app/lib/actions/middleware/inherit_task_groups.rb +3 -5
- data/app/lib/actions/middleware/keep_current_user.rb +0 -3
- data/app/lib/actions/middleware/recurring_logic.rb +0 -1
- data/app/lib/actions/proxy_action.rb +8 -8
- data/app/lib/actions/serializers/active_record_serializer.rb +0 -3
- data/app/lib/proxy_api/foreman_dynflow/dynflow_proxy.rb +3 -3
- data/app/models/foreman_tasks/concerns/action_subject.rb +4 -6
- data/app/models/foreman_tasks/concerns/action_triggering.rb +20 -33
- data/app/models/foreman_tasks/concerns/host_action_subject.rb +5 -5
- data/app/models/foreman_tasks/lock.rb +29 -37
- data/app/models/foreman_tasks/recurring_logic.rb +23 -24
- data/app/models/foreman_tasks/task.rb +65 -39
- data/app/models/foreman_tasks/task/dynflow_task.rb +23 -24
- data/app/models/foreman_tasks/task/status_explicator.rb +3 -3
- data/app/models/foreman_tasks/task/summarizer.rb +3 -3
- data/app/models/foreman_tasks/task_group.rb +0 -2
- data/app/models/foreman_tasks/task_group_member.rb +0 -2
- data/app/models/foreman_tasks/task_groups/recurring_logic_task_group.rb +1 -4
- data/app/models/foreman_tasks/triggering.rb +19 -19
- data/app/models/setting/foreman_tasks.rb +8 -11
- data/app/services/foreman_tasks/proxy_selector.rb +4 -5
- data/app/views/foreman_tasks/tasks/_details.html.erb +1 -1
- data/bin/dynflow-executor +1 -1
- data/bin/foreman-tasks +1 -1
- data/config/routes.rb +1 -1
- data/db/migrate/20150814204140_add_task_type_value_index.rb +1 -1
- data/db/migrate/20160924213030_change_tasks_widget_names.rb +8 -8
- data/db/seeds.d/61-foreman_tasks_bookmarks.rb +3 -3
- data/deploy/foreman-tasks.sysconfig +6 -0
- data/extra/dynflow-debug.sh +12 -0
- data/foreman-tasks.gemspec +1 -1
- data/lib/foreman_tasks.rb +3 -3
- data/lib/foreman_tasks/authorizer_ext.rb +1 -1
- data/lib/foreman_tasks/cleaner.rb +14 -16
- data/lib/foreman_tasks/dynflow.rb +11 -9
- data/lib/foreman_tasks/dynflow/configuration.rb +8 -10
- data/lib/foreman_tasks/dynflow/console_authorizer.rb +4 -5
- data/lib/foreman_tasks/dynflow/daemon.rb +17 -19
- data/lib/foreman_tasks/dynflow/persistence.rb +5 -8
- data/lib/foreman_tasks/engine.rb +30 -31
- data/lib/foreman_tasks/task_error.rb +1 -3
- data/lib/foreman_tasks/tasks/cleanup.rake +7 -19
- data/lib/foreman_tasks/tasks/dynflow.rake +1 -1
- data/lib/foreman_tasks/tasks/export_tasks.rake +51 -59
- data/lib/foreman_tasks/test_extensions.rb +1 -1
- data/lib/foreman_tasks/version.rb +1 -1
- data/lib/tasks/gettext.rake +10 -7
- data/locale/action_names.rb +3 -6
- data/locale/en/foreman_tasks.po +189 -177
- data/locale/foreman_tasks.pot +177 -137
- data/test/controllers/api/recurring_logics_controller_test.rb +3 -5
- data/test/controllers/api/tasks_controller_test.rb +5 -7
- data/test/factories/task_factory.rb +8 -8
- data/test/factories/triggering_factory.rb +2 -3
- data/test/helpers/foreman_tasks/tasks_helper_test.rb +11 -11
- data/test/support/dummy_proxy_action.rb +3 -4
- data/test/unit/actions/action_with_sub_plans_test.rb +5 -6
- data/test/unit/actions/proxy_action_test.rb +5 -8
- data/test/unit/cleaner_test.rb +11 -12
- data/test/unit/dynflow_console_authorizer_test.rb +4 -4
- data/test/unit/proxy_selector_test.rb +3 -3
- data/test/unit/recurring_logic_test.rb +19 -17
- data/test/unit/task_groups_test.rb +3 -4
- data/test/unit/task_test.rb +72 -5
- data/test/unit/triggering_test.rb +0 -1
- metadata +7 -6
- data/app/controllers/foreman_tasks/concerns/environments_extension.rb +0 -24
data/locale/foreman_tasks.pot
CHANGED
@@ -8,8 +8,8 @@ msgid ""
|
|
8
8
|
msgstr ""
|
9
9
|
"Project-Id-Version: foreman_tasks 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-12-07 19:25+0100\n"
|
12
|
+
"PO-Revision-Date: 2016-12-07 19:25+0100\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
@@ -146,137 +146,156 @@ msgstr ""
|
|
146
146
|
msgid "The task resources were unlocked with force."
|
147
147
|
msgstr ""
|
148
148
|
|
149
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
149
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:38
|
150
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:47
|
151
|
+
#: ../app/models/foreman_tasks/recurring_logic.rb:102
|
152
|
+
#: ../app/models/foreman_tasks/task/dynflow_task.rb:92
|
153
|
+
msgid "N/A"
|
154
|
+
msgstr ""
|
155
|
+
|
156
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:40
|
157
|
+
msgid "%s ago"
|
158
|
+
msgstr ""
|
159
|
+
|
160
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:40
|
161
|
+
msgid "in %s"
|
162
|
+
msgstr ""
|
163
|
+
|
164
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:50
|
165
|
+
msgid " seconds"
|
166
|
+
msgstr ""
|
167
|
+
|
168
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:57
|
150
169
|
#: ../app/views/foreman_tasks/tasks/_details.html.erb:12
|
151
|
-
#: ../app/views/foreman_tasks/tasks/_details.html.erb:
|
152
|
-
#: ../app/views/foreman_tasks/tasks/_details.html.erb:
|
170
|
+
#: ../app/views/foreman_tasks/tasks/_details.html.erb:56
|
171
|
+
#: ../app/views/foreman_tasks/tasks/_details.html.erb:81
|
153
172
|
#: ../app/views/foreman_tasks/tasks/_running_steps.html.erb:12
|
154
173
|
msgid "Cancel"
|
155
174
|
msgstr ""
|
156
175
|
|
157
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
158
|
-
#: ../app/views/foreman_tasks/tasks/_details.html.erb:
|
176
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:118
|
177
|
+
#: ../app/views/foreman_tasks/tasks/_details.html.erb:123
|
159
178
|
msgid "Start at"
|
160
179
|
msgstr ""
|
161
180
|
|
162
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
163
|
-
#: ../app/views/foreman_tasks/tasks/_details.html.erb:107
|
164
|
-
msgid "Start before"
|
165
|
-
msgstr ""
|
166
|
-
|
167
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:67
|
181
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:119
|
168
182
|
msgid ""
|
169
183
|
"Indicates that the action should be cancelled if it cannot be started before t"
|
170
184
|
"his time."
|
171
185
|
msgstr ""
|
172
186
|
|
173
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
174
|
-
#: ../app/
|
187
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:119
|
188
|
+
#: ../app/views/foreman_tasks/tasks/_details.html.erb:135
|
189
|
+
msgid "Start before"
|
190
|
+
msgstr ""
|
191
|
+
|
192
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:119
|
193
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:154
|
175
194
|
msgid "Explanation"
|
176
195
|
msgstr ""
|
177
196
|
|
178
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
197
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:127
|
179
198
|
msgid "Repeats"
|
180
199
|
msgstr ""
|
181
200
|
|
182
201
|
#. TRANSLATORS: this translation is referring to an option which is a time interval
|
183
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
202
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:143
|
184
203
|
msgid "is minute (range: 0-59)"
|
185
204
|
msgstr ""
|
186
205
|
|
187
206
|
#. TRANSLATORS: this translation is referring to an option which is a time interval
|
188
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
207
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:145
|
189
208
|
msgid "is hour (range: 0-23)"
|
190
209
|
msgstr ""
|
191
210
|
|
192
211
|
#. TRANSLATORS: this translation is referring to an option which is a time interval
|
193
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
212
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:147
|
194
213
|
msgid "is day of month (range: 1-31)"
|
195
214
|
msgstr ""
|
196
215
|
|
197
216
|
#. TRANSLATORS: this translation is referring to an option which is a time interval
|
198
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
217
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:149
|
199
218
|
msgid "is month (range: 1-12)"
|
200
219
|
msgstr ""
|
201
220
|
|
202
221
|
#. TRANSLATORS: this translation is referring to an option which is a time interval
|
203
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
222
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:151
|
204
223
|
msgid "is day of week (range: 0-6)"
|
205
224
|
msgstr ""
|
206
225
|
|
207
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
226
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:155
|
208
227
|
msgid "Cron line format 'a b c d e', where: %s"
|
209
228
|
msgstr ""
|
210
229
|
|
211
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
230
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:158
|
212
231
|
#: ../app/views/foreman_tasks/recurring_logics/index.html.erb:6
|
213
232
|
#: ../app/views/foreman_tasks/task_groups/recurring_logic_task_groups/_recurring_logic_task_group.html.erb:8
|
214
233
|
msgid "Cron line"
|
215
234
|
msgstr ""
|
216
235
|
|
217
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
236
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:164
|
218
237
|
msgid "Days"
|
219
238
|
msgstr ""
|
220
239
|
|
221
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
240
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:173
|
222
241
|
msgid "Days of week"
|
223
242
|
msgstr ""
|
224
243
|
|
225
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
244
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:174
|
226
245
|
msgid "Mon"
|
227
246
|
msgstr ""
|
228
247
|
|
229
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
248
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:175
|
230
249
|
msgid "Tue"
|
231
250
|
msgstr ""
|
232
251
|
|
233
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
252
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:176
|
234
253
|
msgid "Wed"
|
235
254
|
msgstr ""
|
236
255
|
|
237
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
256
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:177
|
238
257
|
msgid "Thu"
|
239
258
|
msgstr ""
|
240
259
|
|
241
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
260
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:178
|
242
261
|
msgid "Fri"
|
243
262
|
msgstr ""
|
244
263
|
|
245
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
264
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:179
|
246
265
|
msgid "Sat"
|
247
266
|
msgstr ""
|
248
267
|
|
249
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
268
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:180
|
250
269
|
msgid "Sun"
|
251
270
|
msgstr ""
|
252
271
|
|
253
272
|
#. TRANSLATORS: Time widget for when a task should start
|
254
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
273
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:189
|
255
274
|
msgid "At"
|
256
275
|
msgstr ""
|
257
276
|
|
258
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
277
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:191
|
259
278
|
msgid "Repeat N times"
|
260
279
|
msgstr ""
|
261
280
|
|
262
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
281
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:192
|
263
282
|
msgid "Ends"
|
264
283
|
msgstr ""
|
265
284
|
|
266
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
285
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:193
|
267
286
|
msgid "Never"
|
268
287
|
msgstr ""
|
269
288
|
|
270
289
|
#. TRANSLATORS: Button text for saying when a task should end
|
271
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
290
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:195
|
272
291
|
msgid "On"
|
273
292
|
msgstr ""
|
274
293
|
|
275
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
294
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:198
|
276
295
|
msgid "Ends at"
|
277
296
|
msgstr ""
|
278
297
|
|
279
|
-
#: ../app/helpers/foreman_tasks/tasks_helper.rb:
|
298
|
+
#: ../app/helpers/foreman_tasks/tasks_helper.rb:19
|
280
299
|
msgid "Unlimited"
|
281
300
|
msgstr ""
|
282
301
|
|
@@ -296,23 +315,11 @@ msgstr ""
|
|
296
315
|
msgid "The targets are of different types"
|
297
316
|
msgstr ""
|
298
317
|
|
299
|
-
#: ../app/lib/actions/foreman/
|
300
|
-
msgid "Create architecture"
|
301
|
-
msgstr ""
|
302
|
-
|
303
|
-
#: ../app/lib/actions/foreman/architecture/destroy.rb:11 action_names.rb:7
|
304
|
-
msgid "Delete architecture"
|
305
|
-
msgstr ""
|
306
|
-
|
307
|
-
#: ../app/lib/actions/foreman/architecture/update.rb:11 action_names.rb:6
|
308
|
-
msgid "Update architecture"
|
309
|
-
msgstr ""
|
310
|
-
|
311
|
-
#: ../app/lib/actions/foreman/host/import_facts.rb:35 action_names.rb:5
|
318
|
+
#: ../app/lib/actions/foreman/host/import_facts.rb:40 action_names.rb:3
|
312
319
|
msgid "Import facts"
|
313
320
|
msgstr ""
|
314
321
|
|
315
|
-
#: ../app/lib/actions/foreman/puppetclass/import.rb:18 action_names.rb:
|
322
|
+
#: ../app/lib/actions/foreman/puppetclass/import.rb:18 action_names.rb:2
|
316
323
|
msgid "Import Puppet classes"
|
317
324
|
msgstr ""
|
318
325
|
|
@@ -348,14 +355,30 @@ msgstr ""
|
|
348
355
|
msgid "organization"
|
349
356
|
msgstr ""
|
350
357
|
|
351
|
-
#: ../app/lib/actions/
|
358
|
+
#: ../app/lib/actions/helpers/with_continuous_output.rb:20
|
359
|
+
msgid "Failed to initialize"
|
360
|
+
msgstr ""
|
361
|
+
|
362
|
+
#: ../app/lib/actions/helpers/with_delegated_action.rb:10
|
363
|
+
msgid "No proxy defined for execution"
|
364
|
+
msgstr ""
|
365
|
+
|
366
|
+
#: ../app/lib/actions/helpers/with_delegated_action.rb:15
|
367
|
+
msgid "All proxies with the required feature are unavailable at the moment"
|
368
|
+
msgstr ""
|
369
|
+
|
370
|
+
#: ../app/lib/actions/proxy_action.rb:59
|
352
371
|
msgid "The smart proxy task %s failed."
|
353
372
|
msgstr ""
|
354
373
|
|
355
|
-
#: ../app/lib/actions/proxy_action.rb:
|
374
|
+
#: ../app/lib/actions/proxy_action.rb:73
|
356
375
|
msgid "Cancel enforced: the task might be still running on the proxy"
|
357
376
|
msgstr ""
|
358
377
|
|
378
|
+
#: ../app/lib/actions/proxy_action.rb:114
|
379
|
+
msgid "Initialization error: %s"
|
380
|
+
msgstr ""
|
381
|
+
|
359
382
|
#: ../app/models/foreman_tasks/lock.rb:16
|
360
383
|
msgid "Required lock is already taken by other running tasks."
|
361
384
|
msgstr ""
|
@@ -372,20 +395,24 @@ msgstr ""
|
|
372
395
|
msgid "Conflicts with tasks:"
|
373
396
|
msgstr ""
|
374
397
|
|
375
|
-
#: ../app/models/foreman_tasks/recurring_logic.rb:
|
398
|
+
#: ../app/models/foreman_tasks/recurring_logic.rb:96
|
376
399
|
msgid "Active"
|
377
400
|
msgstr ""
|
378
401
|
|
379
|
-
#: ../app/models/foreman_tasks/recurring_logic.rb:
|
402
|
+
#: ../app/models/foreman_tasks/recurring_logic.rb:98
|
380
403
|
msgid "Cancelled"
|
381
404
|
msgstr ""
|
382
405
|
|
383
|
-
#: ../app/models/foreman_tasks/recurring_logic.rb:
|
406
|
+
#: ../app/models/foreman_tasks/recurring_logic.rb:100
|
384
407
|
msgid "Finished"
|
385
408
|
msgstr ""
|
386
409
|
|
387
|
-
#: ../app/models/foreman_tasks/
|
388
|
-
msgid "
|
410
|
+
#: ../app/models/foreman_tasks/task.rb:73
|
411
|
+
msgid "Immediate"
|
412
|
+
msgstr ""
|
413
|
+
|
414
|
+
#: ../app/models/foreman_tasks/task.rb:73
|
415
|
+
msgid "Delayed"
|
389
416
|
msgstr ""
|
390
417
|
|
391
418
|
#: ../app/models/foreman_tasks/task_groups/recurring_logic_task_group.rb:10
|
@@ -393,23 +420,35 @@ msgstr ""
|
|
393
420
|
msgid "Recurring logic"
|
394
421
|
msgstr ""
|
395
422
|
|
396
|
-
#: ../app/models/foreman_tasks/triggering.rb:
|
423
|
+
#: ../app/models/foreman_tasks/triggering.rb:27
|
397
424
|
msgid "%{value} is not allowed triggering mode"
|
398
425
|
msgstr ""
|
399
426
|
|
400
|
-
#: ../app/models/foreman_tasks/triggering.rb:
|
427
|
+
#: ../app/models/foreman_tasks/triggering.rb:30
|
401
428
|
msgid "%{value} is not allowed input type"
|
402
429
|
msgstr ""
|
403
430
|
|
404
|
-
#: ../app/models/foreman_tasks/triggering.rb:
|
405
|
-
#: ../app/models/foreman_tasks/triggering.rb:
|
431
|
+
#: ../app/models/foreman_tasks/triggering.rb:32
|
432
|
+
#: ../app/models/foreman_tasks/triggering.rb:34
|
406
433
|
msgid "%{value} is wrong format"
|
407
434
|
msgstr ""
|
408
435
|
|
409
|
-
#: ../app/models/foreman_tasks/triggering.rb:
|
436
|
+
#: ../app/models/foreman_tasks/triggering.rb:58
|
437
|
+
msgid "mode has to be one of %{allowed_modes}"
|
438
|
+
msgstr ""
|
439
|
+
|
440
|
+
#: ../app/models/foreman_tasks/triggering.rb:105
|
441
|
+
msgid "No task could be started"
|
442
|
+
msgstr ""
|
443
|
+
|
444
|
+
#: ../app/models/foreman_tasks/triggering.rb:106
|
410
445
|
msgid "%s is not valid format of cron line"
|
411
446
|
msgstr ""
|
412
447
|
|
448
|
+
#: ../app/models/foreman_tasks/triggering.rb:112
|
449
|
+
msgid "The task could not be started"
|
450
|
+
msgstr ""
|
451
|
+
|
413
452
|
#: ../app/models/setting/foreman_tasks.rb:9
|
414
453
|
msgid "Allow unlocking actions which can have dangerous consequences."
|
415
454
|
msgstr ""
|
@@ -453,7 +492,6 @@ msgid "Set up recurring execution"
|
|
453
492
|
msgstr ""
|
454
493
|
|
455
494
|
#: ../app/views/foreman_tasks/recurring_logics/index.html.erb:1
|
456
|
-
#: ../lib/foreman_tasks/engine.rb:48
|
457
495
|
msgid "Recurring logics"
|
458
496
|
msgstr ""
|
459
497
|
|
@@ -466,7 +504,7 @@ msgstr ""
|
|
466
504
|
#: ../app/views/foreman_tasks/task_groups/recurring_logic_task_groups/_recurring_logic_task_group.html.erb:12
|
467
505
|
#: ../app/views/foreman_tasks/tasks/_errors.html.erb:12
|
468
506
|
#: ../app/views/foreman_tasks/tasks/_running_steps.html.erb:19
|
469
|
-
#: ../app/views/foreman_tasks/tasks/index.html.erb:
|
507
|
+
#: ../app/views/foreman_tasks/tasks/index.html.erb:20
|
470
508
|
msgid "Action"
|
471
509
|
msgstr ""
|
472
510
|
|
@@ -497,11 +535,10 @@ msgstr ""
|
|
497
535
|
|
498
536
|
#: ../app/views/foreman_tasks/recurring_logics/index.html.erb:14
|
499
537
|
#: ../app/views/foreman_tasks/task_groups/recurring_logic_task_groups/_recurring_logic_task_group.html.erb:36
|
500
|
-
#: ../app/views/foreman_tasks/tasks/_details.html.erb:119
|
501
538
|
#: ../app/views/foreman_tasks/tasks/_running_steps.html.erb:24
|
502
539
|
#: ../app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb:5
|
503
540
|
#: ../app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb:4
|
504
|
-
#: ../app/views/foreman_tasks/tasks/index.html.erb:
|
541
|
+
#: ../app/views/foreman_tasks/tasks/index.html.erb:21
|
505
542
|
msgid "State"
|
506
543
|
msgstr ""
|
507
544
|
|
@@ -534,104 +571,84 @@ msgid "Resume"
|
|
534
571
|
msgstr ""
|
535
572
|
|
536
573
|
#: ../app/views/foreman_tasks/tasks/_details.html.erb:17
|
537
|
-
|
538
|
-
|
539
|
-
|
574
|
+
msgid "Parent task"
|
575
|
+
msgstr ""
|
576
|
+
|
577
|
+
#: ../app/views/foreman_tasks/tasks/_details.html.erb:20
|
578
|
+
msgid "Sub tasks"
|
540
579
|
msgstr ""
|
541
580
|
|
542
581
|
#: ../app/views/foreman_tasks/tasks/_details.html.erb:23
|
543
|
-
#: ../app/views/foreman_tasks/tasks/_details.html.erb:
|
544
|
-
#: ../app/views/foreman_tasks/tasks/_details.html.erb:
|
582
|
+
#: ../app/views/foreman_tasks/tasks/_details.html.erb:45
|
583
|
+
#: ../app/views/foreman_tasks/tasks/_details.html.erb:57
|
584
|
+
msgid "Unlock"
|
585
|
+
msgstr ""
|
586
|
+
|
587
|
+
#: ../app/views/foreman_tasks/tasks/_details.html.erb:29
|
588
|
+
#: ../app/views/foreman_tasks/tasks/_details.html.erb:70
|
589
|
+
#: ../app/views/foreman_tasks/tasks/_details.html.erb:82
|
545
590
|
msgid "Force Unlock"
|
546
591
|
msgstr ""
|
547
592
|
|
548
|
-
#: ../app/views/foreman_tasks/tasks/_details.html.erb:
|
593
|
+
#: ../app/views/foreman_tasks/tasks/_details.html.erb:49
|
549
594
|
msgid ""
|
550
595
|
"This will unlock the resources that the task is running against. Please note t"
|
551
596
|
"hat this might lead to inconsistent state and should be used with caution, aft"
|
552
597
|
"er making sure that the task can't be resumed."
|
553
598
|
msgstr ""
|
554
599
|
|
555
|
-
#: ../app/views/foreman_tasks/tasks/_details.html.erb:
|
556
|
-
#: ../app/views/foreman_tasks/tasks/_details.html.erb:
|
600
|
+
#: ../app/views/foreman_tasks/tasks/_details.html.erb:52
|
601
|
+
#: ../app/views/foreman_tasks/tasks/_details.html.erb:77
|
557
602
|
msgid ""
|
558
603
|
"I understand that this may cause harm and have working database backups of all"
|
559
604
|
" backend services."
|
560
605
|
msgstr ""
|
561
606
|
|
562
|
-
#: ../app/views/foreman_tasks/tasks/_details.html.erb:
|
607
|
+
#: ../app/views/foreman_tasks/tasks/_details.html.erb:74
|
563
608
|
msgid ""
|
564
609
|
"Resources will be unlocked and will not prevent other tasks from being run. As"
|
565
610
|
" the task might be still running, it should be avoided to use this unless you "
|
566
611
|
"are really sure the task got stuck"
|
567
612
|
msgstr ""
|
568
613
|
|
569
|
-
#: ../app/views/foreman_tasks/tasks/_details.html.erb:83
|
570
|
-
msgid "Id"
|
571
|
-
msgstr ""
|
572
|
-
|
573
|
-
#: ../app/views/foreman_tasks/tasks/_details.html.erb:87
|
574
|
-
msgid "Label"
|
575
|
-
msgstr ""
|
576
|
-
|
577
614
|
#: ../app/views/foreman_tasks/tasks/_details.html.erb:91
|
578
615
|
#: ../app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb:4
|
579
616
|
msgid "Name"
|
580
617
|
msgstr ""
|
581
618
|
|
582
|
-
#: ../app/views/foreman_tasks/tasks/_details.html.erb:
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
msgid "Execution type"
|
619
|
+
#: ../app/views/foreman_tasks/tasks/_details.html.erb:96
|
620
|
+
#: ../app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb:6
|
621
|
+
#: ../app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb:5
|
622
|
+
#: ../app/views/foreman_tasks/tasks/index.html.erb:22
|
623
|
+
msgid "Result"
|
588
624
|
msgstr ""
|
589
625
|
|
590
|
-
#: ../app/views/foreman_tasks/tasks/_details.html.erb:
|
591
|
-
msgid "
|
626
|
+
#: ../app/views/foreman_tasks/tasks/_details.html.erb:106
|
627
|
+
msgid "Triggered by"
|
592
628
|
msgstr ""
|
593
629
|
|
594
|
-
#: ../app/views/foreman_tasks/tasks/_details.html.erb:
|
595
|
-
msgid "
|
630
|
+
#: ../app/views/foreman_tasks/tasks/_details.html.erb:116
|
631
|
+
msgid "Execution type"
|
596
632
|
msgstr ""
|
597
633
|
|
598
|
-
#: ../app/views/foreman_tasks/tasks/_details.html.erb:
|
599
|
-
#: ../app/views/foreman_tasks/tasks/index.html.erb:
|
634
|
+
#: ../app/views/foreman_tasks/tasks/_details.html.erb:127
|
635
|
+
#: ../app/views/foreman_tasks/tasks/index.html.erb:23
|
600
636
|
msgid "Started at"
|
601
637
|
msgstr ""
|
602
638
|
|
603
|
-
#: ../app/views/foreman_tasks/tasks/_details.html.erb:
|
604
|
-
#: ../app/views/foreman_tasks/tasks/index.html.erb:
|
639
|
+
#: ../app/views/foreman_tasks/tasks/_details.html.erb:131
|
640
|
+
#: ../app/views/foreman_tasks/tasks/index.html.erb:24
|
605
641
|
msgid "Ended at"
|
606
642
|
msgstr ""
|
607
643
|
|
608
|
-
#: ../app/views/foreman_tasks/tasks/_details.html.erb:
|
609
|
-
#: ../app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb:6
|
610
|
-
#: ../app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb:5
|
611
|
-
#: ../app/views/foreman_tasks/tasks/index.html.erb:33
|
612
|
-
msgid "Result"
|
613
|
-
msgstr ""
|
614
|
-
|
615
|
-
#: ../app/views/foreman_tasks/tasks/_details.html.erb:127
|
616
|
-
msgid "Params"
|
617
|
-
msgstr ""
|
618
|
-
|
619
|
-
#: ../app/views/foreman_tasks/tasks/_details.html.erb:132
|
620
|
-
msgid "Parent task"
|
621
|
-
msgstr ""
|
622
|
-
|
623
|
-
#: ../app/views/foreman_tasks/tasks/_details.html.erb:137
|
624
|
-
msgid "Sub tasks"
|
625
|
-
msgstr ""
|
626
|
-
|
627
|
-
#: ../app/views/foreman_tasks/tasks/_details.html.erb:176
|
644
|
+
#: ../app/views/foreman_tasks/tasks/_details.html.erb:179
|
628
645
|
#: ../app/views/foreman_tasks/tasks/_errors.html.erb:20
|
629
646
|
#: ../app/views/foreman_tasks/tasks/_running_steps.html.erb:31
|
630
647
|
msgid "Output"
|
631
648
|
msgstr ""
|
632
649
|
|
633
|
-
#: ../app/views/foreman_tasks/tasks/_details.html.erb:
|
634
|
-
#: ../app/views/foreman_tasks/tasks/show.html.erb:
|
650
|
+
#: ../app/views/foreman_tasks/tasks/_details.html.erb:188
|
651
|
+
#: ../app/views/foreman_tasks/tasks/show.html.erb:95
|
635
652
|
msgid "Errors"
|
636
653
|
msgstr ""
|
637
654
|
|
@@ -652,15 +669,36 @@ msgstr ""
|
|
652
669
|
msgid "Backtrace"
|
653
670
|
msgstr ""
|
654
671
|
|
672
|
+
#: ../app/views/foreman_tasks/tasks/_locks.html.erb:2
|
673
|
+
msgid ""
|
674
|
+
"You can find resource locks on this page. Exclusive lock marked with locked ic"
|
675
|
+
"on means that no other task can use locked resource while this task is running"
|
676
|
+
". Non-exclusive lock marked with unlocked icon means other tasks can access th"
|
677
|
+
"e resource freely, it is only used to indicate the relation of this task with "
|
678
|
+
"the resource"
|
679
|
+
msgstr ""
|
680
|
+
|
655
681
|
#: ../app/views/foreman_tasks/tasks/_raw.html.erb:2
|
682
|
+
msgid "Id"
|
683
|
+
msgstr ""
|
684
|
+
|
685
|
+
#: ../app/views/foreman_tasks/tasks/_raw.html.erb:6
|
686
|
+
msgid "Label"
|
687
|
+
msgstr ""
|
688
|
+
|
689
|
+
#: ../app/views/foreman_tasks/tasks/_raw.html.erb:10
|
690
|
+
msgid "Duration"
|
691
|
+
msgstr ""
|
692
|
+
|
693
|
+
#: ../app/views/foreman_tasks/tasks/_raw.html.erb:14
|
656
694
|
msgid "Raw input"
|
657
695
|
msgstr ""
|
658
696
|
|
659
|
-
#: ../app/views/foreman_tasks/tasks/_raw.html.erb:
|
697
|
+
#: ../app/views/foreman_tasks/tasks/_raw.html.erb:20
|
660
698
|
msgid "Raw output"
|
661
699
|
msgstr ""
|
662
700
|
|
663
|
-
#: ../app/views/foreman_tasks/tasks/_raw.html.erb:
|
701
|
+
#: ../app/views/foreman_tasks/tasks/_raw.html.erb:26
|
664
702
|
msgid "External Id"
|
665
703
|
msgstr ""
|
666
704
|
|
@@ -670,10 +708,12 @@ msgstr ""
|
|
670
708
|
|
671
709
|
#:
|
672
710
|
#: ../app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb:1
|
711
|
+
#: ../lib/foreman_tasks/engine.rb:77
|
673
712
|
msgid "Latest Warning/Error Tasks"
|
674
713
|
msgstr ""
|
675
714
|
|
676
715
|
#: ../app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb:1
|
716
|
+
#: ../lib/foreman_tasks/engine.rb:76
|
677
717
|
msgid "Task Status"
|
678
718
|
msgstr ""
|
679
719
|
|
@@ -682,46 +722,46 @@ msgid "No. of Tasks"
|
|
682
722
|
msgstr ""
|
683
723
|
|
684
724
|
#: ../app/views/foreman_tasks/tasks/index.html.erb:1
|
685
|
-
#: ../lib/foreman_tasks/engine.rb:
|
725
|
+
#: ../lib/foreman_tasks/engine.rb:44
|
686
726
|
msgid "Tasks"
|
687
727
|
msgstr ""
|
688
728
|
|
689
|
-
#: ../app/views/foreman_tasks/tasks/index.html.erb:
|
729
|
+
#: ../app/views/foreman_tasks/tasks/index.html.erb:25
|
690
730
|
msgid "User"
|
691
731
|
msgstr ""
|
692
732
|
|
693
|
-
#: ../app/views/foreman_tasks/tasks/show.html.erb:
|
733
|
+
#: ../app/views/foreman_tasks/tasks/show.html.erb:26
|
694
734
|
msgid "Stop auto-reloading"
|
695
735
|
msgstr ""
|
696
736
|
|
697
|
-
#: ../app/views/foreman_tasks/tasks/show.html.erb:
|
737
|
+
#: ../app/views/foreman_tasks/tasks/show.html.erb:36
|
698
738
|
msgid "Start auto-reloading"
|
699
739
|
msgstr ""
|
700
740
|
|
701
|
-
#: ../app/views/foreman_tasks/tasks/show.html.erb:
|
741
|
+
#: ../app/views/foreman_tasks/tasks/show.html.erb:93
|
702
742
|
msgid "Task"
|
703
743
|
msgstr ""
|
704
744
|
|
705
|
-
#: ../app/views/foreman_tasks/tasks/show.html.erb:
|
745
|
+
#: ../app/views/foreman_tasks/tasks/show.html.erb:94
|
706
746
|
msgid "Running Steps"
|
707
747
|
msgstr ""
|
708
748
|
|
709
|
-
#: ../app/views/foreman_tasks/tasks/show.html.erb:
|
749
|
+
#: ../app/views/foreman_tasks/tasks/show.html.erb:96
|
710
750
|
msgid "Locks"
|
711
751
|
msgstr ""
|
712
752
|
|
713
|
-
#: ../app/views/foreman_tasks/tasks/show.html.erb:
|
753
|
+
#: ../app/views/foreman_tasks/tasks/show.html.erb:97
|
714
754
|
msgid "Raw"
|
715
755
|
msgstr ""
|
716
756
|
|
717
|
-
#: ../lib/foreman_tasks/
|
718
|
-
msgid "
|
757
|
+
#: ../lib/foreman_tasks/dynflow.rb:99
|
758
|
+
msgid "Back to tasks"
|
719
759
|
msgstr ""
|
720
760
|
|
721
|
-
#: ../lib/foreman_tasks/engine.rb:
|
722
|
-
msgid "
|
761
|
+
#: ../lib/foreman_tasks/engine.rb:50
|
762
|
+
msgid "Recurring Logics"
|
723
763
|
msgstr ""
|
724
764
|
|
725
|
-
#: action_names.rb:
|
765
|
+
#: action_names.rb:4
|
726
766
|
msgid "Action with sub plans"
|
727
767
|
msgstr ""
|