Hi, is there a way to iterate with the ruby .times function inside an EPP template?
e.g. <% $i.times |$x| { -%> i = <%= $x +1 %> <% } -%> The code above seems to need a puppet4 function with name “times”. Result: Error: Evaluation Error: Unknown function: 'times'. When changing to ruby code style another error occurs: <% $i.times do |$x| -%> i = <%= $x +1 %> <% end -%> Error: Evaluation Error: Error while evaluating a Function Call, epp(): Invalid EPP: Syntax error at ‘|' thanks, Martin -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-dev/4F22DF3E-4CD3-410E-B602-BD5B94CE089A%40gmail.com. For more options, visit https://groups.google.com/d/optout.