Giuseppe Lavagetto has uploaded a new change for review.

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

Change subject: erbium: fix template variable scoping
......................................................................

erbium: fix template variable scoping

Change-Id: Ifef60ab9b7ced7df985443b8daf36361b2c138e3
Signed-off-by: Giuseppe Lavagetto <[email protected]>
---
M templates/udp2log/filters.erbium.erb
1 file changed, 1 insertion(+), 1 deletion(-)


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

diff --git a/templates/udp2log/filters.erbium.erb 
b/templates/udp2log/filters.erbium.erb
index 2c2b849..9a80985 100644
--- a/templates/udp2log/filters.erbium.erb
+++ b/templates/udp2log/filters.erbium.erb
@@ -21,7 +21,7 @@
 pipe 1 /usr/local/bin/filter | /usr/bin/log2udp -h gadolinium.wikimedia.org -p 
3815
 
 ### API Usage
-pipe 100 /usr/bin/udp-filter -F '\t' -p /w/api.php >> <%= 
webrequest_log_directory %>/api-usage.tsv.log
+pipe 100 /usr/bin/udp-filter -F '\t' -p /w/api.php >> <%= 
scope.lookupvar('role::logging::udp2log::oxygen::webrequest_log_directory') 
%>/api-usage.tsv.log
 
 ### GLAM NARA / National Archives - RT 2212
 pipe 10 /usr/bin/udp-filter -F '\t' -p _NARA_ -g -b country >> 
<%=log_directory %>/glam_nara.tsv.log

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

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

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

Reply via email to