Run generate-procmail in proper shell environment
This commit is contained in:
parent
9b2b56b53b
commit
5d9960ae6b
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ class procmail {
|
||||||
}
|
}
|
||||||
|
|
||||||
exec { "generate-procmailrc":
|
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",
|
path => "/bin:/usr/bin:/sbin:/usr/sbin",
|
||||||
refreshonly => true,
|
refreshonly => true,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue