From 2a2f223bc645e95f5d2acbd2a57806c83fa87fc2 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Mon, 11 Apr 2011 09:13:02 +0000 Subject: Remove files from uploads/ after 2 weeks --- modules/buildsystem/manifests/init.pp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules/buildsystem') diff --git a/modules/buildsystem/manifests/init.pp b/modules/buildsystem/manifests/init.pp index e285428a..959a110c 100644 --- a/modules/buildsystem/manifests/init.pp +++ b/modules/buildsystem/manifests/init.pp @@ -182,6 +182,12 @@ class buildsystem { owner => $sched_login, group => $sched_login, } + + tidy { "$sched_home_dir/uploads/": + age => "2w", + recurse => true, + type => "ctime", + } tidy { "$packages_archivedir": age => "1w", -- cgit v1.2.1