From 185b023f22e8abb48807d4b4208c40d6566ccf8f Mon Sep 17 00:00:00 2001 From: Francois Deppierraz Date: Mon, 2 Mar 2009 12:41:13 +0100 Subject: master.conf hopefully doesn't change that much between releases --- manifests/classes/postfix.pp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'manifests/classes') 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"], -- cgit v1.2.3