Add gnocchi-statsd support for Debian systems

The current Docker container for gnocchi-statsd is missing support
for Ubuntu and will fail on start due to missing gnocchi-statsd
package.
Dockerfile extended by the required gnocchi-statsd package.

Closes-Bug: #1700513
Change-Id: I0c5d221f08ae7f1c4a81f83a5ec3fb75e5207b2b
This commit is contained in:
Nenad Radojevic 2017-06-26 13:59:07 +02:00
parent a974fb216f
commit acf613e91a
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,8 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% if install_type == 'binary' %}
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
{% set gnocchi_statsd_packages = ['openstack-gnocchi-statsd'] %}
{% elif base_distro in ['ubuntu'] %}
{% set gnocchi_statsd_packages = ['gnocchi-statsd'] %}
{% endif %}
{{ macros.install_packages(gnocchi_statsd_packages | customizable("packages")) }}