continuent-tools-core 0.5.0 → 0.6.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 256816c02fae6a3705e6ebccdff65da094570a94
4
- data.tar.gz: 9ce21782909d9e01f599191e51fceb9dd9c942e5
3
+ metadata.gz: 137e115f90e467de22c901b53270885b6e899540
4
+ data.tar.gz: 57a79bf4c61046a1e51014ee5ebf8067e389d3d6
5
5
  SHA512:
6
- metadata.gz: fbf0c48597aedd4672accc6b5ed353604a488978b27500902a928df6d7c3e2bd859c682daf16a74345524ff08501dfbb3692b2a6573586c8ef025ef38e116241
7
- data.tar.gz: 05cd1d15c8ba0bd16d46ac0aaf0564fe5187c1031e418befed059d3ac1329b7413d86487ea049bb914cf368dedfa7fbd72c2c176329d6dad79a51626587fad95
6
+ metadata.gz: 598db7c4deeeed8a8fa37eca04e074ce334f68720e24604c4fad00eee1e28c5bfb34535333adc8fe7db115eb8655d80ebdb6f253e34a7001d12c65d061696c58
7
+ data.tar.gz: c4e38fc268470a296f8114cec29158d36a2820691886521d77a30b13684fda8923a3be0f25c28c365b8fa758c7e3e2b47152ef688dbb796fdee461bc6e5bcfab
@@ -115,7 +115,7 @@ class TungstenUtil
115
115
  original_errors = errors
116
116
  rc = status.exitstatus
117
117
  if errors == ""
118
- errors = "No Errors"
118
+ errors = "No STDERR"
119
119
  else
120
120
  errors = "Errors: #{errors}"
121
121
  end
@@ -35,7 +35,7 @@ class CommandError < StandardError
35
35
 
36
36
  def build_message
37
37
  if @errors == ""
38
- errors = "No Errors"
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 Errors"
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 Errors"
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 Errors"
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 Errors"
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 https://docs.continuent.com/wiki/display/TEDOC/Unable+to+use+the+tpm+command+over+SSH for more help on diagnosing SSH problems."
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.5.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-08-14 00:00:00.000000000 Z
11
+ date: 2014-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json_pure