saltstack/salt — pull request #4143 by wichert (2013-03-18 15:00:43+00:00)
Title: Allow specifying umask for cmd.

Please note that I haven't tested this yet, but the changes are simple enough that they Should Work. This will solve #3948.