puppetlabs/puppetlabs-stdlib — pull request #188 by nightfly19 (2013-10-03 08:32:39+00:00)
Title: Add a validate_uri function

Currently there is no way in puppet to verify that a value is a
proper URI string. Consequently values that are assumed to be URIs
are passed on to applications that are expecting URIs, causing
unexpected or undesired behavior. This patch provides a puppet
function that can be called to verify that it's arguments are
proper URI strings.