Hi, On 07/13/2012 09:46 PM, david boldt wrote: > what is the incantation that would work for iteration? > > scope.lookupvar('::varname').each
this looks all right but > Produces puppet error: undefined method `each' for :undefined:Symbol it seems that the lookup itself fails. Are you certain you've got the right name, and that the variable is defined in your context? It may also be more readable to do myvar = scope.lookupvar('::varname') myvar.each do ... HTH, Felix -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.