Re: [Puppet Users] Arrays from templates

2012-03-27 Thread R.I.Pienaar
- Original Message - > From: "pablo" > To: puppet-users@googlegroups.com > Sent: Tuesday, March 27, 2012 3:55:05 PM > Subject: [Puppet Users] Arrays from templates > > Hi, > > I am having an issue trying to use the inline_template function to &g

[Puppet Users] Arrays from templates

2012-03-27 Thread pablo
Hi, I am having an issue trying to use the inline_template function to return an array. This is what I do: $array = inline_template ("<%= a=['a1','b2','c3']; a %>") notify {"array: ${array}":} And that works, showing the typical comma-less string: notice: /Stage[main]//Notify[array: a1b2c3]/m