From 85d319d9e920af299a4fe441aef3e5537e93ae69 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Thu, 10 Mar 2016 15:12:01 -0800 Subject: [PATCH] Use ruby 1.8 compat erb for logstash config The old logstash config was not ruby 1.8 compatible and we got funny results out of it. This version should work with ruby 1.8 and beyond. Change-Id: Ibe824dda7c96e5b333329ce25f65a14d3ebdef9c --- modules/openstack_project/templates/logstash/indexer.conf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/openstack_project/templates/logstash/indexer.conf.erb b/modules/openstack_project/templates/logstash/indexer.conf.erb index 934489350d..384c1908bd 100644 --- a/modules/openstack_project/templates/logstash/indexer.conf.erb +++ b/modules/openstack_project/templates/logstash/indexer.conf.erb @@ -117,7 +117,7 @@ filter { output { elasticsearch { - hosts => <%= @elasticsearch_nodes.map { |node| node + ":9200" }.to_s %> + hosts => <%= @elasticsearch_nodes.map { |node| node + ":9200" }.inspect %> manage_template => false flush_size => 1024 }