diff options
author | Alexander Pánek <a.panek@brainsware.org> | 2014-09-16 17:55:26 +0200 |
---|---|---|
committer | Alexander Pánek <a.panek@brainsware.org> | 2014-09-16 17:55:26 +0200 |
commit | 448e66b8bb3bd5a2b413436b21c2c480511223c8 (patch) | |
tree | 79198513ab15d92c820c701f8b2a33d12ad0d315 /lib/puppet/parser/functions/validate_string.rb | |
parent | 9e8127bb64421f8476c32ba971a375c9c82fd7f0 (diff) | |
download | puppet-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
Diffstat (limited to 'lib/puppet/parser/functions/validate_string.rb')
-rw-r--r-- | lib/puppet/parser/functions/validate_string.rb | 3 |
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) |