https://github.com/Iristyle/puppet/commit/f0998df2ab96181a601089c58178c30c1902e29f#diff-03f00014460330ec98e44469ca078c95R15