master.conf hopefully doesn't change that much between releases
This commit is contained in:
parent
29c3c8519c
commit
185b023f22
1 changed files with 3 additions and 4 deletions
|
@ -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"],
|
||||||
|
|
Loading…
Reference in a new issue