]> gitweb.fluxo.info Git - puppet-stdlib.git/commit
Handle undef for parameter argument
authorDan Bode <dan@puppetlabs.com>
Tue, 14 Aug 2012 01:52:00 +0000 (18:52 -0700)
committerJeff McCune <jeff@puppetlabs.com>
Thu, 25 Oct 2012 17:54:33 +0000 (10:54 -0700)
commit4f8b133917255451b1f28128e26b36305c23d254
treec23e7f7bbcf72e3ea17fb333f174cbf6fd4f73fe
parenta0cb8cdee42125c7acd64f17af603a2fa9375863
Handle undef for parameter argument

This commit adds better handling of the case where
undef is passed as the parameter value.

This works by converting '' into []
lib/puppet/parser/functions/defined_with_params.rb
spec/functions/defined_with_params_spec.rb
spec/functions/ensure_resource_spec.rb