summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-03-25 11:50:18 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-03-25 11:50:18 -0300
commitbf49d26c2b34bcab5472e69f68d970d66a748e9c (patch)
tree924054b45ef3c17c53dfd6512caf6fbaece38ee2 /manifests
parent5ed90e97bd48a6eba9a9aefff415783d3f691db4 (diff)
downloadpuppet-mail-bf49d26c2b34bcab5472e69f68d970d66a748e9c.tar.gz
puppet-mail-bf49d26c2b34bcab5472e69f68d970d66a748e9c.tar.bz2
Postfix logrotation
Diffstat (limited to 'manifests')
-rw-r--r--manifests/system.pp10
1 files changed, 10 insertions, 0 deletions
diff --git a/manifests/system.pp b/manifests/system.pp
index 7d347f0..2fd4662 100644
--- a/manifests/system.pp
+++ b/manifests/system.pp
@@ -40,6 +40,16 @@ class mail::system(
manage_tls_policy => hiera('mail::postfix_manage_tls_policy', 'no')
}
+ # Log rotation
+ file { '/etc/logrotate.d/postfix':
+ ensure => present,
+ owner => 'root',
+ group => 'root',
+ mode => '0644',
+ source => 'puppet:///modules/postfix/postfix/logrotate',
+ alias => 'alias',
+ }
+
# SSL support
include ssl