Commit a0f05978 authored by Karl Kornel's avatar Karl Kornel
Browse files

postfix: Use base::postfix::sender

parent ee4494ef
...@@ -54,11 +54,16 @@ class base::postfix { ...@@ -54,11 +54,16 @@ class base::postfix {
'/etc/postfix/recipients': '/etc/postfix/recipients':
ensure => present; ensure => present;
'/etc/postfix/senders': '/etc/postfix/senders':
content => "root@stanford.edu root@${::hostname}\n"; ensure => present;
'/etc/postfix/transport': '/etc/postfix/transport':
source => 'puppet:///modules/base/postfix/etc/postfix/transport'; source => 'puppet:///modules/base/postfix/etc/postfix/transport';
} }
# Have mail from root@stanford.edu come from root at the local system
base::postfix::sender { 'root@stanford.edu':
ensure => "root@${::hostname}";
}
# We used to disable and stop sendmail here on Red Hat, but this doesn't # We used to disable and stop sendmail here on Red Hat, but this doesn't
# work if sendmail is not installed. Since we'd rather not have sendmail # work if sendmail is not installed. Since we'd rather not have sendmail
# installed, just assume that people are doing this manually. # installed, just assume that people are doing this manually.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment