foreman_template_tasks 0.2.0 → 0.2.1
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
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d5daab7d4455aab39b89bb89059ca0c07c04fe2b4ac1328d49c3c541a0aa57b
|
4
|
+
data.tar.gz: 482d611ef4338e200ae3ab98c26e7758c36c3124fbc6305999279c21e85f5c04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f38f2c5174cc91c3bbc6cc3b9f5eec73d56cf933a63910f6cabd4fc97c25659d612f71347012144467d6ea1596e6acc83c725961d0657f8fbc2f93c28ae830ab
|
7
|
+
data.tar.gz: c9cb8faacd15d001a7ae4cb5543d32c0d6324b9629b61cec146734789289fa11e0292cc2c64563eb96d5724a1bdffd90a2351b5bc1fb1b39d78211908971c031
|
@@ -21,6 +21,9 @@ module Actions
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def _plan(context: nil, **task_params)
|
24
|
+
# Apparently this can happen?
|
25
|
+
task_params = task_params[:task_params] if task_params.key? :task_params
|
26
|
+
|
24
27
|
input.update context: context
|
25
28
|
input.update task_params: task_params
|
26
29
|
|
@@ -55,7 +58,7 @@ module Actions
|
|
55
58
|
end
|
56
59
|
|
57
60
|
if changes.any?
|
58
|
-
out += "\n\nTemplates changed:\n- " + changes.map { |ch| "#{ch[:type].
|
61
|
+
out += "\n\nTemplates changed:\n- " + changes.map { |ch| "#{ch[:type].camelcase} | #{ch[:name]}" }.join("\n- ")
|
59
62
|
end
|
60
63
|
|
61
64
|
out
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_template_tasks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Olofsson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: foreman-tasks
|