Matanya has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/149960

Change subject: solr: qualify vars
......................................................................

solr: qualify vars

Change-Id: Iabd67ddc57a10433f7c222750fe8853603b0bbd8
---
M modules/solr/templates/jetty.erb
M modules/solr/templates/solrconfig.xml.erb
2 files changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/60/149960/1

diff --git a/modules/solr/templates/jetty.erb b/modules/solr/templates/jetty.erb
index fb85a97..b9e02ef 100644
--- a/modules/solr/templates/jetty.erb
+++ b/modules/solr/templates/jetty.erb
@@ -25,7 +25,7 @@
 #JETTY_ARGS=
 
 # Extra options to pass to the JVM
-JAVA_OPTIONS="-XX:+UseConcMarkSweepGC -Xmx<%= max_heap %> -Xms<%= max_heap %>"
+JAVA_OPTIONS="-XX:+UseConcMarkSweepGC -Xmx<%= @max_heap %> -Xms<%= @max_heap 
%>"
 
 # Home of Java installation.
 #JAVA_HOME=
diff --git a/modules/solr/templates/solrconfig.xml.erb 
b/modules/solr/templates/solrconfig.xml.erb
index 829d312..fba06b3 100644
--- a/modules/solr/templates/solrconfig.xml.erb
+++ b/modules/solr/templates/solrconfig.xml.erb
@@ -1047,7 +1047,7 @@
        this is just a slave and remove  the <lst name="slave"> section
        if this is just a master.
     -->
-  <% if replication_master != :undef then -%>
+  <% if @replication_master != :undef then -%>
      <requestHandler name="/replication" class="solr.ReplicationHandler" >
 
        <% if @fqdn == replication_master then -%>
@@ -1061,7 +1061,7 @@
        <% else -%>
 
        <lst name="slave">
-         <str name="masterUrl">http://<%= replication_master 
%>:8983/solr/replication</str>
+         <str name="masterUrl">http://<%= @replication_master 
%>:8983/solr/replication</str>
          <str name="pollInterval">00:00:60</str>
        </lst>
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iabd67ddc57a10433f7c222750fe8853603b0bbd8
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to