Howdy! Is it possible to generate a sequence in a loop in a puppet template?
I'm trying something like: <% @foo = 0 %> <% Array(bar).each do |flan| -%> value <%= @foo %> <% @foo += 1 %> <% end %> But that's not working. (i just get a bunch of 0's) Any ideas? Thanks -- 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.