Ori.livneh has uploaded a new change for review.

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

Change subject: Mark instance vars with @ in erb template
......................................................................

Mark instance vars with @ in erb template

Change-Id: Ie9efe6a8d405ed529c7fb8d222c7ef9ea2ae5ae2
---
M templates/misc/mw-deployment-vars.erb
1 file changed, 7 insertions(+), 7 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/98/146098/1

diff --git a/templates/misc/mw-deployment-vars.erb 
b/templates/misc/mw-deployment-vars.erb
index fd2d5f1..99081a6 100644
--- a/templates/misc/mw-deployment-vars.erb
+++ b/templates/misc/mw-deployment-vars.erb
@@ -1,12 +1,12 @@
 # This file should be BASH / Python polyglot.
 
-MW_COMMON="<%= mw_common %>"
-MW_COMMON_SOURCE="<%= mw_common_source %>"
-MW_DBLISTS="<%= dblist_common %>"
-MW_DBLISTS_SOURCE="<%= dblist_common_source %>"
+MW_COMMON="<%= @mw_common %>"
+MW_COMMON_SOURCE="<%= @mw_common_source %>"
+MW_DBLISTS="<%= @dblist_common %>"
+MW_DBLISTS_SOURCE="<%= @dblist_common_source %>"
 MW_CRON_LOGS="/home/wikipedia/logs/norotate"
-MW_RSYNC_HOST="<%= mw_rsync_host %>"
+MW_RSYNC_HOST="<%= @mw_rsync_host %>"
 MW_DSH_ARGS=('-cM' '-g' 'mediawiki-installation' '-o' '-oSetupTimeout=30' 
'-F30')
 MW_RSYNC_ARGS=('-a' '--delete-delay' '--delay-updates' '--compress' '--delete' 
'--exclude=**/.svn/lock' '--exclude=**/.git/objects' 
'--exclude=**/.git/**/objects' '--exclude=**/cache/l10n/*.cdb' '--no-perms')
-MW_STATSD_HOST="<%= mw_statsd_host %>"
-MW_STATSD_PORT=<%= mw_statsd_port %>
+MW_STATSD_HOST="<%= @mw_statsd_host %>"
+MW_STATSD_PORT=<%= @mw_statsd_port %>

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie9efe6a8d405ed529c7fb8d222c7ef9ea2ae5ae2
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ori.livneh <[email protected]>

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

Reply via email to