From f5c569c50b4251e0340a51cf59250bb36ef0a2d9 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Tue, 30 Aug 2011 15:56:56 -0400 Subject: the dovecot-expire.conf isn't used for the mysql type I do not understand what the dovecot-expire.conf is used for, the dovecot documentation on the expire plugin (http://wiki1.dovecot.org/Plugins/Expire) doesn't talk about that file, and I cannot locate it via searches (except to find this module!). There is also no example file in the files/expire hierarchy. If its supposed to be for the sqlite method, then it should just be moved into expire/sqlite.pp - but I am not sure how to proceed with this, because I do not understand what the 'mixed' type is supposed to be. --- manifests/expire.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/expire.pp b/manifests/expire.pp index 4a3bff5..72e1ad6 100644 --- a/manifests/expire.pp +++ b/manifests/expire.pp @@ -34,7 +34,7 @@ class dovecot::expire ( $type = 'sqlite', $mail_location = '', $dirs = '', $days } } - if $type != 'legacy' { + if $type != 'legacy' and $type != 'mysql' { file{'/etc/dovecot-expire.conf': source => [ "puppet:///modules/site-dovecot/expire/${fqdn}/dovecot-expire.conf", "puppet:///modules/site-dovecot/expire/dovecot-expire.conf", -- cgit v1.2.3