diff options
-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 5f89580..a33f0e3 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} -delete\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']{ |