gildas/puppet-homebrew — pull request #8 by jeckhart (2014-08-18 04:27:28+00:00)
Title: The tar extract resets group ownership. Split the creation of /usr/local...

The tar file provided by homebrew uses a groupname of "wheel" which resets the group ownership of the dirs defined in $homebrew_directories to "wheel" instead of "$homebrew::group".

The only dir you need ahead of time is /usr/local. This change moves the permission settings of the other directories to follow after the tar file is extracted.