puppetlabs/facter — pull request #377 by MosesMendoza (2012-12-19 22:12:07+00:00)
Title: Correct file system paths in apple pkg file layout

Currently, the osx packaging for facter places things in /var
and /etc, which are actually symlinks on OSX systems to /private/var
and /private/etc. Due to a bug in the 10.5 installer, trying to package
in /var, /etc instead of /private/{var,etc} would actually just clobber
the symlink instead of dropping into the target locations, if we used
the newer 'flat package' building method. This fix allows us to build
flat packages without clobbering the symlinks.

Signed-off-by: Moses Mendoza