[Sensu] Don't use gem based plugins

Kolla developers added gem based Sensu plugins installation for queens+.
This patch adds override as the above change is making sensu-client image
build fail in TripleO environment.

Closes-Bug: #1742731
Change-Id: I5d1f0992cc3f16fb156ae2324559a529c0ef3a44
This commit is contained in:
Martin Mágr 2018-01-11 17:01:43 +01:00
parent 833a0187f8
commit dd24163e0b

View File

@ -107,6 +107,13 @@ RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
] %}
{% set sensu_client_packages_remove = [
'MariaDB-client',
'ceph-common',
'cyrus-sasl-devel',
'gcc-c++',
'make',
'ntp',
'python-pymongo',
'ruby-devel'
] %}
{% set mariadb_packages_append = ['mariadb-server', 'mariadb-server-galera', 'xinetd'] %}
{% set sensu_client_packages_append = ['mariadb-server', 'mariadb-server-galera'] %}
@ -371,6 +378,9 @@ RUN mkdir -p /openstack && \
chmod a+rx /openstack/healthcheck
{% endblock %}
{% block sensu_clients_install %}
{% endblock %}
{% block sensu_client_footer %}
RUN mkdir -p /openstack && \
ln -s /usr/share/openstack-tripleo-common/healthcheck/sensu-client /openstack/healthcheck && \