Skip to content

Commit

Permalink
Merge pull request #248 from redBorder/bugfix/18991_logsttater_enable…
Browse files Browse the repository at this point in the history
…_without_logstash

Make same check for logstatter and logstash to configure
  • Loading branch information
jsotofernandez authored Nov 12, 2024
2 parents 666fe16 + 7930ce6 commit 03a2563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/recipes/configure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@
end

rblogstatter_config 'Configure redborder-logstatter' do
if manager_services['rb-logstatter']
if manager_services['rb-logstatter'] && manager_services['logstash'] && node.run_state['pipelines'] && !node.run_state['pipelines'].empty?
action :add
else
action :remove
Expand Down

0 comments on commit 03a2563

Please sign in to comment.