From 9f481aba248c92c91ffa945164e37a34bc0dbee6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Andr=C3=A9?= Date: Thu, 12 Jul 2018 18:38:04 +0200 Subject: [PATCH] Pin dep for sensu-plugins-dns At least until the upstream gem is fixed. Change-Id: Id443727cb57389af8d733fd52bc90c35dbedbfc4 Closes-Bug: #1781434 --- docker/sensu/sensu-client/Dockerfile.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker/sensu/sensu-client/Dockerfile.j2 b/docker/sensu/sensu-client/Dockerfile.j2 index 718f05b0cb..ec6c39f583 100644 --- a/docker/sensu/sensu-client/Dockerfile.j2 +++ b/docker/sensu/sensu-client/Dockerfile.j2 @@ -46,6 +46,11 @@ RUN echo '{{ image_name }} not yet available for {{ base_distro }}' \ {% block sensu_clients_install %} +{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %} +# FIXME(mandre) Workaround for https://bugs.launchpad.net/kolla/+bug/1781434 +RUN gem install public_suffix:"~>2" +{% endif %} + # Sensu plugins are all using semantic versioning. # Let's cap them to the known major version that works with the ruby shipped on # rhel/centos/oraclelinux (currently 2.0)