Hi,

I am actually interested in this... what is the actual status? 

I would like to be able to have arrays and define them in the dashboard, 
possibly filling parts of the array from different groups. Is it possible? How?

Thanks!
BR/Pablo


On Miércoles, 7 de Marzo de 2012 23:22:09 Nan Liu escribió:
> On Wed, Mar 7, 2012 at 8:44 AM, Peter Berghold <salty.cowd...@gmail.com> 
wrote:
> > OK:  that was the impression I was under after reading everything that
> > was posted to the feature request for this...
> 
> Actually, I've mistakenly filed it as a bug. If you use json, you can
> parse the parameter via parsejson available in stdlib:
> 
> In dashboard set the parameter example to ["foo", "bar"]
> 
> ENC output:
> parameters:
>   example: "[\"foo\", \"bar\"]"
> 
> In puppet manifests:
> $example_array = parsejson($example)
> notify { $example_array : }
> 
> notice: /Stage[main]//Node[sample]/Notify[bar]/message: current_value
> absent, should be bar (noop)
> notice: /Stage[main]//Node[sample]/Notify[foo]/message: current_value
> absent, should be foo (noop)
> 
> Thanks,
> 
> Nan

-- 
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.

Reply via email to