infinum_graylog 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/infinum_graylog/configuration.rb +3 -2
- data/lib/infinum_graylog/subscriber.rb +1 -1
- data/lib/infinum_graylog/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d77abe9042c4609bc0bf38fe857bdc779f4b197d44bec929263aad9a493c299b
|
4
|
+
data.tar.gz: 44d03c7399bd6d8baecb0638844372480cb1c99b2ae6bc1dc3b5bb152ba6e2df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 664223ef7cde5c88db3fda9c566f5a5e1759cf40265c4970a5f288c27bae6b766af19aa4a19e5898eeb5abfcdd953bcce339f116c44c3442d81adf084f62077e
|
7
|
+
data.tar.gz: 775e877d401dc28581d0de8842e29771fb15a4d5cad21d06d7d5d8d38e16fe0d57b9b0af2b5e823a10d3726d63a07fc704a14d7742f45d14d36722373b80c2eb
|
@@ -18,8 +18,9 @@ module InfinumGraylog
|
|
18
18
|
@level = GELF::Levels::INFO
|
19
19
|
@options = {
|
20
20
|
tls: {
|
21
|
-
cert
|
22
|
-
key
|
21
|
+
'cert' => '/etc/ssl/private/graylog/graylog.crt',
|
22
|
+
'key' => '/etc/ssl/private/graylog/graylog.key',
|
23
|
+
'all_ciphers' => true
|
23
24
|
}
|
24
25
|
}
|
25
26
|
@host = 'dreznik.infinum.co'
|
@@ -21,7 +21,7 @@ module InfinumGraylog
|
|
21
21
|
tls_configuration = InfinumGraylog.configuration.options[:tls]
|
22
22
|
|
23
23
|
tls_configuration.present? &&
|
24
|
-
File.exist?(tls_configuration[
|
24
|
+
File.exist?(tls_configuration['cert']) && File.exist?(tls_configuration['key'])
|
25
25
|
end
|
26
26
|
end
|
27
27
|
end
|