puppetlabs/puppet — pull request #660 by domcleal (2012-04-11 22:54:26+00:00)
Title: (#13204) Don't ignore missing PATH.augnew files

This is a followup to pull req #587, where a better solution was discussed that doesn't squash other errors.

Commit log:
The original fix for #13204 may have masked other potential bugs if the
PATH.augnew file was missing. It simply tested for the file existance and not
only when duplicate save events occurred.

This change de-duplicates the list of save events instead, so if a bug appeared
where PATH.augnew was genuinely missing, the error wouldn't be squashed.