diff --git a/test/roles/validate-build-and-import/templates/Dockerfile.j2 b/test/roles/validate-build-and-import/templates/Dockerfile.j2 index 8b3bfbc6..9e7923e7 100644 --- a/test/roles/validate-build-and-import/templates/Dockerfile.j2 +++ b/test/roles/validate-build-and-import/templates/Dockerfile.j2 @@ -25,11 +25,11 @@ RUN ["chmod", "755", "/usr/sbin/dumb-init"] # I am defaults ARG apache_port=8000 -ARG apache_pid_file={{ distro.httpd_pid_file }} -ARG apache_run_user={{ distro.httpd_user }} -ARG apache_run_group={{ distro.httpd_run_group }} -ARG apache_log_dir={{ distro.httpd_logdir }} -ARG apache_lock_dir={{ distro.httpd_lock_dir }} +ARG apache_pid_file={{ distro.template.httpd_pid_file }} +ARG apache_run_user={{ distro.template.httpd_user }} +ARG apache_run_group={{ distro.template.httpd_run_group }} +ARG apache_log_dir={{ distro.template.httpd_logdir }} +ARG apache_lock_dir={{ distro.template.httpd_lock_dir }} ENV APACHE_PORT=${apache_port} ENV APACHE_PID_FILE=${apache_pid_file} ENV APACHE_RUN_USER=${apache_run_user} diff --git a/test/run_tests.yml b/test/run_tests.yml index 6a43df9a..2977c52b 100644 --- a/test/run_tests.yml +++ b/test/run_tests.yml @@ -14,6 +14,7 @@ httpd_pageroot: "/var/www/html/" httpd_logdir: "/var/log/httpd" httpd_rundir: "/run/httpd" + httpd_pid_file: "/run/httpd/httpd.pid" httpd_bin: "/usr/sbin/httpd" httpd_user: "apache" debian: &debian @@ -24,6 +25,7 @@ httpd_pageroot: "/var/www/html/" httpd_logdir: "/var/log/apache2" httpd_rundir: "/run/apache2" + httpd_pid_file: "/var/run/apache2/apache2.pid" httpd_bin: "/usr/sbin/apache2" httpd_user: "www-data" alpine: &alpine @@ -34,6 +36,7 @@ httpd_pageroot: "/var/www/localhost/htdocs/" httpd_logdir: "/var/log/httpd" httpd_rundir: "/run/apache2" + httpd_pid_file: "/run/apache2/apache2.pid" httpd_bin: "/usr/sbin/httpd" httpd_user: "apache" distros: