49c84af20ed52d6aab9d49b4a65d254f63ca60fc
[mirror/dsa-puppet.git] / modules / postfix / manifests / init.pp
1 class postfix {
2         package { 'postfix':
3                 ensure => installed
4         }
5
6         service { 'postfix':
7                 ensure => running
8         }
9
10         include debian_org::mail_incoming_port
11
12         munin::check { 'ps_exim4':       ensure => absent }
13         munin::check { 'exim_mailqueue': ensure => absent }
14         munin::check { 'exim_mailstats': ensure => absent }
15
16         munin::check { 'postfix_mailqueue': }
17         munin::check { 'postfix_mailstats': }
18         munin::check { 'postfix_mailvolume': }
19         munin::check { 'ps_smtp': script => 'ps_' }
20         munin::check { 'ps_smtpd': script => 'ps_' }
21 }