Fix python3 compatibility for barbican

Barbican refers to python3 but uwsgi refers to python2. This change
fixes this issue.

Change-Id: I508bb082a319955b3e008235e158eaa07a1e8a74
Closes-Bug: #1849128
This commit is contained in:
Dincer Celik 2019-10-21 17:26:54 +03:00
parent 3887db89af
commit 823e45a6c9
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
'apache2',
'barbican-api',
'libapache2-mod-wsgi-py3',
'uwsgi-plugin-python'
'uwsgi-plugin-python3'
] %}
{{ macros.install_packages(barbican_api_packages | customizable("packages")) }}

View File

@ -25,7 +25,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% endif %}
{% elif base_package_type == 'deb' %}
{% set barbican_base_packages = ['uwsgi-plugin-python'] %}
{% set barbican_base_packages = ['uwsgi-plugin-python3'] %}
{% endif %}
{{ macros.install_packages(barbican_base_packages | customizable("packages")) }}