postfix.init.pp: Make sure the necessary directories for the bind mount are created.

This commit is contained in:
Lari Huttunen 2013-03-01 15:48:03 +01:00
parent 60878130c2
commit 88ffbbb832

View file

@ -122,6 +122,18 @@ class postfix {
if $submission {
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":
name => "/var/run/saslauthd",
ensure => mounted,