Files
containers/.vib/redis-sentinel/goss/redis-sentinel.yaml
Carlos Rodríguez Hernández 45d7897631 [bitnami/*] Set new header/owner (#66218)
Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
2024-05-06 15:06:33 +02:00

29 lines
790 B
YAML

# Copyright Broadcom, Inc. All Rights Reserved.
# SPDX-License-Identifier: APACHE-2.0
file:
/opt/bitnami/redis-sentinel/etc/sentinel.conf:
exists: true
contents:
- "port 26379"
- "bind 0.0.0.0"
- /pidfile.*/opt/bitnami/redis-sentinel/tmp/redis-sentinel.pid/
- "daemonize no"
- 'logfile ""'
command:
check-redis-server:
exec: timeout --preserve-status 5 redis-server /opt/bitnami/redis-sentinel/etc/sentinel.conf --sentinel
exit-status: 0
timeout: 10000
stdout:
- "Configuration loaded"
- /monitor.*quorum/
{{ range $binary := .Vars.binaries }}
check-{{ $binary }}-ssl:
exec: ldd /opt/bitnami/redis-sentinel/bin/{{ $binary }}
exit-status: 0
stdout:
- "libcrypto.so"
- "libssl.so"
{{ end }}