foreman-tasks-core 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 7ed79b3e3352fb7ea1fcb798fd4498514807289d642d55eee9e6a371638889b4
|
4
|
+
data.tar.gz: a2bc83a4d0d3e3f977ddf34a88e9d50be589f4b1d9977853acd162c7a4c3d216
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a06f4cd323183c182c63cc491805c796dce8ef01af1e947f69382ef44916ad5880134daa1ad780b093dcd443f782997383e7926c2d8635b6463047e393b6420c
|
7
|
+
data.tar.gz: 6242f08a2e763c09973ea93813a50e2369b1f406a3041e10503f4ce5299cbdf9a1723071d058466ebe4c7622b8578f3e47f99396f1e54d94a82f74e3a01e91b2
|
@@ -11,9 +11,15 @@ module ForemanTasksCore
|
|
11
11
|
|
12
12
|
planned_action = plan_self(input)
|
13
13
|
# code only applicable, when run with SmartProxyDynflowCore in place
|
14
|
-
if
|
14
|
+
if on_proxy? && callback
|
15
15
|
plan_action(SmartProxyDynflowCore::Callback::Action, callback, planned_action.output)
|
16
16
|
end
|
17
17
|
end
|
18
|
+
|
19
|
+
private
|
20
|
+
|
21
|
+
def on_proxy?
|
22
|
+
defined?(SmartProxyDynflowCore::Callback)
|
23
|
+
end
|
18
24
|
end
|
19
25
|
end
|
metadata
CHANGED
@@ -1,17 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman-tasks-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
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:
|
11
|
+
date: 2018-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description:
|
14
|
-
|
13
|
+
description: 'Common code used both at Forman and Foreman proxy regarding tasks
|
14
|
+
|
15
|
+
'
|
15
16
|
email:
|
16
17
|
- inecas@redhat.com
|
17
18
|
executables: []
|
@@ -51,7 +52,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
51
52
|
version: '0'
|
52
53
|
requirements: []
|
53
54
|
rubyforge_project:
|
54
|
-
rubygems_version: 2.
|
55
|
+
rubygems_version: 2.7.3
|
55
56
|
signing_key:
|
56
57
|
specification_version: 4
|
57
58
|
summary: Common code used both at Forman and Foreman proxy regarding tasks
|