I know it's a ugly hack, but this saved me:

$myarray = ['1', '2', '3']

$var0 = inline_template("<%=myarray.split(',')[0]%>")
$var1 = inline_template("<%=myarray.split(',')[1]%>")

--
Bob

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to