Im defining my variable as:
$var = [ [ foox, fooy ], [ barx, bary ] ]
Within my erb template, I'm doing:
var.each { |x,y|
%>
X: <%= x %>
Y: <%= y %>
<%
}
%>
This seems to work when I test it with a simple Ruby script, but when my
ERB template gets it from puppet it seems to have flattened the array,
any way to stop this from happening?
Cheers
Craig