Issue #3534 has been updated by Rein Henrichs.

Status changed from Re-opened to Needs design decision
Target version set to 1.2

Can we use CSV-style delimiters for arrays? (commas are fine unless there's a 
comma in the field, in which case it needs to be quoted?)

Example:

foo, bar, "bizz, bazz"

This would be consistent, familiar, and would let us parse it safely with 
existing tools.

I'm open to other suggestions. Scheduling this tentatively for 1.2.0 while we 
nail it down a bit more.
----------------------------------------
Bug #3534: Return parameter as array via puppet-dashboard/bin/external_node
http://projects.puppetlabs.com/issues/3534

Author: Stefan Goethals
Status: Needs design decision
Priority: Normal
Assigned to: 
Category: 
Target version: 1.2
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.

Reply via email to