|
14 | 14 | # The main redis port. |
15 | 15 | # $ports |
16 | 16 | # Array of redis ports: overrides port (optional) |
| 17 | +# $ssl |
| 18 | +# Enable SSL/TLS encryption for the check (optional) |
| 19 | +# $ssl_keyfile |
| 20 | +# The path to the client-side private keyfile (optional) |
| 21 | +# $ssl_certfile |
| 22 | +# The path to the client-side certificate file (optional) |
| 23 | +# $ssl_ca_certs |
| 24 | +# The path to the ca_certs file (optional) |
| 25 | +# $ssl_cert_reqs |
| 26 | +# Specifies whether a certificate is required from the |
| 27 | +# other side of the connection, and whether it's validated if provided (optional) |
| 28 | +# * 0 for ssl.CERT_NONE (certificates ignored) |
| 29 | +# * 1 for ssl.CERT_OPTIONAL (not required, but validated if provided) |
| 30 | +# * 2 for ssl.CERT_REQUIRED (required and validated) |
17 | 31 | # $slowlog_max_len |
18 | 32 | # The max length of the slow-query log (optional) |
19 | 33 | # $tags |
|
48 | 62 | String $password = '', |
49 | 63 | Variant[String, Integer] $port = '6379', |
50 | 64 | Optional[Array] $ports = undef, |
| 65 | + Boolean $ssl = false, |
| 66 | + String $ssl_keyfile = '', |
| 67 | + String $ssl_certfile = '', |
| 68 | + String $ssl_ca_certs = '', |
| 69 | + Optional[Integer] $ssl_cert_reqs = undef, |
51 | 70 | Variant[String, Integer] $slowlog_max_len = '', |
52 | 71 | Array $tags = [], |
53 | 72 | Array $keys = [], |
|
69 | 88 | 'host' => $host, |
70 | 89 | 'password' => $password, |
71 | 90 | 'port' => $instance_port, |
| 91 | + 'ssl' => $ssl, |
| 92 | + 'ssl_keyfile' => $ssl_keyfile, |
| 93 | + 'ssl_certfile' => $ssl_certfile, |
| 94 | + 'ssl_ca_certs' => $ssl_ca_certs, |
| 95 | + 'ssl_cert_reqs' => $ssl_cert_reqs, |
72 | 96 | 'slowlog_max_len' => $slowlog_max_len, |
73 | 97 | 'tags' => $tags, |
74 | 98 | 'keys' => $keys, |
|
0 commit comments