Commit 58c629f1 authored by Ophélie Gagnard's avatar Ophélie Gagnard

installation/: Fix the installation process until MCA embeds its own flb.conf.in. (temporary)

parent c2546831
......@@ -23,6 +23,7 @@ apt -y install ./"$MCA_PACKAGE_FILE"
apt -y install ./"$FLUENTBIT_PACKAGE_FILE"
FLB_CONF_PATH=/opt/${MCA_NAME_AND_VERSION}/etc/
cp flb.conf.in $FLB_CONF_PATH # temporary fix
CONF_REGEX="s|%WENDELIN_REFERENCE%|${WENDELIN_REFERENCE}|g"
sed $CONF_REGEX $FLB_CONF_PATH/flb.conf.in > $FLB_CONF_PATH/flb.conf
echo "Created ${FLB_CONF_PATH}/flb.conf from template ${FLB_CONF_PATH}/flb.conf.in"
[SERVICE]
flush 5
[INPUT]
name tail
path /var/log/metadata_collect.log
refresh_interval 2
[output]
name fluentbit_wendelin
match *
streamtool_uri https://softinst157546.host.vifib.net/erp5/portal_ingestion_policies/metadata_upload
user zope
password qxrfkwod
buffer_type memory
flush_interval 60s
disable_retry_limit true
reference %WENDELIN_REFERENCE%
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment