case $::operatingsystem {
- RedHat, CentOS: {
+ 'RedHat', 'CentOS': {
$master_cf_template = 'postfix/master.cf.redhat5.erb'
# selinux labels differ from one distribution to another
'5': { $postfix_seltype = 'postfix_etc_t' }
default: { $postfix_seltype = undef }
}
+
+ postfix::config {
+ 'sendmail_path': value => '/usr/sbin/sendmail.postfix';
+ 'newaliases_path': value => '/usr/bin/newaliases.postfix';
+ 'mailq_path': value => '/usr/bin/mailq.postfix';
+ }
}
'Debian': {
'inet_interfaces': value => $inet_interfaces;
}
- case $::operatingsystem {
- RedHat, CentOS: {
- postfix::config {
- 'sendmail_path': value => '/usr/sbin/sendmail.postfix';
- 'newaliases_path': value => '/usr/bin/newaliases.postfix';
- 'mailq_path': value => '/usr/bin/mailq.postfix';
- }
- }
- default: {}
- }
-
postfix::mailalias {'root':
recipient => $root_mail_recipient,
}