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 {
|
if $submission {
|
||||||
include sasl::saslauthd
|
include sasl::saslauthd
|
||||||
mount { "/var/spool/postfix/var/run/saslauthd":
|
mount { "/var/spool/postfix/var/run/saslauthd":
|
||||||
name => $sasl_authdir ? {
|
name => "/var/run/saslauthd",
|
||||||
undef => "/var/run/saslauthd",
|
|
||||||
default => "/var/run/saslauthd",
|
|
||||||
},
|
|
||||||
ensure => mounted,
|
ensure => mounted,
|
||||||
atboot => true,
|
atboot => true,
|
||||||
device => "none",
|
device => "none",
|
||||||
|
@ -136,7 +133,7 @@ class postfix {
|
||||||
pass => "0",
|
pass => "0",
|
||||||
require => File["/var/spool/postfix/var/run/saslauthd"],
|
require => File["/var/spool/postfix/var/run/saslauthd"],
|
||||||
before => Service["postfix"],
|
before => Service["postfix"],
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
file { "/etc/postfix/master.cf":
|
file { "/etc/postfix/master.cf":
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue