Addshore has uploaded a new change for review.

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

Change subject: Fix final few paths in statistics::wmde
......................................................................

Fix final few paths in statistics::wmde

Change-Id: Ic5b528dec5b65c4b490731c3a4271f70ad1177c9
---
M modules/statistics/manifests/wmde.pp
M modules/statistics/templates/wmde/minutely.erb
2 files changed, 5 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/77/298477/1

diff --git a/modules/statistics/manifests/wmde.pp 
b/modules/statistics/manifests/wmde.pp
index a8baf5f..573ca1c 100644
--- a/modules/statistics/manifests/wmde.pp
+++ b/modules/statistics/manifests/wmde.pp
@@ -73,7 +73,7 @@
     git::clone { 'wmde/scripts':
         ensure    => 'latest',
         branch    => 'production',
-        directory => "${dir}/src/scripts",
+        directory => $scripts_dir,
         origin    => 'https://gerrit.wikimedia.org/r/analytics/wmde/scripts',
         owner     => $user,
         group     => $user,
@@ -149,7 +149,7 @@
 
     # Logrotate is at 6:25, + time for rsync (hourly?), 12 gives us roughly 6 
hours
     cron { 'graphite/api/logScanner':
-        command => "${dir}/src/scripts/graphite/api/logScanner.sh >> 
${log_dir}/graphite_api_logScanner.log 2>&1",
+        command => "${scripts_dir}/src/wikidata/apiLogScanner.sh >> 
${log_dir}/wd-apiLogScanner.log 2>&1",
         hour    => '12',
         minute  => '0',
     }
diff --git a/modules/statistics/templates/wmde/minutely.erb 
b/modules/statistics/templates/wmde/minutely.erb
index 8b21c7f..b8ec5d3 100755
--- a/modules/statistics/templates/wmde/minutely.erb
+++ b/modules/statistics/templates/wmde/minutely.erb
@@ -5,6 +5,6 @@
 # @author Addshore
 #
 
-<%= @scripts_dir %>/wikidata/src/wikidata/dispatch.php
-<%= @scripts_dir %>/wikidata/src/wikidata/recentChanges.php
-<%= @scripts_dir %>/wikidata/src/wikidata/sparql/minutely.php
+<%= @scripts_dir %>/src/wikidata/dispatch.php
+<%= @scripts_dir %>/src/wikidata/recentChanges.php
+<%= @scripts_dir %>/src/wikidata/sparql/minutely.php

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

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

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

Reply via email to