Add more collectd plugins to the container

Since collectd exists in both centos-opstools and also in
EPEL, we disable EPEL for collectd building.

Change-Id: I2428aea0265b1dcd050f63ea3949c112407d5d04
This commit is contained in:
Matthias Runge 2017-09-12 13:12:20 +02:00
parent 5380724930
commit 3af9151c5a

View File

@ -13,10 +13,24 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
{% set collectd_packages = collectd_packages + [
'collectd-disk'
'collectd-apache',
'collectd-ceph',
'collectd-disk',
'collectd-python',
'collectd-virt'
] %}
{% if base_arch =='x86_64' %}
{% set collectd_packages = collectd_packages + [
'collectd-turbostat',
'collectd-hugepages'
] %}
{% endif %}
# make sure, collectd is pulled from centos-opstools
RUN yum-config-manager --disable epel
{% endif %}
{{ macros.install_packages(collectd_packages | customizable("packages")) }}
COPY extend_start.sh /usr/local/bin/kolla_extend_start