postfix.init.pp: Make sure the necessary directories for the bind mount are created.
This commit is contained in:
parent
60878130c2
commit
88ffbbb832
1 changed files with 12 additions and 0 deletions
|
@ -122,6 +122,18 @@ class postfix {
|
||||||
|
|
||||||
if $submission {
|
if $submission {
|
||||||
include sasl::saslauthd
|
include sasl::saslauthd
|
||||||
|
file { "/var/spool/postfix/var":
|
||||||
|
ensure => directory,
|
||||||
|
mode => "0755",
|
||||||
|
owner => "root",
|
||||||
|
group => "root",
|
||||||
|
}
|
||||||
|
file { "/var/spool/postfix/var/run":
|
||||||
|
ensure => directory,
|
||||||
|
mode => "0755",
|
||||||
|
owner => "root",
|
||||||
|
group => "root",
|
||||||
|
}
|
||||||
mount { "/var/spool/postfix/var/run/saslauthd":
|
mount { "/var/spool/postfix/var/run/saslauthd":
|
||||||
name => "/var/run/saslauthd",
|
name => "/var/run/saslauthd",
|
||||||
ensure => mounted,
|
ensure => mounted,
|
||||||
|
|
Loading…
Add table
Reference in a new issue