Issue #3534 has been updated by David Schmitt.
Using split() indeed works fine. Unless you * migrate from another tool that supports arrays (like site.pp or any other external node script) * have quoting problems * don't want to have to remember which delimiter you need for each variable ---------------------------------------- Bug #3534: Return parameter as array via puppet-dashboard/bin/external_node http://projects.puppetlabs.com/issues/3534 Author: Stefan Goethals Status: Re-opened Priority: Normal Assigned to: Category: Target version: Keywords: Branch: Affected URL: When assigning a parameter on a node as an array, the external node tool returns it, escaped, as a string, # /usr/local/puppet-dashboard/bin/external_node <node> --- name: <node> parameters: arraytest: "[ \"one\", \"two\" ]" classes: - puppet::server ... -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
