diff options
| author | Radosław Piliszek <radoslaw.piliszek@gmail.com> | 2019-09-29 14:55:13 +0200 |
|---|---|---|
| committer | Radosław Piliszek <radoslaw.piliszek@gmail.com> | 2019-09-29 14:55:13 +0200 |
| commit | 305312f1070e80ba849f8c4feb00ad02196b8306 (patch) | |
| tree | 084c25844bb53abfc03ec04d94b10646c0179111 /docker/sensu | |
| parent | 38b73d34461d9fd9d5d8454d98ec3a9726612cf2 (diff) | |
| download | kolla-305312f1070e80ba849f8c4feb00ad02196b8306.tar.gz kolla-305312f1070e80ba849f8c4feb00ad02196b8306.zip | |
sensu-client: Pin minitest Ruby gem on CentOS
Change-Id: I1afd2d50c0dc2de6d305b56bd5f9182745fee843
Closes-bug: #1845843
Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
Diffstat (limited to 'docker/sensu')
| -rw-r--r-- | docker/sensu/sensu-client/Dockerfile.j2 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/sensu/sensu-client/Dockerfile.j2 b/docker/sensu/sensu-client/Dockerfile.j2 index ef2da7bef..e68df2e9e 100644 --- a/docker/sensu/sensu-client/Dockerfile.j2 +++ b/docker/sensu/sensu-client/Dockerfile.j2 @@ -89,7 +89,8 @@ RUN echo '{{ image_name }} not yet available for {{ base_distro }}' \ # TODO(mandre) Use packaged sensu plugins from centos-opstools for binary distro # http://cbs.centos.org/koji/search?match=glob&type=package&terms=*sensu* # NOTE(hrw): whois 5.0.0 requires Ruby 2.4+ while CentOS has 2.0 -RUN {%if base_package_type == 'rpm' %} gem install whois:"<5" && {% endif %} sensu-install --plugins {{ sensu_plugins | customizable('plugins') | join (',') }} +# NOTE(yoctozepto): pinning minitest for the same reason +RUN {%if base_package_type == 'rpm' %} gem install whois:"<5" minitest:"~>5.11.3" && {% endif %} sensu-install --plugins {{ sensu_plugins | customizable('plugins') | join (',') }} {% endblock %} {% block sensu_client_footer %}{% endblock %} |
