From 60878130c2c4bf996d2ac27ac1bebce643406a06 Mon Sep 17 00:00:00 2001 From: Lari Huttunen Date: Fri, 1 Mar 2013 15:35:30 +0100 Subject: [PATCH] postfix.init.pp: Fixed a syntax error and simplified the parameters. --- postfix/manifests/init.pp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/postfix/manifests/init.pp b/postfix/manifests/init.pp index d14d27f..314dafc 100644 --- a/postfix/manifests/init.pp +++ b/postfix/manifests/init.pp @@ -123,10 +123,7 @@ class postfix { if $submission { include sasl::saslauthd mount { "/var/spool/postfix/var/run/saslauthd": - name => $sasl_authdir ? { - undef => "/var/run/saslauthd", - default => "/var/run/saslauthd", - }, + name => "/var/run/saslauthd", ensure => mounted, atboot => true, device => "none", @@ -136,7 +133,7 @@ class postfix { pass => "0", require => File["/var/spool/postfix/var/run/saslauthd"], before => Service["postfix"], - }, + } } file { "/etc/postfix/master.cf":