summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/validate_re.rb
diff options
context:
space:
mode:
authorJeff McCune <jeff@puppetlabs.com>2011-06-03 11:39:45 -0700
committerJeff McCune <jeff@puppetlabs.com>2011-06-03 11:39:45 -0700
commitb9f1bb6a63c5c06ce5b4e147dbca4ef505f02a25 (patch)
tree8513eb4b095facfd6f6489052bb9d5749b325ca1 /lib/puppet/parser/functions/validate_re.rb
parent46533ae4281bb58065a8f068c1334e5525deca1f (diff)
Add validate_bool() function to stdlib
This function aborts catalog compilation if any of the passed values are not true or false. Note, this catches the string values of true and false correct and will abort catalog compilation if they are not boolean values. Paired-with: Dan Bode <dan@puppetlabs.com>
Diffstat (limited to 'lib/puppet/parser/functions/validate_re.rb')
0 files changed, 0 insertions, 0 deletions