postfix.init.pp: Fixed a syntax error and simplified the parameters.
This commit is contained in:
parent
7fed52107c
commit
60878130c2
1 changed files with 2 additions and 5 deletions
|
@ -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":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue