diff options
author | Michael Scherer <misc@mageia.org> | 2012-01-07 22:06:44 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2012-01-07 22:06:44 +0000 |
commit | 917146508bd63bca55f3e89515715a08e3c2b640 (patch) | |
tree | 0833783b03d2420fa7518dd27e5f7a76291072dd /modules | |
parent | c9cff227942d30e459f58e8baa6d09d99685109d (diff) | |
download | puppet-917146508bd63bca55f3e89515715a08e3c2b640.tar puppet-917146508bd63bca55f3e89515715a08e3c2b640.tar.gz puppet-917146508bd63bca55f3e89515715a08e3c2b640.tar.bz2 puppet-917146508bd63bca55f3e89515715a08e3c2b640.tar.xz puppet-917146508bd63bca55f3e89515715a08e3c2b640.zip |
more refactoring, by setting default for tidy
Diffstat (limited to 'modules')
-rw-r--r-- | modules/buildsystem/manifests/mgarepo.pp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/modules/buildsystem/manifests/mgarepo.pp b/modules/buildsystem/manifests/mgarepo.pp index 1c603514..2d833ae7 100644 --- a/modules/buildsystem/manifests/mgarepo.pp +++ b/modules/buildsystem/manifests/mgarepo.pp @@ -54,17 +54,18 @@ class buildsystem { group => $sched_login, } - tidy { "$sched_home_dir/uploads": - age => "2w", + Tidy { recurse => true, type => "ctime", } + tidy { "$sched_home_dir/uploads": + age => "2w", + } + tidy { "$packages_archivedir": age => "1w", matches => "*.rpm", - recurse => true, - type => "ctime", } } } |