puppetlabs/puppet — pull request #1899 by jjulien (2013-09-14 02:41:55+00:00)
Title: (#4424) Add umask parameter to Exec type

Setting a umask value for execs can be useful when the exec creates files or directories. Relying on the sytem umask can produce unexpected results as it may be different from system to system or just not what the user intends.