Giuseppe Lavagetto has uploaded a new change for review.

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

Change subject: hhvm: fix tidy perf maps cronjob
......................................................................

hhvm: fix tidy perf maps cronjob

* Stop the cronspam
* Actually tidy the files.

Change-Id: Ie23dee1e5320f0d21732c7a9d5c6c77b39876b55
Signed-off-by: Giuseppe Lavagetto <[email protected]>
---
M modules/hhvm/manifests/init.pp
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/12/179612/1

diff --git a/modules/hhvm/manifests/init.pp b/modules/hhvm/manifests/init.pp
index d03c72d..0d2664e 100644
--- a/modules/hhvm/manifests/init.pp
+++ b/modules/hhvm/manifests/init.pp
@@ -245,7 +245,7 @@
     # generated by HHVM to supply `perf` with language-level context.
 
     cron { 'tidy_perf_maps':
-        command => '/usr/bin/find /tmp -name "perf-*" -not -cnewer 
/run/hhvm/hhvm.pid',
+        command => '/usr/bin/find /tmp -name "perf-*" -not -cnewer 
/run/hhvm/hhvm.pid -delete > /dev/null 2>&1',
         hour    => fqdn_rand(23, 'tidy_perf_maps'),
     }
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie23dee1e5320f0d21732c7a9d5c6c77b39876b55
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