On 04/04/2016 02:24 PM, Johan De Wit wrote:
I already I'm a big fan of iteration, but this needs to work on puppet 3.[7|8].x
Well, there is always "old style pseudo-iteration". define collect_my_stuff() { My_exp_res<<| tag == $name |>> } class X($collect_tags) { collect_my_stuff { $collect_tags: } } Untested, as always ;-) HTH, Felix -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/570C3FEF.1080708%40Alumni.TU-Berlin.de. For more options, visit https://groups.google.com/d/optout.