sensu-settings 10.6.0 → 10.7.0
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/validators/client.rb +3 -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: 700c4358f07d653f488dc1342554926f4b71de4c
|
4
|
+
data.tar.gz: fd5485667909f6824cb36a2cd96e94ca002b545d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d96093c2c8f99fb412481776841b4fc3bb1282bf8ba86057ff9959c1544a8950543356aacd83a707e9231a0eb77d98154bbf8920eaa73c837f6e4d906762132c
|
7
|
+
data.tar.gz: 561c0b4f9584fbc5f5a6efd0789d1911a105a4ef4f1df70ca931818685934b42993fdac751a1d73cdf1ab8355204a956590984c304a88334daabbec0086aaa7c
|
@@ -40,7 +40,7 @@ module Sensu
|
|
40
40
|
end
|
41
41
|
|
42
42
|
# Validate client http_socket.
|
43
|
-
# Validates: http_socket (bind, port, user, password)
|
43
|
+
# Validates: http_socket (enabled, bind, port, user, password, protect_all_endpoints)
|
44
44
|
#
|
45
45
|
# @param client [Hash] sensu client definition.
|
46
46
|
def validate_client_http_socket(client)
|
@@ -60,6 +60,8 @@ module Sensu
|
|
60
60
|
must_be_a_string(http_socket[:password]) ||
|
61
61
|
invalid(client, "client http_socket password must be a string")
|
62
62
|
end
|
63
|
+
must_be_boolean_if_set(http_socket[:protect_all_endpoints]) ||
|
64
|
+
invalid(client, "client http_socket protect_all_endpoints must be boolean")
|
63
65
|
end
|
64
66
|
end
|
65
67
|
|
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: 10.
|
4
|
+
version: 10.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Porter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sensu-json
|