From: Alexander Pánek Date: Tue, 16 Sep 2014 15:55:26 +0000 (+0200) Subject: Updated docs of validate_string to reflect bug X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=448e66b8bb3bd5a2b413436b21c2c480511223c8;p=puppet-stdlib.git Updated docs of validate_string to reflect bug See: https://tickets.puppetlabs.com/browse/MODULES-457 --- 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)