See first comment about this being a direct copy of the puppet core with the particular fix.