Fixed regex for puppet version 2.7.X . Will pass along a pull request to the author.