master.conf hopefully doesn't change that much between releases

This commit is contained in:
Francois Deppierraz 2009-03-02 12:41:13 +01:00
parent 29c3c8519c
commit 185b023f22

View file

@ -51,10 +51,9 @@ class postfix {
file { "/etc/postfix/master.cf": file { "/etc/postfix/master.cf":
ensure => present, ensure => present,
content => $lsbdistcodename ? { content => $operatingsystem ? {
Tikanga => template("postfix/master.cf.redhat5.erb"), Redhat => template("postfix/master.cf.redhat5.erb"),
etch => template("postfix/master.cf.debian-etch.erb"), Debian => template("postfix/master.cf.debian-etch.erb"),
default => "No puppet template defined for $lsbdistcodename\n",
}, },
notify => Service["postfix"], notify => Service["postfix"],
require => Package["postfix"], require => Package["postfix"],