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

@@ -19,11 +19,11 @@ file:
/opt/bitnami/apache/conf/httpd.conf:
exists: true
filetype: file
contains:
contents:
- "Include \"/opt/bitnami/apache/conf/bitnami/php.conf\""
/opt/bitnami/apache/conf/bitnami/php.conf:
exists: true
filetype: file
contains:
contents:
- "AddType application/x-httpd-php .php"
- "DirectoryIndex index.html index.htm index.php"

View File

@@ -10,7 +10,7 @@ file:
/opt/bitnami/nginx/conf/bitnami/php-fpm.conf:
exists: true
filetype: file
contains:
contents:
- "location ~ \\.php$ {"
- "fastcgi_pass unix:/opt/bitnami/php/var/run/www.sock;"
- "include fastcgi_params;"

View File

@@ -9,7 +9,7 @@
file:
/opt/bitnami/php/etc/php.ini:
exists: true
contains:
contents:
- /^opcache.interned_strings_buffer = 16/
- /^opcache.memory_consumption = 192/
- /^opcache.file_cache = \/opt\/bitnami\/php\/var\/run\/opcache_file/
@@ -18,7 +18,7 @@ file:
- /^error_log = \/dev\/stderr/
/opt/bitnami/php/etc/php-fpm.d/www.conf:
exists: true
contains:
contents:
- /^listen = \/opt\/bitnami\/php\/var\/run\/www.sock/
/opt/bitnami/php/logs/php-fpm.log:
exists: true