puppetlabs/puppet — pull request #2575 by david-caro (2014-04-24 17:32:53+00:00)
Title: Fixes #2360 - Yumrepo type allows invalid values

None of the regexpes was actually looking for the whole value to match,
just any part of it would suffice.