On Thursday, February 28, 2013 4:20:43 PM UTC-6, Cody Robertson wrote:
>
> It may be worth noting that the notice() function printed the variable as 
> a normal string (or seemingly) making it difficult to recognize the fact it 
> was actually an array. I'm not sure if this is something that should be 
> made obvious or not but it's worth noting for anyone who lands on this via 
> Google.
>
>
Yes, the default stringification of an array is the concatenation of the 
stringifications of its elements.  For a one-element array, that's just the 
stringification of the single element.  You should consider filing an 
enhancement ticket, but be aware that the existing behavior has enough 
historical inertia that it might be difficult to get it changed.


John

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to