foreman-tasks 0.13.3 → 0.13.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fac96114cba4bed5007f60b44da68f30a3660951
|
|
4
|
+
data.tar.gz: ad625aafcc0ef55569672bd5864813555051c9ff
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2fe01c9e536d2b991bd452e226935e4832945d92b34e184226dddfd1ddc3f33588ec11ebb4b93ae24a50b772eba0e715d9744a11c6b3edef6907ebebd20bdb27
|
|
7
|
+
data.tar.gz: 22d258e052528cf2d9ff5f2c3579e9c5bb4c83eb719722edd344b187631d1d74b3bb50d1ccb5d8d64645a3c94a49e2bc0fd3f0a8b5caea14e544c4c700e0527a
|
|
@@ -39,13 +39,13 @@ module ForemanTasks
|
|
|
39
39
|
# the host record for these update and update! methods.
|
|
40
40
|
def update(*args)
|
|
41
41
|
assign_attributes(*args)
|
|
42
|
-
dynflow_task_wrap(:save) {
|
|
42
|
+
dynflow_task_wrap(:save) { save }
|
|
43
43
|
end
|
|
44
44
|
alias update_attributes update
|
|
45
45
|
|
|
46
46
|
def update!(*args)
|
|
47
47
|
assign_attributes(*args)
|
|
48
|
-
dynflow_task_wrap(:save) {
|
|
48
|
+
dynflow_task_wrap(:save) { save! }
|
|
49
49
|
end
|
|
50
50
|
alias update_attributes! update!
|
|
51
51
|
|
|
@@ -79,6 +79,7 @@ module ForemanTasks
|
|
|
79
79
|
:states => ['stopped'],
|
|
80
80
|
:backup_dir => ForemanTasks.dynflow.world.persistence.current_backup_dir }
|
|
81
81
|
options = default_options.merge(options)
|
|
82
|
+
Foreman::Logging.logger('foreman-tasks').info("Running foreman-tasks cleaner with options #{options.inspect}")
|
|
82
83
|
|
|
83
84
|
@filter = options[:filter]
|
|
84
85
|
@after = parse_time_interval(options[:after])
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: foreman-tasks
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.13.
|
|
4
|
+
version: 0.13.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ivan Nečas
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-07-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: foreman-tasks-core
|