aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorNenad Radojevic <nradojevic@evoila.de>2017-06-26 13:59:07 +0200
committerNenad Radojevic <nradojevic@evoila.de>2017-06-27 18:37:11 +0200
commitacf613e91ab362eeee052c48e4c53f90694670c8 (patch)
treec8b88855c71302d847c3812a769cd7ed9c57543f /docker
parenta974fb216f9fa457dda1f1cd80c35186fcd73cc4 (diff)
downloadkolla-acf613e91ab362eeee052c48e4c53f90694670c8.tar.gz
kolla-acf613e91ab362eeee052c48e4c53f90694670c8.zip
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
Diffstat (limited to 'docker')
-rw-r--r--docker/gnocchi/gnocchi-statsd/Dockerfile.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/gnocchi/gnocchi-statsd/Dockerfile.j2 b/docker/gnocchi/gnocchi-statsd/Dockerfile.j2
index a44ade0da..b5c4bed7d 100644
--- a/docker/gnocchi/gnocchi-statsd/Dockerfile.j2
+++ b/docker/gnocchi/gnocchi-statsd/Dockerfile.j2
@@ -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")) }}