puppetlabs/puppetlabs-apache — pull request #312 by whyscream (2013-08-22 15:59:12+00:00)
Title: Don't enforce docroot ownership unless explicitly requested

We have an issue where access to the codebase is impossible after
a puppet run because the apache module insists on changing the owner of the
document root. The correct ownership is determined by the environment (the
one who checked out the code), but since that is variable, there is no
user/group we can 'hardcode' in puppet.

The only correct way of handling the situation is 'just ensure the directory
is there, don't touch it if it exists'. This patch seems to do just that.