aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/classes/postfix.pp7
1 files changed, 3 insertions, 4 deletions
diff --git a/manifests/classes/postfix.pp b/manifests/classes/postfix.pp
index 7a1aa6c..fa2c249 100644
--- a/manifests/classes/postfix.pp
+++ b/manifests/classes/postfix.pp
@@ -51,10 +51,9 @@ class postfix {
file { "/etc/postfix/master.cf":
ensure => present,
- content => $lsbdistcodename ? {
- Tikanga => template("postfix/master.cf.redhat5.erb"),
- etch => template("postfix/master.cf.debian-etch.erb"),
- default => "No puppet template defined for $lsbdistcodename\n",
+ content => $operatingsystem ? {
+ Redhat => template("postfix/master.cf.redhat5.erb"),
+ Debian => template("postfix/master.cf.debian-etch.erb"),
},
notify => Service["postfix"],
require => Package["postfix"],