Skip to content

Commit

Permalink
Remove td-agent-ruby.conf (#529)
Browse files Browse the repository at this point in the history
It was used for prelink.
We don't use it since 66116d5.

Signed-off-by: Daijiro Fukuda <fukuda@clear-code.com>
  • Loading branch information
daipom authored Jul 18, 2023
1 parent 35aebdc commit 4b595e0
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion fluent-package/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,6 @@ class BuildTask
configs = [fluentd_conf]
configs.concat([
"etc/logrotate.d/#{SERVICE_NAME}",
"opt/#{PACKAGE_DIR}/share/#{COMPAT_SERVICE_NAME}-ruby.conf",
fluentd_conf_default,
]) unless windows? || macos?
configs.each do |config|
Expand Down
2 changes: 0 additions & 2 deletions fluent-package/apt/install-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,11 @@ apt install -V -y \
td-agent --version
test -e /etc/logrotate.d/fluentd
test -e /opt/fluent/share/td-agent.conf.tmpl
test -e /opt/fluent/share/td-agent-ruby.conf

apt remove -y fluent-package

test -e /etc/logrotate.d/fluentd
! test -e /opt/fluent/share/td-agent.conf.tmpl
! test -e /opt/fluent/share/td-agent-ruby.conf

if ! getent passwd _fluentd >/dev/null; then
echo "_fluentd user must be kept"
Expand Down

This file was deleted.

2 changes: 0 additions & 2 deletions fluent-package/yum/install-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,12 @@ ${DNF} install -y \
td-agent --version
test -e /etc/logrotate.d/fluentd
test -e /opt/fluent/share/td-agent.conf.tmpl
test -e /opt/fluent/share/td-agent-ruby.conf

echo "UNINSTALL TEST"
${DNF} remove -y fluent-package

! test -e /etc/logrotate.d/fluentd
! test -e /opt/fluent/share/td-agent.conf.tmpl
! test -e /opt/fluent/share/td-agent-ruby.conf

for conf_path in /etc/td-agent/td-agent.conf /etc/fluent/fluentd.conf; do
if [ -e $conf_path ]; then
Expand Down

0 comments on commit 4b595e0

Please sign in to comment.