puppetlabs/puppet — pull request #2052 by kylog (2013-11-11 00:40:12+00:00)
Title: (#9546) Preserve permissions in 'puppet module build'

Previously, 'puppet module build' made no attempt to preserve
permissions. This could render any external fact scripts
unexecutable. This patch simply preserves permissions when
creating the pkg directory which is tarred up to build the
module.