From bf49d26c2b34bcab5472e69f68d970d66a748e9c Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 25 Mar 2015 11:50:18 -0300 Subject: Postfix logrotation --- manifests/system.pp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'manifests') 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 -- cgit v1.2.3