Merge "Fluentd: There is available td-agent pkg for Buster"

This commit is contained in:
Zuul 2019-10-02 17:51:05 +00:00 committed by Gerrit Code Review
commit 989bec307a
2 changed files with 7 additions and 1 deletions

View File

@ -18,4 +18,4 @@ deb http://buster-train.debian.net/debian buster-train-backports main
deb http://buster-train.debian.net/debian buster-train-backports-nochange main
# td-agent for fluentd
deb http://packages.treasuredata.com/3/debian/stretch stretch contrib
deb http://packages.treasuredata.com/3/debian/buster buster contrib

View File

@ -87,6 +87,12 @@ RUN chmod 755 /usr/local/bin/kolla_extend_start
] %}
{% endif %}
# NOTE(hrw): one of plugins fetches 'string-scrub' which tries to use
# /usr/bin/mkdir directly while in Debian it is in /bin
{% if base_distro == 'debian' and base_arch == 'x86_64' %}
RUN ln -s /bin/mkdir /usr/bin/mkdir
{% endif %}
{{ macros.install_fluent_plugins(fluentd_user, fluentd_plugins | customizable("plugins")) }}
{% endblock %}