Dzahn has submitted this change and it was merged.

Change subject: elasticsearch: only show comment when section exists
......................................................................


elasticsearch: only show comment when section exists

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

Approvals:
  jenkins-bot: Verified
  Dzahn: Looks good to me, approved



diff --git a/modules/elasticsearch/templates/elasticsearch.yml.erb 
b/modules/elasticsearch/templates/elasticsearch.yml.erb
index 0d3e4a2..33b2047 100644
--- a/modules/elasticsearch/templates/elasticsearch.yml.erb
+++ b/modules/elasticsearch/templates/elasticsearch.yml.erb
@@ -553,10 +553,10 @@
  - org.apache.lucene.util.automaton.RegExp
  - org.apache.lucene.util.automaton.CharacterRunAutomaton
 
+<% if @statsd_host -%>
 ##
 # Statsd plugin configuration
 ##
-<% if @statsd_host -%>
 metrics.statsd.host: <%= @statsd_host %>
 <% end -%>
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I4edd85cbb6fb8f12e216bfa5213529043e067859
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Chad <ch...@wikimedia.org>
Gerrit-Reviewer: Dzahn <dz...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to