summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Pánek <a.panek@brainsware.org>2014-09-16 17:55:26 +0200
committerAlexander Pánek <a.panek@brainsware.org>2014-09-16 17:55:26 +0200
commit448e66b8bb3bd5a2b413436b21c2c480511223c8 (patch)
tree79198513ab15d92c820c701f8b2a33d12ad0d315
parent9e8127bb64421f8476c32ba971a375c9c82fd7f0 (diff)
downloadpuppet-stdlib-448e66b8bb3bd5a2b413436b21c2c480511223c8.tar.gz
puppet-stdlib-448e66b8bb3bd5a2b413436b21c2c480511223c8.tar.bz2
Updated docs of validate_string to reflect bug
See: https://tickets.puppetlabs.com/browse/MODULES-457
-rw-r--r--lib/puppet/parser/functions/validate_string.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/puppet/parser/functions/validate_string.rb b/lib/puppet/parser/functions/validate_string.rb
index e667794..0bab21e 100644
--- a/lib/puppet/parser/functions/validate_string.rb
+++ b/lib/puppet/parser/functions/validate_string.rb
@@ -13,6 +13,9 @@ module Puppet::Parser::Functions
validate_string(true)
validate_string([ 'some', 'array' ])
+
+ NOTE: undef will only fail when using the future parser (See: https://tickets.puppetlabs.com/browse/MODULES-457)
+
$undefined = undef
validate_string($undefined)