Run generate-procmail in proper shell environment

This commit is contained in:
Ossi Herrala 2012-02-13 13:49:06 +00:00 committed by Ossi Herrala
parent 9b2b56b53b
commit 5d9960ae6b

View file

@ -29,7 +29,7 @@ class procmail {
}
exec { "generate-procmailrc":
command => '( echo "DROPPRIVS=yes" ; find /etc/procmailrc.d/*.rc -exec echo "INCLUDERC={}" \; ) > /etc/procmailrc ; true',
command => '/bin/sh -c -- \'umask 022; ( echo "DROPPRIVS=yes" ; find /etc/procmailrc.d/*.rc -exec echo "INCLUDERC={}" \; ) > /etc/procmailrc ; true\'',
path => "/bin:/usr/bin:/sbin:/usr/sbin",
refreshonly => true,
}