diff --git a/resources/recipes/configure.rb b/resources/recipes/configure.rb index cceeb254..639f4c44 100644 --- a/resources/recipes/configure.rb +++ b/resources/recipes/configure.rb @@ -400,12 +400,13 @@ vault_nodes node.run_state['sensors_info_all']['vault-sensor'] scanner_nodes node.run_state['sensors_info_all']['scanner-sensor'] device_nodes node.run_state['sensors_info_all']['device-sensor'] - logstash_pipelines node.run_state['pipelines'] - if manager_services['logstash'] && node.run_state['pipelines'] && !node.run_state['pipelines'].empty? + logstash_pipelines node.default['pipelines'] + if !logstash_pipelines.nil? && !logstash_pipelines.empty? action [:add, :register] else action [:remove, :deregister] end + end rbdswatcher_config 'Configure redborder-dswatcher' do