Skip to content
This repository has been archived by the owner on Mar 23, 2019. It is now read-only.

Commit

Permalink
Try again on undefined default
Browse files Browse the repository at this point in the history
  • Loading branch information
ryansb committed Aug 30, 2017
1 parent 48ec7c9 commit 6a9a34e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/roles/validate-build-and-import/templates/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
3 changes: 3 additions & 0 deletions test/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 6a9a34e

Please sign in to comment.