smart_proxy_salt 2.1.2 → 2.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/smart_proxy_salt/version.rb +1 -1
- data/sbin/upload-salt-reports +2 -2
- 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: d15fe2508ee99c58a798d2cf39d04dd6fc749cd8
|
4
|
+
data.tar.gz: 78ebaa24b7338afd2a30526c8431bd52f81fa076
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32e445e92f05873b8a2bf12dfa75f2e36897ebef71bdefd72f93fde95732a1e358c067014822c158d108e2da2e391048842fa859dda3541e9b4959f756940ede
|
7
|
+
data.tar.gz: 9a6051bf090fbec06ac024047cf44dc1ee58aaf3c2c7864d56a444fbada24a8fb8c2eec498978323f0033a440ce2050839890add632878e6f3ccf39012c4d365
|
data/sbin/upload-salt-reports
CHANGED
@@ -52,7 +52,7 @@ def write_last_uploaded(last_uploaded):
|
|
52
52
|
f.write(last_uploaded)
|
53
53
|
|
54
54
|
|
55
|
-
def run(function, argument=
|
55
|
+
def run(function, argument=[]):
|
56
56
|
__opts__ = salt.config.master_config(
|
57
57
|
os.environ.get('SALT_MASTER_CONFIG', '/etc/salt/master'))
|
58
58
|
|
@@ -62,7 +62,7 @@ def run(function, argument={}):
|
|
62
62
|
sys.stdout = f
|
63
63
|
ret = runner.cmd(function, argument)
|
64
64
|
sys.stdout = stdout_bak
|
65
|
-
return ret
|
65
|
+
return ret['data'] if 'data' in ret else ret
|
66
66
|
|
67
67
|
|
68
68
|
def jobs_to_upload():
|
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.3
|
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-
|
12
|
+
date: 2015-06-25 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
|