(PUP-2912) PMT Build symlink exception

Prior to this commit the build command would add symlinks to packages. This
can cause unexpected behavior when installed on a system.
This commit causes the build command to throw an error when it finds a symlink.
That should prevent new modules from being created with a symlink included.
The target indicated should be a temporary directory, not the final
location the module will be installed to...


On Tue, Jul 29, 2014 at 5:47 PM, Brandon High <notifications@github.com>
wrote:

> In lib/puppet/module_tool/applications/unpacker.rb:
>
> > @@ -37,6 +39,17 @@ def run
> >        end
> >
> >        # @api private
> > +      # Error on symlinks and other junk
> > +      def sanity_check
>
> We know the target, we can use that.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/puppetlabs/puppet/pull/2854/files#r15561944>.
>