On May 24, 8:54 pm, vagn scott <vagnsc...@gmail.com> wrote: > What should this do? > > $array = [ "one", "two" ] > $greeting = [ "hello", "howdy" ] > @file { "host_$array$greeting" } > > or this? > > $array = [ "one", "two" ] > @file { "$array_blah" } > > seems like we would need delimiters > > "host_${array}_${greeting}" > > and some form of expansion control. > Should it expand zipper-wise or combinatorially? > > Probably all of that belongs in functions, > not in the resource or string syntax.
+1 Moreover, consider the juxtaposition of this proposal with those that seek to make the language less idiosyncratic and "magical". This one proposes a move in the opposite direction. John -- 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.