Mercurial > repos > other > Puppet
comparison modules/postfix/manifests/init.pp @ 126:8316d4e55e92 puppet-3.6
Fix Apache 2.4 Logwatch support
Uses tweaked files from https://sourceforge.net/p/logwatch/git/ci/2ecdeb6e3b62814ad69e7371e69d2a26315fc45e/
We need to use "http-error-24.conf" so that Logwatch doesn't apply standard HTTP date formats to the error log and lose all log messages
(Also includes a fix to remove a file from Puppet that we removed from disk - not committed separately because I didn't find it until
I went to puppet apply this, and I couldn't be bothered rushing to work out how to do partial commits)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 13 Sep 2016 21:04:40 +0100 |
parents | 28a4e01b904b |
children | 0dd899a10ee1 |
comparison
equal
deleted
inserted
replaced
125:ca711ab45f17 | 126:8316d4e55e92 |
---|---|
73 } | 73 } |
74 #Whitelisted HELO names | 74 #Whitelisted HELO names |
75 file { '/etc/postfix/helo_whitelist': | 75 file { '/etc/postfix/helo_whitelist': |
76 source => 'puppet:///private/postfix/helo_whitelist', | 76 source => 'puppet:///private/postfix/helo_whitelist', |
77 } | 77 } |
78 #Whitelisted IPs for greylisting process | |
79 file { '/etc/postfix/postscreen_access.cidr': | |
80 source => 'puppet:///modules/postfix/postscreen_access.cidr', | |
81 } | |
82 #Private whitelisted IPs for greylisting process | 78 #Private whitelisted IPs for greylisting process |
83 file { '/etc/postfix/postscreen_access_private.cidr': | 79 file { '/etc/postfix/postscreen_access_private.cidr': |
84 source => 'puppet:///private/postfix/postscreen_access_private.cidr', | 80 source => 'puppet:///private/postfix/postscreen_access_private.cidr', |
85 } | 81 } |
86 #Blacklist some domains (e.g. banks who don't do SPF that we don't bank with) | 82 #Blacklist some domains (e.g. banks who don't do SPF that we don't bank with) |