puppetlabs/puppet — pull request #280 by joshcooper (2011-12-16 01:07:05+00:00)
Title: (#10586) Don't copy owner and group on Windows when sourcing from master

Previously, puppet on Windows was not able to source files from the
master, because it was attempting to translate the uid/gid from
the Unix master into a Windows account, and obviously failing.

This commit skips the owner and group properties when copying them
from non-local sources, i.e. sources whose URIs have a 'puppet'
scheme.

If the source comes from a local source, then puppet behaves the same
as it did previously, it copies the owner and group if the source
volume supports Windows ACLs, e.g. C:/, samba mapped drives, or uses
default values if the volume does not, e.g. VMware shared drives.