smart_proxy_remote_execution_ssh 0.11.3 → 0.11.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
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ead6302544ae91969998c23632555b663222db89f47373124bb9be26a22e6f03
|
4
|
+
data.tar.gz: f84f4e02c28df57599852178c8d614a787d912c07480bf575642ab4d059767ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8951dd6d776ac92b65f0b63fc74f91aa903ec7f535186b82a073c8746ed50f749b393c441464fa31e565b5d4cce86b071c0e203d23de1a6cf9f08251f812ce2a
|
7
|
+
data.tar.gz: 42d4665bf10a47ed64052349530d87b747589c2beee1d7b64ca11b26e43abcc4094b4b2f5ce77207390387df3ecec57b190898c0ee8d2430da78aaea569ac8ec
|
@@ -97,7 +97,7 @@ module Proxy::RemoteExecution::Ssh::Actions
|
|
97
97
|
type = update['type']
|
98
98
|
case type
|
99
99
|
when 'output'
|
100
|
-
continuous_output.add_output(update['content'], update['stream'], time)
|
100
|
+
continuous_output.add_output(update['content'], update['stream'], timestamp: time)
|
101
101
|
when 'exit'
|
102
102
|
exit_code = update['exit_code'].to_i
|
103
103
|
else
|
@@ -191,6 +191,11 @@ module Proxy::RemoteExecution::Ssh::Runners
|
|
191
191
|
#{@user_method.cli_command_prefix}#{su_method ? "'exec #{@remote_script} < /dev/null '" : "#{@remote_script} < /dev/null"}
|
192
192
|
echo \$? >#{@exit_code_path}
|
193
193
|
) | tee #{@output_path}
|
194
|
+
if [ -f #{@exit_code_path} ] && [ $(wc -l < #{@exit_code_path}) -gt 0 ]; then
|
195
|
+
exit $(cat #{@exit_code_path})
|
196
|
+
else
|
197
|
+
exit 1
|
198
|
+
fi
|
194
199
|
else
|
195
200
|
UNSHARE=''
|
196
201
|
if #{UNSHARE_PREFIX} true >/dev/null 2>/dev/null; then
|
metadata
CHANGED
@@ -1,57 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smart_proxy_remote_execution_ssh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.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: 2024-
|
11
|
+
date: 2024-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: bundler
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: rake
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
30
16
|
requirements:
|
31
|
-
- - "
|
17
|
+
- - "~>"
|
32
18
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
19
|
+
version: '13.0'
|
34
20
|
type: :development
|
35
21
|
prerelease: false
|
36
22
|
version_requirements: !ruby/object:Gem::Requirement
|
37
23
|
requirements:
|
38
|
-
- - "
|
24
|
+
- - "~>"
|
39
25
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
26
|
+
version: '13.0'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: minitest
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
44
30
|
requirements:
|
45
|
-
- - "
|
31
|
+
- - "~>"
|
46
32
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
33
|
+
version: '5.23'
|
48
34
|
type: :development
|
49
35
|
prerelease: false
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
51
37
|
requirements:
|
52
|
-
- - "
|
38
|
+
- - "~>"
|
53
39
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
40
|
+
version: '5.23'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: mocha
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,42 +100,48 @@ dependencies:
|
|
114
100
|
requirements:
|
115
101
|
- - "~>"
|
116
102
|
- !ruby/object:Gem::Version
|
117
|
-
version: '0.
|
103
|
+
version: '0.9'
|
104
|
+
- - ">="
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
version: 0.9.4
|
118
107
|
type: :runtime
|
119
108
|
prerelease: false
|
120
109
|
version_requirements: !ruby/object:Gem::Requirement
|
121
110
|
requirements:
|
122
111
|
- - "~>"
|
123
112
|
- !ruby/object:Gem::Version
|
124
|
-
version: '0.
|
113
|
+
version: '0.9'
|
114
|
+
- - ">="
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: 0.9.4
|
125
117
|
- !ruby/object:Gem::Dependency
|
126
118
|
name: net-ssh
|
127
119
|
requirement: !ruby/object:Gem::Requirement
|
128
120
|
requirements:
|
129
|
-
- - "
|
121
|
+
- - "~>"
|
130
122
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
123
|
+
version: '7.2'
|
132
124
|
type: :runtime
|
133
125
|
prerelease: false
|
134
126
|
version_requirements: !ruby/object:Gem::Requirement
|
135
127
|
requirements:
|
136
|
-
- - "
|
128
|
+
- - "~>"
|
137
129
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
130
|
+
version: '7.2'
|
139
131
|
- !ruby/object:Gem::Dependency
|
140
132
|
name: mqtt
|
141
133
|
requirement: !ruby/object:Gem::Requirement
|
142
134
|
requirements:
|
143
|
-
- - "
|
135
|
+
- - "~>"
|
144
136
|
- !ruby/object:Gem::Version
|
145
|
-
version: '0'
|
137
|
+
version: '0.5'
|
146
138
|
type: :runtime
|
147
139
|
prerelease: false
|
148
140
|
version_requirements: !ruby/object:Gem::Requirement
|
149
141
|
requirements:
|
150
|
-
- - "
|
142
|
+
- - "~>"
|
151
143
|
- !ruby/object:Gem::Version
|
152
|
-
version: '0'
|
144
|
+
version: '0.5'
|
153
145
|
description: " Ssh remote execution provider for Foreman Smart-Proxy\n"
|
154
146
|
email:
|
155
147
|
- inecas@redhat.com
|
@@ -189,7 +181,7 @@ files:
|
|
189
181
|
- settings.d/remote_execution_ssh.yml.example
|
190
182
|
homepage: https://github.com/theforeman/smart_proxy_remote_execution_ssh
|
191
183
|
licenses:
|
192
|
-
- GPL-3.0
|
184
|
+
- GPL-3.0-only
|
193
185
|
metadata: {}
|
194
186
|
post_install_message:
|
195
187
|
rdoc_options: []
|
@@ -199,14 +191,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
199
191
|
requirements:
|
200
192
|
- - ">="
|
201
193
|
- !ruby/object:Gem::Version
|
202
|
-
version:
|
194
|
+
version: 2.7.0
|
203
195
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
204
196
|
requirements:
|
205
197
|
- - ">="
|
206
198
|
- !ruby/object:Gem::Version
|
207
199
|
version: '0'
|
208
200
|
requirements: []
|
209
|
-
rubygems_version: 3.3.
|
201
|
+
rubygems_version: 3.3.27
|
210
202
|
signing_key:
|
211
203
|
specification_version: 4
|
212
204
|
summary: Ssh remote execution provider for Foreman Smart-Proxy
|