smart_proxy_salt 2.1.4 → 2.1.5
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 +4 -4
- data/lib/smart_proxy_salt/version.rb +1 -1
- data/sbin/upload-salt-reports +9 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e255d683c311800e1fb0f1b7c7b8a41c8ec7bdfd
|
|
4
|
+
data.tar.gz: eacec2c23cb46cffb25c41a844fe4b50be2a5056
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 28524b9c4463caa662bf6492d77ba2f5eb3ee1fd7cd4b1bf2cf8b5c902d8d664fa6155334b8b4743ce7f508dfa68f23c87ca1d44d9f3d61557ed5897c8fb37a6
|
|
7
|
+
data.tar.gz: 05f43fb0b863d48f28f537daa617053ff5427ce84d01c2c35810c5af9ac2e5f461a82282b7062a1081a4253fe481c738ff7bce0f8ca2d4a9ab97ecc1592b668a
|
data/sbin/upload-salt-reports
CHANGED
|
@@ -25,9 +25,17 @@ def salt_config():
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
def get_job(job_id):
|
|
28
|
+
result = run('jobs.lookup_jid', argument=[job_id])
|
|
29
|
+
|
|
30
|
+
# If any minion's results are strings, they're exceptions
|
|
31
|
+
# and should be wrapped in a list like other errors
|
|
32
|
+
for minion, value in result.iteritems():
|
|
33
|
+
if type(value) == str:
|
|
34
|
+
result[minion] = [value]
|
|
35
|
+
|
|
28
36
|
return {'job':
|
|
29
37
|
{
|
|
30
|
-
'result':
|
|
38
|
+
'result': result,
|
|
31
39
|
'function': 'state.highstate',
|
|
32
40
|
'job_id': job_id
|
|
33
41
|
}
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: smart_proxy_salt
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.1.
|
|
4
|
+
version: 2.1.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Moll
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2015-08-
|
|
12
|
+
date: 2015-08-31 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
14
|
description: SaltStack Plug-In for Foreman's Smart Proxy
|
|
15
15
|
email: foreman-dev@googlegroups.com
|