diff options
author | mh <mh@immerda.ch> | 2010-07-01 06:07:30 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2010-07-01 06:07:30 +0200 |
commit | 4a80a4539cc99c8985d350e6de9b2d05f45ddd7c (patch) | |
tree | f9723ea559e55e8326d4a19216e1e50fc530cb51 | |
parent | cfaa011edc190c18f709d7ebdb8c635ebef4bb34 (diff) |
actually delete the files
-rw-r--r-- | manifests/expire.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/expire.pp b/manifests/expire.pp index 4381c07..5f89580 100644 --- a/manifests/expire.pp +++ b/manifests/expire.pp @@ -15,7 +15,7 @@ class dovecot::expire { '': { $dovecot_expire_days = '14' } } File['/etc/cron.daily/dovecot-expire']{ - content => "find ${dovecot_mail_location} -regex '.*/\.\(${dovecot_expire_dirs}\)\(/.*\)?\/\(cur\|new\)/.*' -type f -ctime +${dovecot_expire_days}\n" + content => "find ${dovecot_mail_location} -regex '.*/\.\(${dovecot_expire_dirs}\)\(/.*\)?\/\(cur\|new\)/.*' -type f -ctime +${dovecot_expire_days} -delete\n" } } else { File['/etc/cron.daily/dovecot-expire']{ |