- if ! has_role('lists') {
- concat { '/etc/postfix/main.cf':
- notify => Exec['service postfix reload'],
- }
- concat::fragment { 'puppet-postfix-main.cf--header':
- target => '/etc/postfix/main.cf',
- order => '000',
- content => template('postfix/main.cf-header.erb')
- }
- } else {
- include fail2ban::postfix
- }
+ if ! has_role('lists') {
+ concat { '/etc/postfix/main.cf':
+ notify => Exec['service postfix reload'],
+ }
+ concat::fragment { 'puppet-postfix-main.cf--header':
+ target => '/etc/postfix/main.cf',
+ order => '000',
+ content => template('postfix/main.cf-header.erb')
+ }
+ } else {
+ include fail2ban::postfix
+ }