deanwilson/puppet-scripts — pull request #4 by rtucker-mozilla (2013-02-11 16:50:29+00:00)
Title: Updated regex for newer versions of puppet

The regex for parsing state.yaml is incorrect for more recent versions of puppet.

All credit to @djmitche(https://github.com/djmitche)

Perhaps adding in a check based on the version of puppet installed would make sense here to switch between the 2 different regular expressions.