Files
containers/.vib/common/goss/templates/check-apache-libphp.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

30 lines
789 B
YAML

# Copyright Broadcom, Inc. All Rights Reserved.
# SPDX-License-Identifier: APACHE-2.0
########################
# Test coverage for apache-libphp package
# Needed vars:
# - None
########################
command:
# Check explicitly enabled and disabled modules
check-apache-libphp-loaded-modules:
exec: apachectl -M
exit-status: 0
stdout:
- "php_module"
- "mpm_prefork_module"
- "!mpm_event_module"
file:
/opt/bitnami/apache/conf/httpd.conf:
exists: true
filetype: file
contents:
- "Include \"/opt/bitnami/apache/conf/bitnami/php.conf\""
/opt/bitnami/apache/conf/bitnami/php.conf:
exists: true
filetype: file
contents:
- "AddType application/x-httpd-php .php"
- "DirectoryIndex index.html index.htm index.php"