puppetlabs/puppet — pull request #700 by daniel-pittman (2012-04-23 20:14:51+00:00)
Title: Bug/2.7.x/14123 don't explode when path has bad content

As reported in http://bugs.debian.org/669650, when the PATH contained an
expansion for a user that doesn't exist, Puppet handled it the same way Ruby
does - to raise an exception, and explode.

Leaving aside the sanity of literal tilde in the PATH, we shouldn't explode in
that case - we should just skip that entry and carry on to the next element in
the path instead.

Signed-off-by: Daniel Pittman