Encoding arrays in Foreman variables

How is this handled? I remember doing this in Puppet Dashboard by using
JSON encoding. Same thing with Foreman or is there another method?

··· --

Peter L. Berghold Salty.Cowdawg@gmail.com

http://blog.berghold.net

In smart class parameters or variables, yes, JSON or YAML formats are
supported. Note that if you're creating hashes, "=>" to separate
key/values is from Puppet's DSL and isn't supported - only JSON style
hashes. Just make sure you select the data type from the dropdown menu.

··· On 31/07/14 16:46, Peter Berghold wrote: > How is this handled? I remember doing this in Puppet Dashboard by using > JSON encoding. Same thing with Foreman or is there another method?


Dominic Cleal
Red Hat Engineering