right_agent 2.3.2 → 2.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/right_agent/agent.rb +1 -0
- data/lib/right_agent/platform.rb +14 -14
- data/right_agent.gemspec +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: db2a79bd1b9f91f54dfe30ab4652985b70fbc017
|
4
|
+
data.tar.gz: 3635fc09939c5e3b345a4ee8c60bd0dc73d3b71b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 451c64903f263e78b7c5c70d8def94675c4230140d4078f0e86fa04f80930d70dcc0aeaa4e2488bdb7233f6258a1136972b6ba549e5ebc356b6d467169b63c64
|
7
|
+
data.tar.gz: 6acd69a04999f183c921bd882ad304edfcda40841e4c7e5f4c79a2e28b56bbb271ea43f39228d8a4a6232357369efd670d0cb92fbb8d5037f624f97a879ed518
|
data/lib/right_agent/agent.rb
CHANGED
@@ -91,6 +91,7 @@ module RightScale
|
|
91
91
|
# Value :no_trace means no backtrace and no tracking in stats or reporting to Errbit
|
92
92
|
TRACE_LEVEL = {
|
93
93
|
RightSupport::Net::NoResult => :no_trace,
|
94
|
+
RightScale::HttpExceptions::RequestTimeout => :no_trace,
|
94
95
|
RightScale::Exceptions::ConnectivityFailure => :no_trace,
|
95
96
|
RightScale::BalancedHttpClient::NotResponding => :no_trace,
|
96
97
|
RightAMQP::HABrokerClient::NoConnectedBrokers => :no_trace
|
data/lib/right_agent/platform.rb
CHANGED
@@ -248,6 +248,20 @@ unless defined?(RightScale::Platform)
|
|
248
248
|
output_text
|
249
249
|
end
|
250
250
|
|
251
|
+
# Determines which cloud we're on by the cheap but simple expedient of
|
252
|
+
# reading the RightScale cloud file.
|
253
|
+
#
|
254
|
+
# @deprecated leverage the right_link cloud libraries for any cloud-
|
255
|
+
# specific behavior because the behavior of all possible clouds is
|
256
|
+
# beyond the scope of hard-coded case statements.
|
257
|
+
#
|
258
|
+
# @return [String] cloud type or nil
|
259
|
+
def resolve_cloud_type
|
260
|
+
cloud_file_path = ::File.join(self.filesystem.right_scale_static_state_dir, 'cloud')
|
261
|
+
@cloud_type = ::File.read(cloud_file_path) rescue nil
|
262
|
+
@cloud_type
|
263
|
+
end
|
264
|
+
|
251
265
|
# Base class for platform helpers.
|
252
266
|
class PlatformHelperBase
|
253
267
|
|
@@ -745,20 +759,6 @@ unless defined?(RightScale::Platform)
|
|
745
759
|
return res
|
746
760
|
end
|
747
761
|
|
748
|
-
# Determines which cloud we're on by the cheap but simple expedient of
|
749
|
-
# reading the RightScale cloud file.
|
750
|
-
#
|
751
|
-
# @deprecated leverage the right_link cloud libraries for any cloud-
|
752
|
-
# specific behavior because the behavior of all possible clouds is
|
753
|
-
# beyond the scope of hard-coded case statements.
|
754
|
-
#
|
755
|
-
# @return [String] cloud type or nil
|
756
|
-
def resolve_cloud_type
|
757
|
-
cloud_file_path = ::File.join(self.filesystem.right_scale_static_state_dir, 'cloud')
|
758
|
-
@cloud_type = ::File.read(cloud_file_path) rescue nil
|
759
|
-
@cloud_type
|
760
|
-
end
|
761
|
-
|
762
762
|
end # Platform
|
763
763
|
|
764
764
|
end # RightScale
|
data/right_agent.gemspec
CHANGED
@@ -25,8 +25,8 @@ require 'rbconfig'
|
|
25
25
|
|
26
26
|
Gem::Specification.new do |spec|
|
27
27
|
spec.name = 'right_agent'
|
28
|
-
spec.version = '2.3.
|
29
|
-
spec.date = '2014-
|
28
|
+
spec.version = '2.3.3'
|
29
|
+
spec.date = '2014-07-08'
|
30
30
|
spec.authors = ['Lee Kirchhoff', 'Raphael Simon', 'Tony Spataro', 'Scott Messier']
|
31
31
|
spec.email = 'lee@rightscale.com'
|
32
32
|
spec.homepage = 'https://github.com/rightscale/right_agent'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: right_agent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lee Kirchhoff
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2014-
|
14
|
+
date: 2014-07-08 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: right_support
|