puppetlabs/puppetlabs-swift — pull request #40 by fcharlier (2012-06-20 13:35:58+00:00)
Title: Disable 'use chroot' for rsync::server

Allow to keep the right username/groupname for rsync'ed files if the
uids and gids are not in sync on all the servers.

On Debian (and maybe Ubuntu), the uids and gids of users/group having the same name might not be in sync. The default configuration of puppetlabs-rsync runs rsyncd with the 'use chroot = yes' option which prevents rsync from mapping user/group names correctly.

As a result, the ring files (account.ring.gz, container.ring.gz, object.ring.gz) replicated on the storage nodes might be unreadable by the swift user.

This patch disables the 'use chroot' to enable the correct mapping of user/group names between all nodes.