ArielGlenn has submitted this change and it was merged.

Change subject: add the svg cruft to the imagescaler cron job that cleans up 
/tmp
......................................................................


add the svg cruft to the imagescaler cron job that cleans up /tmp

Change-Id: Ie331b0cef13a8b4f72302cc64102dab9fdeafd69
---
M manifests/imagescaler.pp
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  ArielGlenn: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/manifests/imagescaler.pp b/manifests/imagescaler.pp
index 2b0316d..73854ce 100644
--- a/manifests/imagescaler.pp
+++ b/manifests/imagescaler.pp
@@ -7,7 +7,7 @@
 
 class imagescaler::cron {
        cron { removetmpfiles:
-               command => "for dir in /tmp /a/magick-tmp /tmp/magick-tmp; do 
find \$dir -ignore_readdir_race -type f \\( -name 'gs_*' -o -name 'magick-*' 
\\) -cmin +15 -exec rm -f {} \\;; done",
+               command => "for dir in /tmp /a/magick-tmp /tmp/magick-tmp; do 
find \$dir -ignore_readdir_race -type f \\( -name 'gs_*' -o -name 'magick-*' -o 
-name 'localcopy_*svg' \\) -cmin +15 -exec rm -f {} \\;; done",
                user => root,
                minute => '*/5',
                ensure => present;

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie331b0cef13a8b4f72302cc64102dab9fdeafd69
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: ArielGlenn <[email protected]>
Gerrit-Reviewer: ArielGlenn <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to