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

@@ -27,14 +27,14 @@ file:
/opt/bitnami/nginx/conf/server_blocks/wordpress-server-block.conf:
exists: true
filetype: file
contains:
contents:
- /root\s+/opt/bitnami/wordpress/
- "rewrite ^/bitnami/wordpress(/.*) $1 last;"
# HTTPs vhost should have been properly rendered
/opt/bitnami/nginx/conf/server_blocks/wordpress-https-server-block.conf:
exists: true
filetype: file
contains:
contents:
- /listen \d+ ssl/
- /root\s+/opt/bitnami/wordpress/
- "rewrite ^/bitnami/wordpress(/.*) $1 last;"
@@ -42,7 +42,7 @@ file:
/opt/bitnami/wp-cli/conf/wp-cli.yml:
exists: true
filetype: file
contains:
contents:
- /path.*/opt/bitnami/wordpress/
group:
daemon: