Mercurial > repos > other > Puppet
comparison modules/postfix/manifests/init.pp @ 299:8668dbeaa28a
Consolidate Postfix configs
Everything uses postscreen now, so we don't need a "CentOS7"
version.
Also fixed an issue where Postfix complained about a missing
transport.db
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 17 Feb 2020 16:12:29 +0000 |
parents | c3fa3d65aa83 |
children | 01d1b0f6dbaf |
comparison
equal
deleted
inserted
replaced
298:61e90445c899 | 299:8668dbeaa28a |
---|---|
14 service { 'postfix': | 14 service { 'postfix': |
15 ensure => running, | 15 ensure => running, |
16 subscribe => Package['postfix'], | 16 subscribe => Package['postfix'], |
17 } | 17 } |
18 exec { 'postmap-files': | 18 exec { 'postmap-files': |
19 command => 'for file in helo_whitelist recipient_bcc sender_access valias valias-blacklist virtual vmailbox; do postmap $file; done', | 19 command => 'for file in helo_whitelist recipient_bcc sender_access valias valias-blacklist virtual vmailbox transport; do postmap $file; done', |
20 cwd => '/etc/postfix/', | 20 cwd => '/etc/postfix/', |
21 provider => 'shell', | 21 provider => 'shell', |
22 refreshonly => true, | 22 refreshonly => true, |
23 notify => Service['postfix'], | 23 notify => Service['postfix'], |
24 } | 24 } |