]> 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)
committerDan Bode <dan@puppetlabs.com>
Tue, 14 Aug 2012 01:52:00 +0000 (18:52 -0700)
commitfe85f467c8f8e65c9fd09acff17ac4adb80f12b8
treea7b91740aaf5563b8ee06e00dcdc01df060a2a3c
parentba789deac588dea83a129544f8aa00813db30bf0
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