Skip to content

Commit

Permalink
Update config.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
malvads authored Dec 26, 2024
1 parent f405af3 commit f297e55
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resources/providers/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -368,13 +368,16 @@
notifies :restart, 'service[logstash]', :delayed unless node['redborder']['leader_configuring']
end

memcached_servers = node['redborder']['memcached']['hosts']

template "#{pipelines_dir}/netflow/05_threat_intelligence.conf" do
source 'netflow_threat_intelligence.conf.erb'
owner user
group user
mode '0644'
ignore_failure true
cookbook 'logstash'
variables(memcached_servers: memcached_servers)
notifies :restart, 'service[logstash]', :delayed unless node['redborder']['leader_configuring']
end

Expand Down Expand Up @@ -934,6 +937,7 @@
mode '0644'
ignore_failure true
cookbook 'logstash'
variables(memcached_servers: memcached_servers)
notifies :restart, 'service[logstash]', :delayed unless node['redborder']['leader_configuring']
end

Expand Down

0 comments on commit f297e55

Please sign in to comment.