Add ceilometermiddleware in swift-proxy-server
Add ceilometermiddleware package in swift-proxy-server image. Change-Id: I4075d14211778347afe7c03b661723f5a8e18c7a Closes-Bug: #1691629
This commit is contained in:
parent
f3ae2d10f4
commit
627f6ce2f4
@ -7,13 +7,27 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||
|
||||
{% if install_type == 'binary' %}
|
||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||
{% set swift_proxy_server_packages = ['openstack-swift-proxy'] %}
|
||||
{% set swift_proxy_server_packages = [
|
||||
'openstack-swift-proxy',
|
||||
'python-ceilometermiddleware'
|
||||
] %}
|
||||
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||
{% set swift_proxy_server_packages = ['swift-proxy'] %}
|
||||
{% set swift_proxy_server_packages = [
|
||||
'swift-proxy',
|
||||
'python-ceilometermiddleware'
|
||||
] %}
|
||||
{% endif %}
|
||||
|
||||
{{ macros.install_packages(swift_proxy_server_packages | customizable("packages")) }}
|
||||
|
||||
{% elif install_type == 'source' %}
|
||||
|
||||
{% set swift_proxy_server_pip_packages = [
|
||||
'ceilometermiddleware'
|
||||
] %}
|
||||
|
||||
RUN {{ macros.install_pip(swift_proxy_server_pip_packages | customizable("pip_packages")) }}
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% block swift_proxy_server_footer %}{% endblock %}
|
||||
|
Loading…
Reference in New Issue
Block a user