Update Goss scripts making it compatible with Goss 4 (#51894)

Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
This commit is contained in:
Carlos Rodríguez Hernández
2023-10-17 18:02:23 +02:00
committed by GitHub
parent b10a2ba35b
commit 3a07ef0579
54 changed files with 111 additions and 111 deletions

View File

@@ -5,7 +5,7 @@ file:
/opt/bitnami/sonarqube/bin/linux-x86-64/sonar.sh:
exists: true
filetype: file
contains:
contents:
{{ if regexMatch "^8.+" .Env.APP_VERSION }}
- "PIDDIR=\"../../pids\""
{{ else if regexMatch "^9.+" .Env.APP_VERSION }}
@@ -16,7 +16,7 @@ file:
/opt/bitnami/sonarqube/conf/wrapper.conf:
exists: true
filetype: file
contains:
contents:
- "wrapper.logfile.rollmode=NONE"
{{ end }}
group: