mirror of
https://github.com/bitnami/containers.git
synced 2026-03-21 15:29:05 +08:00
Quote everything inside stdout/contents except regexp (#51956)
Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
This commit is contained in:
committed by
GitHub
parent
07e88872ac
commit
775d7a7e0e
@@ -5,24 +5,24 @@ file:
|
||||
/opt/bitnami/redis-sentinel/etc/sentinel.conf:
|
||||
exists: true
|
||||
contents:
|
||||
- port 26379
|
||||
- bind 0.0.0.0
|
||||
- "port 26379"
|
||||
- "bind 0.0.0.0"
|
||||
- /pidfile.*/opt/bitnami/redis-sentinel/tmp/redis-sentinel.pid/
|
||||
- daemonize no
|
||||
- logfile ""
|
||||
- "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
|
||||
- "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
|
||||
- "libcrypto.so"
|
||||
- "libssl.so"
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user