ArielGlenn has uploaded a new change for review.

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

Change subject: datasets: toss index.html files copied from wikitech anywhere 
in tree
......................................................................

datasets: toss index.html files copied from wikitech anywhere in tree

we don't know the source url in advance so we don't know where they
will land, just toss them all

Change-Id: I13c1ea264fd19be6337c1c44298bb2e755dcc1df
---
M modules/dataset/manifests/cron/wikitech_dumps.pp
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/02/275202/1

diff --git a/modules/dataset/manifests/cron/wikitech_dumps.pp 
b/modules/dataset/manifests/cron/wikitech_dumps.pp
index 84893aa..397e4b6 100644
--- a/modules/dataset/manifests/cron/wikitech_dumps.pp
+++ b/modules/dataset/manifests/cron/wikitech_dumps.pp
@@ -27,7 +27,7 @@
 
     # the index.html files we get from wikitech are icky,
     # best to toss them when done
-    $cleanup = "rm ${wikitechdir}/index.html*"
+    $cleanup = "find ${wikitechdir} -name 'index.html*' -exec rm {} \\;"
 
     cron { 'wikitech-dumps-grab':
         ensure  => $ensure,

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

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

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

Reply via email to