Skip to content

Commit

Permalink
Make same check for logstatter and logstash to configure
Browse files Browse the repository at this point in the history
  • Loading branch information
malvads committed Nov 11, 2024
1 parent 567291f commit 7930ce6
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 @@ -491,7 +491,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 7930ce6

Please sign in to comment.