Alexandros Kosiaris has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/345845 )

Change subject: elasticsearch: Fix ERB instance variable notation
......................................................................

elasticsearch: Fix ERB instance variable notation

Instance variables in ERB/Ruby need a @ prepended to them. The access
via the non @ prepended form is deprecated

Change-Id: Ib64c0cfb4f01e6ae498a3151351b40c8650b1b3c
---
M modules/elasticsearch/templates/elasticsearch_2.erb
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/45/345845/1

diff --git a/modules/elasticsearch/templates/elasticsearch_2.erb 
b/modules/elasticsearch/templates/elasticsearch_2.erb
index 8ecad73..6919e4c 100644
--- a/modules/elasticsearch/templates/elasticsearch_2.erb
+++ b/modules/elasticsearch/templates/elasticsearch_2.erb
@@ -37,4 +37,4 @@
 # Additional Java OPTS
 # Note: We've seen problems on some jessie hosts when this setting is
 # constructed by consecutive ES_JAVA_OPTS="${ES_JAVA_OPTS} ..." settings
-ES_JAVA_OPTS="-XX:HeapDumpPath=<%= @data_dir %> -XX:GCTimeLimit=70 
-XX:GCHeapFreeLimit=10 <%= gc_log_flags.join(' ') %>"
+ES_JAVA_OPTS="-XX:HeapDumpPath=<%= @data_dir %> -XX:GCTimeLimit=70 
-XX:GCHeapFreeLimit=10 <%= @gc_log_flags.join(' ') %>"

-- 
To view, visit https://gerrit.wikimedia.org/r/345845
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib64c0cfb4f01e6ae498a3151351b40c8650b1b3c
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alexandros Kosiaris <akosia...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to