Commit 38502cbb by Feanil Patel

Make cookiecutter allow extra debian pkgs.

parent b2377f00
...@@ -98,6 +98,8 @@ ...@@ -98,6 +98,8 @@
{{ role_name|upper }}_HOSTNAME: '~^((stage|prod)-)?{{ role_name|replace('_', '-') }}.*' {{ role_name|upper }}_HOSTNAME: '~^((stage|prod)-)?{{ role_name|replace('_', '-') }}.*'
{{ role_name|upper }}_DEBIAN_EXTRA_PKGS: []
nginx_{{ role_name }}_gunicorn_hosts: nginx_{{ role_name }}_gunicorn_hosts:
- 127.0.0.1 - 127.0.0.1
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# This allows the dockerfile to update /edx/app/edx_ansible/edx_ansible # This allows the dockerfile to update /edx/app/edx_ansible/edx_ansible
# with the currently checked-out configuration repo. # with the currently checked-out configuration repo.
FROM edxops/trusty-common:latest FROM edxops/xenial-common:latest
MAINTAINER edxops MAINTAINER edxops
ARG {{ role_name|upper }}_VERSION=master ARG {{ role_name|upper }}_VERSION=master
......
...@@ -21,5 +21,5 @@ dependencies: ...@@ -21,5 +21,5 @@ dependencies:
edx_service_user: "{{ '{{' }} {{ role_name }}_user }}" edx_service_user: "{{ '{{' }} {{ role_name }}_user }}"
edx_service_home: "{{ '{{' }} {{ role_name }}_home }}" edx_service_home: "{{ '{{' }} {{ role_name }}_home }}"
edx_service_packages: edx_service_packages:
debian: "{{ '{{' }} {{ role_name }}_debian_pkgs }}" debian: "{{ '{{' }} {{ role_name }}_debian_pkgs + {{ role_name|upper }}_DEBIAN_EXTRA_PKGS }}"
redhat: "{{ '{{' }} {{ role_name }}_redhat_pkgs }}" redhat: "{{ '{{' }} {{ role_name }}_redhat_pkgs }}"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment