On Wednesday, September 18, 2013 3:15:18 PM UTC+3, Henrik Lindberg wrote:

> Here are the possible alterantives: 
>
> arity 1: String key 
> arity 1: Hash options 
> arity 2: String key, String | Type type 
> arity 2: String key, Hash options 
> arity 3: String key, String | Type type, Object default_value 
>
> Regards 
> - henrik 
>

Hi Henrik,
Yes, I think those options are reasonable.

In addition, I assume that we can still use a variable for all of the 
arguments? e.g.,
$default_data = { type => 'Integer', default => 42 }
lookup('mykey', $default_data) 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to