summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/validate_re.rb
AgeCommit message (Collapse)Author
2011-05-25(#7657) Add basic validate_re functionJeff McCune
While developing Puppet Modules with class parameters, data from the user should be validated as per the Style Guide. Puppet should fail early and hard in the situation of invalid data being passed into the module. This function provides a more concise method to the alternative of using if statements in the Puppet manifests.