Pin dep for sensu-plugins-dns

At least until the upstream gem is fixed.

Change-Id: Id443727cb57389af8d733fd52bc90c35dbedbfc4
Closes-Bug: #1781434
This commit is contained in:
Martin André 2018-07-12 18:38:04 +02:00
parent 932f31593a
commit 9f481aba24
1 changed files with 5 additions and 0 deletions

View File

@ -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)