Skip to content

Commit 448e66b

Browse files
author
Alexander Pánek
committed
Updated docs of validate_string to reflect bug
See: https://tickets.puppetlabs.com/browse/MODULES-457
1 parent 9e8127b commit 448e66b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/puppet/parser/functions/validate_string.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ module Puppet::Parser::Functions
1313
1414
validate_string(true)
1515
validate_string([ 'some', 'array' ])
16+
17+
NOTE: undef will only fail when using the future parser (See: https://tickets.puppetlabs.com/browse/MODULES-457)
18+
1619
$undefined = undef
1720
validate_string($undefined)
1821

0 commit comments

Comments
 (0)