Merge "Add nfs package in manila-data dockerfile"

This commit is contained in:
Jenkins 2016-11-24 11:36:05 +00:00 committed by Gerrit Code Review
commit e324714794

View File

@ -17,11 +17,27 @@ RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
'manila-data'
] %}
{{ macros.install_packages(manila_data_packages | customizable("packages")) }}
{% endif %}
{% elif install_type == 'source' %}
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
{% set manila_data_packages = [
'nfs-utils'
] %}
{% elif base_distro in ['ubuntu', 'debian'] %}
{% set manila_data_packages = [
'nfs-common'
] %}
{% endif %}
{% endif %}
{{ macros.install_packages(manila_data_packages | customizable("packages")) }}
{% block manila_data_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}