On Wednesday, May 15, 2013 2:15:14 AM UTC-5, Brent wrote:
>
>
> Would anyone know why I am getting a string as opposed to an array. 
>
>

Because all facts are strings.  That's the way it has always been, though I 
understand there's some work underway to provide for more data types in the 
future.

 

> Another question, if you dont mind. Is there a reason why the interfaces 
> fact is a string and not an array? 
> interfaces => eth0,eth1,lo 
>
>

Yes, because all facts are strings.  If you want an array then you can 
process the fact value through the split() function.


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 puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
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