sensu-settings 9.1.0 → 9.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sensu/settings/loader.rb +2 -1
- data/sensu-settings.gemspec +1 -1
- 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: c312fe827838bf8d652576ee297c42b9c19b34f9
|
4
|
+
data.tar.gz: 138febf267d3d57c7e5dbc39fcf0a136cfd98067
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45db8d589b3f1555b172551231837ce1d3f65aabaafee7cbf8fa82a84112b3b69def777d82004bbca206242006c3b3fa84a598b4cbfb408867d02831f75feaa9
|
7
|
+
data.tar.gz: 338fc19728d71566ba32e5bf7ff8224af86560bd2620f2b6e4a7865ed43d236cdfd6a4aa14590437ee8b61232285fb9c05c9ccb1b5f4aa28baadfb681d3f19e6
|
@@ -174,6 +174,7 @@ module Sensu
|
|
174
174
|
# * Ensuring client subscriptions include a single subscription based on the
|
175
175
|
# client name, e.g "client:i-424242".
|
176
176
|
def load_client_overrides
|
177
|
+
@settings[:client] ||= {}
|
177
178
|
@settings[:client][:subscriptions] ||= []
|
178
179
|
@settings[:client][:subscriptions] << "client:#{@settings[:client][:name]}"
|
179
180
|
@settings[:client][:subscriptions].uniq!
|
@@ -183,7 +184,7 @@ module Sensu
|
|
183
184
|
# Load overrides, i.e. settings which should always be present.
|
184
185
|
# Examples include client settings overrides which ensure a per-client subscription.
|
185
186
|
def load_overrides!
|
186
|
-
load_client_overrides
|
187
|
+
load_client_overrides if ["client", "rspec"].include?(sensu_service_name)
|
187
188
|
end
|
188
189
|
|
189
190
|
# Set Sensu settings related environment variables. This method
|
data/sensu-settings.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-settings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.1.
|
4
|
+
version: 9.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Porter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sensu-json
|