Quote everything inside stdout/contents except regexp (#51956)

Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
This commit is contained in:
Carlos Rodríguez Hernández
2023-10-18 16:38:08 +02:00
committed by GitHub
parent 07e88872ac
commit 775d7a7e0e
78 changed files with 144 additions and 144 deletions

View File

@@ -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 }}