continuent-tools-core 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/continuent-tools-core.rb +1 -1
- data/lib/tungsten/common.rb +2 -2
- data/lib/tungsten/exec.rb +4 -4
- 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: 137e115f90e467de22c901b53270885b6e899540
|
4
|
+
data.tar.gz: 57a79bf4c61046a1e51014ee5ebf8067e389d3d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 598db7c4deeeed8a8fa37eca04e074ce334f68720e24604c4fad00eee1e28c5bfb34535333adc8fe7db115eb8655d80ebdb6f253e34a7001d12c65d061696c58
|
7
|
+
data.tar.gz: c4e38fc268470a296f8114cec29158d36a2820691886521d77a30b13684fda8923a3be0f25c28c365b8fa758c7e3e2b47152ef688dbb796fdee461bc6e5bcfab
|
data/lib/tungsten/common.rb
CHANGED
@@ -35,7 +35,7 @@ class CommandError < StandardError
|
|
35
35
|
|
36
36
|
def build_message
|
37
37
|
if @errors == ""
|
38
|
-
errors = "No
|
38
|
+
errors = "No STDERR"
|
39
39
|
else
|
40
40
|
errors = "Errors: #{@errors}"
|
41
41
|
end
|
@@ -55,7 +55,7 @@ class RemoteCommandError < CommandError
|
|
55
55
|
|
56
56
|
def build_message
|
57
57
|
if @errors == ""
|
58
|
-
errors = "No
|
58
|
+
errors = "No STDERR"
|
59
59
|
else
|
60
60
|
errors = "Errors: #{errors}"
|
61
61
|
end
|
data/lib/tungsten/exec.rb
CHANGED
@@ -85,7 +85,7 @@ class TungstenUtil
|
|
85
85
|
original_errors = errors
|
86
86
|
rc = status.exitstatus
|
87
87
|
if errors == ""
|
88
|
-
errors = "No
|
88
|
+
errors = "No STDERR"
|
89
89
|
else
|
90
90
|
errors = "Errors: #{errors}"
|
91
91
|
end
|
@@ -157,7 +157,7 @@ class TungstenUtil
|
|
157
157
|
original_errors = errors
|
158
158
|
rc = status.exitstatus
|
159
159
|
if errors == ""
|
160
|
-
errors = "No
|
160
|
+
errors = "No STDERR"
|
161
161
|
else
|
162
162
|
errors = "Errors: #{errors}"
|
163
163
|
end
|
@@ -220,7 +220,7 @@ class TungstenUtil
|
|
220
220
|
original_errors = errors
|
221
221
|
rc = status.exitstatus
|
222
222
|
if errors == ""
|
223
|
-
errors = "No
|
223
|
+
errors = "No STDERR"
|
224
224
|
else
|
225
225
|
errors = "Errors: #{errors}"
|
226
226
|
end
|
@@ -304,7 +304,7 @@ class TungstenUtil
|
|
304
304
|
rc = nil
|
305
305
|
exit_signal=nil
|
306
306
|
|
307
|
-
connection_error = "Net::SSH was unable to connect to #{host} as #{ssh_user}. Check that #{host} is online, #{ssh_user} exists and your SSH private keyfile or ssh-agent settings. Try adding --net-ssh-option=port=<SSH port number> if you are using an SSH port other than 22. Review
|
307
|
+
connection_error = "Net::SSH was unable to connect to #{host} as #{ssh_user}. Check that #{host} is online, #{ssh_user} exists and your SSH private keyfile or ssh-agent settings. Try adding --net-ssh-option=port=<SSH port number> if you are using an SSH port other than 22. Review http://docs.continuent.com/helpwithsshandtpm for more help on diagnosing SSH problems."
|
308
308
|
begin
|
309
309
|
Net::SSH.start(host, ssh_user, get_ssh_options()) {
|
310
310
|
|ssh|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: continuent-tools-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Continuent
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json_pure
|