Files
containers/.vib/prestashop/goss/prestashop.yaml
Carlos Rodríguez Hernández 45d7897631 [bitnami/*] Set new header/owner (#66218)
Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
2024-05-06 15:06:33 +02:00

49 lines
1.3 KiB
YAML

# Copyright Broadcom, Inc. All Rights Reserved.
# SPDX-License-Identifier: APACHE-2.0
command:
check-app-version:
exec: grep -Eo "'_PS_INSTALL_VERSION_', '[^']*'" /opt/bitnami/prestashop/install/install_version.php
exit-status: 0
stdout:
- "{{ .Env.APP_VERSION }}"
check-enabled-modules:
exec: php -m
exit-status: 0
stdout:
{{ range $module := .Vars.phpmodules }}
- "{{ $module }}"
{{ end }}
file:
/opt/bitnami/php/etc/php.ini:
exists: true
filetype: file
contents:
- "post_max_size = 128M"
- "upload_max_filesize = 128M"
# Ensure that .htaccess file contents have not been moved to /opt/bitnami/apache/conf/vhosts/htaccess
/opt/bitnami/prestashop/app/.htaccess:
exists: true
filetype: file
contents:
- "Require all denied"
# HTTP vhost should have been properly rendered
/opt/bitnami/apache/conf/vhosts/prestashop-vhost.conf:
exists: true
filetype: file
contents:
- /DocumentRoot.*/opt/bitnami/prestashop/
# HTTPS vhost should have been properly rendered
/opt/bitnami/apache/conf/vhosts/prestashop-https-vhost.conf:
exists: true
filetype: file
contents:
- "SSLEngine on"
- /DocumentRoot.*/opt/bitnami/prestashop/
group:
daemon:
exists: true
user:
daemon:
exists: true