From 41ffadb5ec831a3709430aaf41504201c6cb5a87 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 15 Sep 2019 09:24:05 +0200 Subject: [PATCH] postfix/init: whitespace change --- modules/postfix/manifests/init.pp | 66 +++++++++++++++---------------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/modules/postfix/manifests/init.pp b/modules/postfix/manifests/init.pp index 8c1d2b226..cd6470a84 100644 --- a/modules/postfix/manifests/init.pp +++ b/modules/postfix/manifests/init.pp @@ -1,41 +1,41 @@ class postfix { - package { 'postfix': - ensure => installed - } + package { 'postfix': + ensure => installed + } - service { 'postfix': - ensure => running - } + service { 'postfix': + ensure => running + } - include debian_org::mail_incoming_port + include debian_org::mail_incoming_port - munin::check { 'ps_exim4': ensure => absent } - munin::check { 'exim_mailqueue': ensure => absent } - munin::check { 'exim_mailstats': ensure => absent } + munin::check { 'ps_exim4': ensure => absent } + munin::check { 'exim_mailqueue': ensure => absent } + munin::check { 'exim_mailstats': ensure => absent } - munin::check { 'postfix_mailqueue': } - munin::check { 'postfix_mailstats': } - munin::check { 'postfix_mailvolume': } - munin::check { 'ps_smtp': script => 'ps_' } - munin::check { 'ps_smtpd': script => 'ps_' } + munin::check { 'postfix_mailqueue': } + munin::check { 'postfix_mailstats': } + munin::check { 'postfix_mailvolume': } + munin::check { 'ps_smtp': script => 'ps_' } + munin::check { 'ps_smtpd': script => 'ps_' } - 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 + } - exec { 'service postfix reload': - path => '/usr/bin:/usr/sbin:/bin:/sbin', - command => 'service postfix reload', - refreshonly => true, - require => Package['postfix'], - } + exec { 'service postfix reload': + path => '/usr/bin:/usr/sbin:/bin:/sbin', + command => 'service postfix reload', + refreshonly => true, + require => Package['postfix'], + } } -- 2.20.1