postfix.init.pp: Fixed a copy&paste error and added "noauto" to mount options, since otherwise the saslauthd mount will hang at boot time.

This commit is contained in:
Lari Huttunen 2013-03-04 15:39:49 +01:00
parent 03cc217589
commit b8dae490fd

View file

@ -79,7 +79,7 @@ class postfix {
exec { "usermod-postfix": exec { "usermod-postfix":
path => "/bin:/usr/bin:/sbin:/usr/sbin", path => "/bin:/usr/bin:/sbin:/usr/sbin",
command => "usermod -a -G mail postfix", command => "usermod -a -G mail postfix",
unless => "id -n -G openldap | grep '\\bmail\\b'", unless => "id -n -G postfix | grep '\\bmail\\b'",
} }
} }
default: { default: {
@ -149,7 +149,7 @@ class postfix {
ensure => mounted, ensure => mounted,
atboot => true, atboot => true,
device => "/var/run/saslauthd", device => "/var/run/saslauthd",
options => "bind, errors=continue", options => "bind,noauto",
fstype => "bind", fstype => "bind",
dump => "0", dump => "0",
pass => "0", pass => "0",