HI, It should be possible to do something like this:
$users = [a,b,c] $users += [d,e] Or, $users = [[a,b,c] [d,e]] etc. Perhaps a better question, what is it you're trying to do, exactly, that you need this? -- Daniele Sluijters On Monday, 21 October 2013 20:21:18 UTC+2, Sergey Arlashin wrote: > > Hi! > Is it possible to add a new element to an array inside puppet manifest ? > Something like ruby's array.push('new_element') ? > > -- > Best regards, > Sergey Arlashin -- 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. For more options, visit https://groups.google.com/groups/opt_out.