aboutsummaryrefslogtreecommitdiff
path: root/manifests/classes
diff options
context:
space:
mode:
authorFrancois Deppierraz <francois@ip-10-226-54-102.eu-west-1.compute.internal>2009-03-02 12:41:13 +0100
committerFrancois Deppierraz <francois@ip-10-226-54-102.eu-west-1.compute.internal>2009-03-02 12:41:13 +0100
commit185b023f22e8abb48807d4b4208c40d6566ccf8f (patch)
tree0c4e7e50181d08f2d5b653ce760b37231a93acd8 /manifests/classes
parent29c3c8519c96b40f528e9e1985568fffe8ce46a2 (diff)
downloadpuppet-postfix-185b023f22e8abb48807d4b4208c40d6566ccf8f.tar.gz
puppet-postfix-185b023f22e8abb48807d4b4208c40d6566ccf8f.tar.bz2
master.conf hopefully doesn't change that much between releases
Diffstat (limited to 'manifests/classes')
-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"],