summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/validate_bool.rb
AgeCommit message (Collapse)Author
2011-06-03Add validate_bool() function to stdlibJeff McCune
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>